Posts under category Facebook WhatsApp Business API
Send a message to multiple recipients in whatsapp business cloud api
Is there a way to send a message to multiple recipients in one post request? The same way I send emails separated with a semicolon.
How to receive the media id from the Whatsapp Business Cloud API?
I have deployed my webhook and connected my WABA. Once I send an image to this business account. It did not return the media id from the response. Actually, the JSON returned to me like this:
{ "entry": [ { "changes": [ { "field": "messages", "value": { "contacts": [ { "profile": { "name": "XXXXXXX" } } ], "messages": [ { "from": "XXXXXXXXXX", "id": "wamid.aisjdoiajsodiajsodasd\u003d", "timestamp": "1657527108", "type": "image" } ], "metadata": {} } } ], "id": "124071984791824" } ], "object": "whatsapp_business_account" }
Or should I try the Whatsapp On-premises API? https://developers.facebook.com/docs/whatsapp/on-premises/reference/media/media-id
Is WhatsApp providing any API's for status uploading to it's Business platform
As I mentioned above, are there any API's available for uploading status (text, images and videos etc.) in the WhatsApp Businesses platform? For businesses messaging we can use Cloud API https://developers.facebook.com/docs/whatsapp/cloud-api or On-Premises API https://developers.facebook.com/docs/whatsapp/on-premises . Like messages API's, I am searching for status uploading API's. If anyone knows about this please guide me.
WhatsAPP Business API - Connection refused. Please check if wacore is running: wacore:6251 error
I've installed WhatsApp business client on my linux docker containers, I have managed to hit the /v1/health
route perfectly and have also changed the default password through an endpoint.
But, I'm getting an error when I try to access POST request /v1/contacts
. The error is:
{ "meta": { "version": "v2.41.2", "api_status": "stable" }, "errors": [ { "code": 1014, "title": "Internal error", "details": "Connection refused. Please check if wacore is running: wacore:6251" } ] }
However, my wacore container is indeed running:
P.S: Some questions already posted here with similar titles don't solve my issue.