Elora Logo

Home

Introduction

Errors

WhatsApp

Send Message

Send Template

Incoming Messages

Incoming Notifications

WhatsApp Messages

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.

Body Parameters

MessageIdstringRequired

Message Id. This is the unique identifier for the message.

Fromstring

Sender mobile number. This is the customer mobile number.

FromUserIdstring

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.

TostringRequired

Recipient mobile number. This is the business mobile number.

Bodystring

The plain text version of the message. Note that {Type parameter} value is text.

MediaUrlstring

The url for received media eg image. Note that {Type parameter} value is image.

MediaCaptionstring

The caption for received media eg image. Note that {Type parameter} value is image.

ProfileNamestringRequired

Sender profile name.

TypestringRequired

Message type.

Success Acknowledgement

Your endpoint must acknowledge the request by returning one of the following HTTP status codes:

200
OK
201
Created
202
Accepted
204
No Content

* Failure to return a standard success code will result in the message being flagged as Delivery Failed.

The callback URL must be secured via HTTPS.