The digital interaction webhooks are triggered when a message or conversation event occurs.
These webhooks notify your system when a digital channel message is received or sent, when the delivery status of a sent message changes, or when a conversation ends.
Subscribe to these webhooks on the Administration > Webhooks page.
For parameter descriptions, refer to the Webhook Overview article.
| Event | Description |
|---|---|
| message.received | An agent receives a new reply in an ongoing conversation. |
| message.sent | An agent sends a new reply in an ongoing conversation. |
| message.status | An outbound message is delivered, seen or fails. |
| conversation.ended | A digital conversation is archived and a wrap-up code is assigned. |
message.received
Use this event to:
- Notify agents or CRMs when a new message arrives in an active conversation
- Log message metadata for real-time dashboards
Sample Payload Structure
The following sample shows the structure of this webhook payload and highlights where standard objects—documented in the Webhook Overview—are used. The data field typically contains one or more of these reusable objects, depending on the event type.
{
"event": "message.received",
“object: "message",
"timestamp": "2024-05-24T08:36:39Z",
“secret”: "45XXYYZZa08",
"contact_center_id": "187edc75-3008-44e3-8798-aa0bbc12yt703"
"data": {
//message object
//agent object
//contact object
//channel object
}
}Example payload
{
"event": "message.received",
"object": "message",
"timestamp": "2024-07-04T12:38:21Z",
"secret": "87edc123abc787edc7",
"contact_center_id": "187abc75-3008-44e3-5555-aa0abc12yt703",
"data": {
"id": "123450f3-3c33-419e-b8b6-2cb933d014aa",
"reference_id": null,
"content_type": "text",
"content_data": {
"text": "Hi, can you help me with my request, please."
},
"status": "accepted",
"conversation_id": "f0f749d7-46ad-4abc-b094-4c123f8dbfc8",
"agent": {
"id": 487,
"name": "John S",
"email": "[email protected]",
"extension": "8835",
"timezone": "Europe/Warsaw"
},
"contact": {
"id": 345,
"username": "Guest",
"channel_identifier": "df451a0d1-a3d9-459d-96c2-f23e81f94a6d"
},
"channel": {
"id": "ab5ba051-a8fc-5555-a4ab-cf6f4de6c2ab",
"type": "chat",
"name": "premium support"
}
}
}message.sent
Use this event to:
- Log outgoing messages sent by agents
- Track delivery status and message content in third-party systems
Sample Payload Structure
The following sample shows the structure of this webhook payload and highlights where standard objects—documented in the Webhook Overview—are used. The data field typically contains one or more of these reusable objects, depending on the event type.
{
"event": "message.sent",
“object: "message",
"timestamp": 2024-05-24T08:36:39Z,
“secret”: "45XXYYZZa08",
"contact_center_id": "00000000-0000-0000-0000-000000000000" // UUID of the cc
"data": {
//message object
//agent object
//contact object
}
}Example payload
{
"event": "message.sent",
"object": "message",
"timestamp": "2024-05-24T08:36:39Z",
"secret": "FAKESECRET12345",
"contact_center_id": "00000000-0000-0000-0000-000000000000",
"data": {
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"reference_id": null,
"content_type": "text",
"content_data": {
"text": "Hello from Contact_Center_Name!"
},
"status": "sent",
"error_message": null,
"conversation_id": "ffffffff-1111-2222-3333-444444444444",
"agent": {
"id": 10001,
"name": "Support Team",
"email": "[email protected]",
"extension": "1010",
"timezone": "Europe/Warsaw"
},
"contact": {
"id": 55555,
"username": "John Doe",
"channel_identifier": "919999999999"
},
"channel": {
"id": "gggggggg-hhhh-iiii-jjjj-kkkkkkkkkkkk",
"type": "whatsapp",
"name": "WA 1234567890"
}
}
}Note: If a message fails while it is being sent, Voiso sends message.sent with status set to failed, and then a message.status event with status set to failed.
message.status
Use this event to:
- Track whether outbound messages are delivered, seen or failed, without polling the Public API
- Measure delivery and read rates of campaigns and messages sent through the API
sends this event each time the status of an outbound message changes to delivered, seen or failed: one request per status change. It covers messages sent by agents, through the Public API (v4) and by automations, on every digital channel. Which statuses arrive depends on what the channel reports.
Sample Payload Structure
The following sample shows the structure of this webhook payload. The channel object is documented in the Webhook Overview; the contact object of this event carries only id and channel_identifier.
{
"event": "message.status",
"object": "message",
"timestamp": "2026-11-24T10:15:32Z",
"secret": "45XXYYZZa08",
"contact_center_id": "00000000-0000-0000-0000-000000000000",
"data": {
//message ID, conversation ID and status
//error_message (failed only)
//contact object (id and channel_identifier)
//channel object
}
}Payload fields
| Parameter | Description | Data type | Notes |
|---|---|---|---|
| id | The UUID of the message. | string | The same ID as in the Public API (v4) and in message.sent. |
| conversation_id | The UUID of the conversation. | string | The same ID as in the Public API (v4). |
| status | The new status of the message. | string | Valid values are: delivered, seen and failed. |
| error_message | The failure reason. | string | The same text as in message.sent. Sent only when status is failed; null when the channel gives no reason. |
| contact | The contact the message was sent to. | object | Contains only id (UUID) and channel_identifier (for example, a phone number). |
| channel | The digital channel the message was sent through. | object | Refer to the Channel object table in the Webhook Overview. null if the channel was deleted. |
Handling the event
timestampis the time of the status change, in whole seconds, not the time the message was sent.seenimpliesdelivered. Some messages go straight toseen, so adeliveredrequest may never arrive.- Requests are not ordered. If your endpoint does not answer with a success status, Voiso retries the request, up to five attempts over about 20 hours. A retried request can arrive hours late, after the request for a later status.
- The same status can arrive more than once. Deduplicate on
data.idtogether withdata.status. - Work out the current status by precedence, not by
timestamp:seensupersedesdelivered, andfailedis final. Two statuses of the same message can have the sametimestamp.
Example payload: delivered
{
"event": "message.status",
"object": "message",
"timestamp": "2026-11-24T10:15:32Z",
"contact_center_id": "018e4c76-6a52-732e-ac52-91c89f1b96cb",
"data": {
"id": "0f8fad5b-d9cb-469f-a165-70867728950e",
"conversation_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"status": "delivered",
"contact": {
"id": "3f2504e0-4f89-41d3-9a0c-0305e82c3301",
"channel_identifier": "447700900123"
},
"channel": {
"id": "6ecd8c99-4036-403d-bf84-cf8400f67836",
"type": "whatsapp",
"name": "Sales WhatsApp"
}
}
}Example payload: failed
{
"event": "message.status",
"object": "message",
"timestamp": "2026-11-24T10:15:32Z",
"contact_center_id": "018e4c76-6a52-732e-ac52-91c89f1b96cb",
"data": {
"id": "0f8fad5b-d9cb-469f-a165-70867728950e",
"conversation_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"status": "failed",
"contact": {
"id": "3f2504e0-4f89-41d3-9a0c-0305e82c3301",
"channel_identifier": "447700900123"
},
"channel": {
"id": "6ecd8c99-4036-403d-bf84-cf8400f67836",
"type": "whatsapp",
"name": "Sales WhatsApp"
},
"error_message": "Message undeliverable"
}
}conversation.ended
Use this event to:
- Detect when a conversation is archived and final metadata is available
- Record wrap-up codes, SLA metrics, and contact interaction data
Sample Payload Structure
The following sample shows the structure of this webhook payload and highlights where standard objects—documented in the Webhook Overview—are used. The data field typically contains one or more of these reusable objects, depending on the event type.
{
"event": "conversation.ended",
“object: "conversation",
"timestamp": "2024-05-24T08:36:39Z",
“secret”: "45XXYYZZa08",
"contact_center_id": "187edc75-3008-44e3-8798-aa0bbc12yt703"
"data": {
//conversation object
//SLA object
//contact object
//channel object
}
}Example payload
{
"event": "conversation.ended",
"object": "conversation",
"timestamp": "2024-07-05T09:44:58Z",
"secret": "45XXYYZZa08XXYYZZa08",
"contact_center_id": "187edc75-3008-44e3-8798-aa0bbc12yt703",
"data": {
"id": "050d7df0-971e-4c68-adfd-dbe5df9771df",
"wrapup_code": "Sales Completed",
"queue": "Omnichannel queue",
"disposition": "archived",
"source": "user",
"sla": {
"time_to_first_response": 4,
"time_to_resolution": 14,
"time_to_reply": 8
},
"cpc": 0.04,
"contact": {
"id": 1645,
"username": "Marta Massle",
"channel_identifier": "6661846620607097"
},
"channel": {
"id": "4422cc29-8f43-4d2e-8d52-5212da820567",
"type": "instagram",
"name": "Instagram Support"
}
}
}Note: Use the sla block to track SLA compliance metrics across all digital interactions.