Webhooks/Callbacks
Handle status of message for each request
Registering and processing webhooks
Webhook Events
Sample Webhook Events
{
"event": "message_inbound",
"contact": "+13231112233",
"text": "text",
"message_type": "text",
"message_id": "59c55Ce8-41d6-43Cc-9116-8cfb2e696D7b",
"webhook_id": "ab5Ae733-cCFc-4025-9987-7279b26bE71b",
"api_version": "1.0"
}{
"event": "message_scheduled",
"contact": "+13231112233",
"text": "text",
"message_id": "59c55Ce8-41d6-43Cc-9116-8cfb2e696D7b",
"webhook_id": "ab5Ae733-cCFc-4025-9987-7279b26bE71b",
"api_version": "1.0"
}{
"event": "message_failed",
"contact": "+13231112233",
"text": "text",
"error_code": 100,
"message_id": "59c55Ce8-41d6-43Cc-9116-8cfb2e696D7b",
"webhook_id": "ab5Ae733-cCFc-4025-9987-7279b26bE71b",
"api_version": "1.0"
}Possible JSON fields in webhooks
Field
Type
Description
Event Types
Event type
Description
Language
Key
Value
Group
Key
Value
Speech
Key
Value
Speech metadata
Key
Value
Headers
Key
Value
Best practices
Authorization
Response Duration
Security and encryption
Future-Proofing
Last updated