Skip to main content
When an end user sends a WhatsApp message to your business number, the OneXtel platform posts an Incoming Messages callback to your configured endpoint.
In the sample below, each field’s value shows that field’s JSON path rather than an example value. All leaf fields are typed as string.

Payload format

The sample shows all content objects (text, location, image, video, audio, document) side by side. Read the type field to determine the message type, and treat each content object as optional in your handler.

Field reference

string
Custom reference field 1, echoed back from the original send request. See custom reference passthrough.
string
Custom reference field 2, echoed back from the original send request.
string
Custom reference field 3, echoed back from the original send request.
string
Custom reference field 4, echoed back from the original send request.
string
Custom reference field 5, echoed back from the original send request.
array of object
Container array for the callback event.