Field | Type | Required | Description |
---|---|---|---|
conversation_id | UUID | Yes | Unique identifier for the conversation |
data.id | UUID | Yes | Unique identifier for the message |
data.content | String | Yes | The actual message content |
data.content_type | Enum | Yes | Type of content (TEXT, IMAGE, VIDEO, DOCUMENT, AUDIO) |
data.filename | String | No | Present only for media messages |
data.type | Enum | Yes | Message type (USER_INPUT, SYSTEM, BOT) |
data.channel | Enum | Yes | Communication channel (API, WHATSAPP, SMS) |
data.status | Enum | Yes | Message status (RECEIVED, PROCESSED, FAILED) |
data.metadata | Object | No | Custom metadata for the message |
data.created_by | String | Yes | ID or name of the creator |
data.updated_by | String | Yes | ID or name of the last modifier |
data.created_at | ISO 8601 | Yes | Creation timestamp |
data.updated_at | ISO 8601 | Yes | Last update timestamp |
timestamp | ISO 8601 | Yes | Webhook event timestamp |
Issue | Possible Causes | Solution |
---|---|---|
Timeouts | Slow processing | Implement async processing |
Heavy payload | Optimize payload size | |
Network latency | Reduce processing time | |
SSL Errors | Invalid certificate | Update SSL certificate |
Expired certificate | Set up auto-renewal | |
Certificate mismatch | Verify domain matching | |
404 Errors | Invalid URL | Check webhook configuration |
URL changed | Update webhook URL | |
Service unavailable | Verify service status |