Official Sinch API skills for AI coding agents — SMS, Voice, Verification, Numbers, Mailgun email, and more.
71
89%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Advisory
Suggest reviewing before use
← Back to Conversation API SKILL.md
The EVENT_DELIVERY trigger fires when there's a delivery status update for an event your app sent to a contact. Events are non-message interactions such as composing indicators or typing notifications. This trigger works similarly to MESSAGE_DELIVERY but is specifically for events rather than messages.
Note: Most channels don't support app-initiated events, so this trigger is rarely used in practice. WhatsApp and RCS are the primary channels that support sending events from apps to contacts.
The webhook callback contains an event_delivery_report object with these key fields:
| Field | Type | Description |
|---|---|---|
event_id | string | ID of the event this status update is for |
conversation_id | string | Conversation the event belongs to |
status | string | Delivery status (DELIVERED, FAILED, QUEUED_ON_CHANNEL) |
channel_identity | object | Channel-specific recipient information |
contact_id | string | Contact who should receive the event |
reason | object | Error details (if status is FAILED) |
metadata | string | Metadata attached to the original event |
| Status | Description |
|---|---|
QUEUED_ON_CHANNEL | Event submitted to channel, awaiting delivery |
DELIVERED | Event delivered successfully |
FAILED | Event delivery failed |
| Field | Type | Description |
|---|---|---|
code | string | High-level error category |
description | string | Human-readable error description |
sub_code | string | Detailed error code |
Note: Since most apps don't send events (they send messages), this trigger is rarely needed. Most implementations only use MESSAGE_DELIVERY and ignore EVENT_DELIVERY.
{
"app_id": "01H1234567...",
"accepted_time": "2024-06-15T14:30:45.456Z",
"event_time": "2024-06-15T14:30:45.123Z",
"project_id": "PROJECT123",
"event_delivery_report": {
"event_id": "01H9876543...",
"conversation_id": "01H5555555...",
"status": "DELIVERED",
"channel_identity": {
"channel": "WHATSAPP",
"identity": "46732001122",
"app_id": "01H1234567..."
},
"contact_id": "01H3333333...",
"metadata": "",
"processing_mode": "CONVERSATION"
}
}{
"app_id": "01H1234567...",
"accepted_time": "2024-06-15T14:31:00.789Z",
"project_id": "PROJECT123",
"event_delivery_report": {
"event_id": "01H8888888...",
"conversation_id": "01H5555555...",
"status": "FAILED",
"channel_identity": {
"channel": "SMS",
"identity": "15551234567",
"app_id": "01H1234567..."
},
"contact_id": "01H3333333...",
"reason": {
"code": "UNSUPPORTED_CONTENT",
"description": "SMS does not support sending events",
"sub_code": "CHANNEL_LIMITATION"
},
"processing_mode": "CONVERSATION"
}
}{
"app_id": "01H1234567...",
"accepted_time": "2024-06-15T15:00:00.123Z",
"project_id": "PROJECT123",
"event_delivery_report": {
"event_id": "01H7777777...",
"conversation_id": "01H5555555...",
"status": "QUEUED_ON_CHANNEL",
"channel_identity": {
"channel": "RCS",
"identity": "15551234567",
"app_id": "01H1234567..."
},
"contact_id": "01H3333333...",
"metadata": "",
"processing_mode": "CONVERSATION"
}
}EVENT_INBOUND, making this trigger uncommonREAD status; only DELIVERED or FAILEDMESSAGE_DELIVERY insteadskills
sinch-10dlc
references
sinch-authentication
sinch-conversation-api
sinch-elastic-sip-trunking
references
sinch-fax-api
sinch-imported-numbers-hosting-orders
references
sinch-in-app-calling
sinch-mailgun
references
sinch-mailgun-inspect
references
sinch-mailgun-optimize
references
sinch-mailgun-validate
sinch-number-lookup-api
sinch-number-order-api
sinch-numbers-api
references
sinch-porting-api
sinch-provisioning-api
sinch-sdks
sinch-verification-api