Message received
Every time a customer or an associate sends a message, your WebHook receives a notification with the necessary information. To distinguish between customer and associate messages, review the Sender.Type property value.
Message visibilityMessages sent via CorrigoPro have visibility. CorrigoPro Direct only receives message notifications that have visibility option set to All (Customer In).
Fields
Field | Value Type | Verification | Description |
|---|---|---|---|
Header | Mandatory | Complex object that contains important information about the request. | |
Text | String | Mandatory, | A message text. |
Example notification: message received
{
"Text": "Hello Direct!",
"Header": {
"WorkOrderId": 42,
"BranchId": 500772,
"Sender": {
"Name": "Jon Snow",
"Phone": "+12025550141",
"Type": "CorrigoPro"
},
"Action": "MessageSent",
"ActionDate": "2017-10-04T15:18:57.5328597Z",
"ApiVersion": "1.0",
"MessageId": "26b82cca-deea-4503-99cb-3cf8b83462ed"
}
}Updated 13 days ago
What’s Next
