WhatsApp Business API Responses
The WhatsApp API call returns JSON Response. Different API Route returns success and error response differently. Given below examples:
Sample Success Response
API Success Response given below is for sending a message:
{"status": "processing","message_id": "{message id}"}
Sample Error Response
The following error message is received on sending repeated business initiated message to user without getting response from the user
{"statuses": [{"id": "wamid.HBgMOTE4ODI2NzE5NjM1FQIAERgSNjQxNTQ1NEVCOEJEMUE0QjlEAA==","status": "failed","timestamp": "1683871427","recipient_id": "919999999999","errors": [{"code": 131047,"title": "Message failed to send because more than 24 hours have passed since the customer last replied to this number.","href": "https://developers.facebook.com/docs/whatsapp/cloud-api/support/error-codes/"}]}],"business_phone": "918888888888"}