{
"results": [
{
"from": "353861234569",
"to": "353861234581",
"integrationType": "WHATSAPP",
"receivedAt": "2025-01-01T10:10:00.000+0000",
"messageId": "wamid.HBgLMjc4MTMzMjE0ODIVAgAonoIAUsydhfskYyRDdEMjE4Njg3MzlBMDU2NzI4NgA=",
"callbackData": "callbackData",
"message": {
"text": "Hello, World!",
"type": "TEXT"
},
"price": {
"pricePerMessage": 0,
"currency": "EUR"
},
"contact": {
"name": "Frank",
"phoneNumber": "353861234569",
"userId": "HR.123123123",
"parentUserId": "HR.ENT.456456456",
"username": "Frank"
}
}
],
"messageCount": 1,
"pendingMessageCount": 0
}Receive whatsapp inbound message
Set up logic for processing incoming messages to customize two-way communication. Inbound messages are forwarded in real time to the endpoint. Set the inbound configuration for the number by specifying your endpoint and we will send inbound WhatsApp messages to you as soon as they are delivered to us.
Name of the default format or renderer for the inbound WhatsApp messages is MO_OTT_CONTACT, and is documented in this section.
{
"results": [
{
"from": "353861234569",
"to": "353861234581",
"integrationType": "WHATSAPP",
"receivedAt": "2025-01-01T10:10:00.000+0000",
"messageId": "wamid.HBgLMjc4MTMzMjE0ODIVAgAonoIAUsydhfskYyRDdEMjE4Njg3MzlBMDU2NzI4NgA=",
"callbackData": "callbackData",
"message": {
"text": "Hello, World!",
"type": "TEXT"
},
"price": {
"pricePerMessage": 0,
"currency": "EUR"
},
"contact": {
"name": "Frank",
"phoneNumber": "353861234569",
"userId": "HR.123123123",
"parentUserId": "HR.ENT.456456456",
"username": "Frank"
}
}
],
"messageCount": 1,
"pendingMessageCount": 0
}Authorizations
This is the most secure authorization type and the one with the most flexibility.
API keys can be generated by calling the dedicated API method. Furthermore, API keys can have a limited scope and cover only some API methods. Lastly, they can be revoked at any time. This range of possibilities makes API keys well suited for separating the API access rights across multiple applications or use cases. Finally, the loss of an API key is easily manageable.
You can manage your API keys from GUI, or programmatically with dedicated API.
API key Authorization header example:
Authorization: App 003026bbc133714df1834b8638bb496e-8f4b3d9a-e931-478d-a994-28a725159ab9
Body
Response
Your server returns this code if it accepts the callback.