Event Types
Every event emitted by msend—whether delivered via webhook or GET /api/v1/events—shares the same envelope:
{
"id": "evt_01J...",
"kind": "message.received",
"created_at": "2026-11-25T10:00:00Z",
"data": {}
}Supported kind Values
Event kind | When it fires | Key fields in data |
|---|---|---|
message.received | A normalized inbound message arrives from a channel. | conversation, message (including text, parts, addressed_to_agent), contact, channel |
message.status | An outbound message transitions state (sending, sent, delivered, read, failed). | message (id, status, error_code, error_detail), conversation |
conversation.created | A new conversation is started on a channel. | conversation (id, kind, thread_key, channel_id) |
channel.status | A channel’s health changes (for example, an invalid Slack or Meta token puts it in error). | channel (id, kind, status, last_error) |
ping | Triggered manually via Send test event or POST /api/v1/agent/test_event. | {} |
Last updated on