Help Center
Help Center
Webhooks

icon picker
Outgoing message events

An outgoing message is a message triggered either from the inbox or using out public api
Mayur Morè

Types of payload

This section explains the outgoing message event type you receive on your callback URL. It states that you have sent a message to your customer. Here, we will understand the different types of payloads for incoming messages.

Common payload for all events of type message-event and direction outgoing

{
"id": "66154d63fa933a7008177244",
"channelId": "61fa18c44dc2fa0641aa2e48",
"workspaceId": "61fa14594ed4030016aaafa0",
"direction": "outgoing",
"event": "message-event",
"createdOn": "2024-04-09T14:14:59.441Z",
"customer": {
"name": "Ana Russo",
"id": "61fa1a8a9c54e4002dd02337"
},
"phone": {
"countryCode": "91",
"phone": "9028562767"
},
"payload": {
"direction": "outgoing",
"type": "text" | "media" | "template" | "richTempate" | "buttonTemplate" | "list" | "quickReplies",
"payload": {
"text": "Polo"
}
}
}

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.