The Elora messaging API seamlessly routes messages sent by customers through their WhatsApp accounts to your application. To receive these messages, you need to set a message callback URL. From the dashboard select:Apps → App Settings → Default webhook message urlThese requests are sent as a POST request to the URL provided, as application/x-www-form-urlencoded.
Message Id. This is the unique identifier for the message.
Sender mobile number. This is the customer mobile number.
Sender user id. This is the customer {user id} that is a unique user identifier that can be used to message a WhatsApp user when you don’t know their mobile number.
Recipient mobile number. This is the business mobile number.
The plain text version of the message. Note that {Type parameter} value is text.
The url for received media eg image. Note that {Type parameter} value is image.
The caption for received media eg image. Note that {Type parameter} value is image.
Sender profile name.
Message type.
Your endpoint must acknowledge the request by returning one of the following HTTP status codes:
* Failure to return a standard success code will result in the message being flagged as Delivery Failed.