Body
application/json
Response
Return a 200 status to indicate that the event was properly received
{
"event": {
"id": 123,
"conversation_id": 123,
"date": "2023-01-31 16:22:17.327878+00:00",
"content_type": "Text",
"sender_type": "User",
"sender_label": "Jane Doe",
"status": "Sending",
"is_deleted": false,
"content": "<string>",
"user_id": "<string>",
"custom_channel": null,
"message_id": 123,
"org_id": 123,
"business_id": "<string>",
"received_at": "2023-01-31T16:22:17.327878+00:00",
"consumer_img": "https://www.example.com/profile-picture.jpg",
"consumer_name": "John Doe",
"messaging_partner": "Facebook",
"event_type": "message_received"
}
}
⚠️ Deprecated, please use the Message Created webhook instead, and filter on
sender_type=Consumer
and status=Success
to reproduce this webhook comportement.
This event is triggered when a business receives a new message sent by a Consumer. It is not triggered for messages sent as the business by a User.
The event payload contains the event type, the content of the message received, and additional information about the conversation.
{
"event": {
"id": 123,
"conversation_id": 123,
"date": "2023-01-31 16:22:17.327878+00:00",
"content_type": "Text",
"sender_type": "User",
"sender_label": "Jane Doe",
"status": "Sending",
"is_deleted": false,
"content": "<string>",
"user_id": "<string>",
"custom_channel": null,
"message_id": 123,
"org_id": 123,
"business_id": "<string>",
"received_at": "2023-01-31T16:22:17.327878+00:00",
"consumer_img": "https://www.example.com/profile-picture.jpg",
"consumer_name": "John Doe",
"messaging_partner": "Facebook",
"event_type": "message_received"
}
}
Show child attributes
Return a 200 status to indicate that the event was properly received
Was this page helpful?