WebhookPayload
Signed webhook event body. Deduplicate deliveries by id, which matches the webhook-id header.
Variants
Set type to one of contact.created, contact.updated, contact.archived, conversation.started, conversation.updated, conversation.closed, message.created, message.updated, webhook.test.
ContactCreatedWebhookEvent
contact.created- Name
id- Type
- string
- required
Event ID. Equals thewebhook-idheader; use it to deduplicate deliveries.- Name
type- Type
- enum
- required
One of: contact.created- Name
timestamp- Type
- string
- required
When the change happened.- Name
data- Type
- ContactWebhookEventData
- required
{
"id": "string",
"type": "contact.created",
"timestamp": "string",
"data": {
"contact": {
"id": "con_d7pibvs6gljrc2pfdc1g",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Anna Kowalska",
"createdAt": "2026-04-30T09:20:00Z",
"updatedAt": "2026-04-30T10:10:00Z",
"conversations": [
{
"conversationId": "cnv_d7pigoip4tfcdebp5mlg",
"channel": "whatsapp",
"metadata": {
"phone_number": "+48123456789",
"wa_id": "48123456789"
}
}
],
"tagIds": [
"tag_d7pj8kaicb30377174j0"
],
"customFields": {
"cf_d7pgooc1v8t53cs68k5g": "customer",
"cf_d7pgpgin6fdi7ocdmdgg": "Krakow"
},
"archivedAt": null
}
}
}ContactUpdatedWebhookEvent
contact.updated- Name
id- Type
- string
- required
Event ID. Equals thewebhook-idheader; use it to deduplicate deliveries.- Name
type- Type
- enum
- required
One of: contact.updated- Name
timestamp- Type
- string
- required
When the change happened.- Name
data- Type
- ContactWebhookEventData
- required
{
"id": "string",
"type": "contact.updated",
"timestamp": "string",
"data": {
"contact": {
"id": "con_d7pibvs6gljrc2pfdc1g",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Anna Kowalska",
"createdAt": "2026-04-30T09:20:00Z",
"updatedAt": "2026-04-30T10:10:00Z",
"conversations": [
{
"conversationId": "cnv_d7pigoip4tfcdebp5mlg",
"channel": "whatsapp",
"metadata": {
"phone_number": "+48123456789",
"wa_id": "48123456789"
}
}
],
"tagIds": [
"tag_d7pj8kaicb30377174j0"
],
"customFields": {
"cf_d7pgooc1v8t53cs68k5g": "customer",
"cf_d7pgpgin6fdi7ocdmdgg": "Krakow"
},
"archivedAt": null
}
}
}ContactArchivedWebhookEvent
contact.archived- Name
id- Type
- string
- required
Event ID. Equals thewebhook-idheader; use it to deduplicate deliveries.- Name
type- Type
- enum
- required
One of: contact.archived- Name
timestamp- Type
- string
- required
When the change happened.- Name
data- Type
- ContactWebhookEventData
- required
{
"id": "string",
"type": "contact.archived",
"timestamp": "string",
"data": {
"contact": {
"id": "con_d7pibvs6gljrc2pfdc1g",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Anna Kowalska",
"createdAt": "2026-04-30T09:20:00Z",
"updatedAt": "2026-04-30T10:10:00Z",
"conversations": [
{
"conversationId": "cnv_d7pigoip4tfcdebp5mlg",
"channel": "whatsapp",
"metadata": {
"phone_number": "+48123456789",
"wa_id": "48123456789"
}
}
],
"tagIds": [
"tag_d7pj8kaicb30377174j0"
],
"customFields": {
"cf_d7pgooc1v8t53cs68k5g": "customer",
"cf_d7pgpgin6fdi7ocdmdgg": "Krakow"
},
"archivedAt": null
}
}
}ConversationStartedWebhookEvent
conversation.startedA session started in a conversation. Sent once per session, when its first customer message or human agent's message arrives. Outbound automated messages (API, journey, campaign or desk) sent while the conversation has no active session start no session; they are delivered without one. A conversation can have many sessions over its lifetime.
- Name
id- Type
- string
- required
Event ID. Equals thewebhook-idheader; use it to deduplicate deliveries.- Name
type- Type
- enum
- required
One of: conversation.started- Name
timestamp- Type
- string
- required
When the change happened.- Name
data- Type
- ConversationWebhookEventData
- required
{
"id": "string",
"type": "conversation.started",
"timestamp": "string",
"data": {
"session": {
"id": "string",
"status": "cold",
"started": true,
"owner": {}
},
"changedFields": [
"string"
],
"sessionId": "string",
"inboxId": "ibx_01HV8Y4QH7C8H1K5K0C8A2B9E4",
"conversation": {
"id": "cnv_d7pigoip4tfcdebp5mlg",
"channel": "whatsapp",
"externalId": "US.13491208655302741918",
"inboxId": "ibx_d7pi2efp0k7nba4e1mt0",
"name": "Anna Kowalska",
"contactId": "con_d7pibvs6gljrc2pfdc1g",
"contactName": "Anna Kowalska",
"status": "open",
"activeOwner": {
"type": "user",
"id": "usr_d7phtlmtf1g6fu9aj6jg"
},
"lastMessageAt": "2026-04-30T10:35:00Z",
"lastMessagePreview": "Thanks, I will check it now.",
"lastMessageSender": "customer"
},
"contact": {
"id": "con_d7pibvs6gljrc2pfdc1g",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Anna Kowalska",
"createdAt": "2026-04-30T09:20:00Z",
"updatedAt": "2026-04-30T10:10:00Z",
"conversations": [
{
"conversationId": "cnv_d7pigoip4tfcdebp5mlg",
"channel": "whatsapp",
"metadata": {
"phone_number": "+48123456789",
"wa_id": "48123456789"
}
}
],
"tagIds": [
"tag_d7pj8kaicb30377174j0"
],
"customFields": {
"cf_d7pgooc1v8t53cs68k5g": "customer",
"cf_d7pgpgin6fdi7ocdmdgg": "Krakow"
},
"archivedAt": null
},
"inbox": {
"id": "ibx_d7pi2efp0k7nba4e1mt0",
"createdAt": "2026-04-30T09:00:00Z",
"updatedAt": "2026-04-30T09:10:00Z",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"channel": "whatsapp",
"externalId": "112233445566778",
"createdBy": "usr_d7phosq4g7mv2l5b9l40",
"name": "+48 123 456 789",
"teamId": "tem_d7pi77577990sq67vgqg",
"status": {
"state": "active",
"reasons": []
},
"config": {
"number": "+48123456789",
"wabaId": "102030405060708",
"verifiedName": "Support",
"qualityRating": "GREEN"
}
}
}
}ConversationUpdatedWebhookEvent
conversation.updatedAn open session's status or owner changed; `changedFields` lists what changed, and changes that aren't visible in the payload (such as team access) send nothing. For example, a chatbot handing a session over to agents sends this event with `changedFields` `["status", "owner"]` and `session.status` `pending`. Starting and closing a session send `conversation.started` and `conversation.closed` instead, so `session.status` is never `closed` here.
- Name
id- Type
- string
- required
Event ID. Equals thewebhook-idheader; use it to deduplicate deliveries.- Name
type- Type
- enum
- required
One of: conversation.updated- Name
timestamp- Type
- string
- required
When the change happened.- Name
data- Type
- ConversationWebhookEventData
- required
{
"id": "string",
"type": "conversation.updated",
"timestamp": "string",
"data": {
"session": {
"id": "string",
"status": "cold",
"started": true,
"owner": {}
},
"changedFields": [
"string"
],
"sessionId": "string",
"inboxId": "ibx_01HV8Y4QH7C8H1K5K0C8A2B9E4",
"conversation": {
"id": "cnv_d7pigoip4tfcdebp5mlg",
"channel": "whatsapp",
"externalId": "US.13491208655302741918",
"inboxId": "ibx_d7pi2efp0k7nba4e1mt0",
"name": "Anna Kowalska",
"contactId": "con_d7pibvs6gljrc2pfdc1g",
"contactName": "Anna Kowalska",
"status": "open",
"activeOwner": {
"type": "user",
"id": "usr_d7phtlmtf1g6fu9aj6jg"
},
"lastMessageAt": "2026-04-30T10:35:00Z",
"lastMessagePreview": "Thanks, I will check it now.",
"lastMessageSender": "customer"
},
"contact": {
"id": "con_d7pibvs6gljrc2pfdc1g",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Anna Kowalska",
"createdAt": "2026-04-30T09:20:00Z",
"updatedAt": "2026-04-30T10:10:00Z",
"conversations": [
{
"conversationId": "cnv_d7pigoip4tfcdebp5mlg",
"channel": "whatsapp",
"metadata": {
"phone_number": "+48123456789",
"wa_id": "48123456789"
}
}
],
"tagIds": [
"tag_d7pj8kaicb30377174j0"
],
"customFields": {
"cf_d7pgooc1v8t53cs68k5g": "customer",
"cf_d7pgpgin6fdi7ocdmdgg": "Krakow"
},
"archivedAt": null
},
"inbox": {
"id": "ibx_d7pi2efp0k7nba4e1mt0",
"createdAt": "2026-04-30T09:00:00Z",
"updatedAt": "2026-04-30T09:10:00Z",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"channel": "whatsapp",
"externalId": "112233445566778",
"createdBy": "usr_d7phosq4g7mv2l5b9l40",
"name": "+48 123 456 789",
"teamId": "tem_d7pi77577990sq67vgqg",
"status": {
"state": "active",
"reasons": []
},
"config": {
"number": "+48123456789",
"wabaId": "102030405060708",
"verifiedName": "Support",
"qualityRating": "GREEN"
}
}
}
}ConversationClosedWebhookEvent
conversation.closedA session closed. Sent once for every session that closes. A closed session is never reopened; the next message starts a new session in the same conversation.
- Name
id- Type
- string
- required
Event ID. Equals thewebhook-idheader; use it to deduplicate deliveries.- Name
type- Type
- enum
- required
One of: conversation.closed- Name
timestamp- Type
- string
- required
When the change happened.- Name
data- Type
- ConversationWebhookEventData
- required
{
"id": "string",
"type": "conversation.closed",
"timestamp": "string",
"data": {
"session": {
"id": "string",
"status": "cold",
"started": true,
"owner": {}
},
"changedFields": [
"string"
],
"sessionId": "string",
"inboxId": "ibx_01HV8Y4QH7C8H1K5K0C8A2B9E4",
"conversation": {
"id": "cnv_d7pigoip4tfcdebp5mlg",
"channel": "whatsapp",
"externalId": "US.13491208655302741918",
"inboxId": "ibx_d7pi2efp0k7nba4e1mt0",
"name": "Anna Kowalska",
"contactId": "con_d7pibvs6gljrc2pfdc1g",
"contactName": "Anna Kowalska",
"status": "open",
"activeOwner": {
"type": "user",
"id": "usr_d7phtlmtf1g6fu9aj6jg"
},
"lastMessageAt": "2026-04-30T10:35:00Z",
"lastMessagePreview": "Thanks, I will check it now.",
"lastMessageSender": "customer"
},
"contact": {
"id": "con_d7pibvs6gljrc2pfdc1g",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Anna Kowalska",
"createdAt": "2026-04-30T09:20:00Z",
"updatedAt": "2026-04-30T10:10:00Z",
"conversations": [
{
"conversationId": "cnv_d7pigoip4tfcdebp5mlg",
"channel": "whatsapp",
"metadata": {
"phone_number": "+48123456789",
"wa_id": "48123456789"
}
}
],
"tagIds": [
"tag_d7pj8kaicb30377174j0"
],
"customFields": {
"cf_d7pgooc1v8t53cs68k5g": "customer",
"cf_d7pgpgin6fdi7ocdmdgg": "Krakow"
},
"archivedAt": null
},
"inbox": {
"id": "ibx_d7pi2efp0k7nba4e1mt0",
"createdAt": "2026-04-30T09:00:00Z",
"updatedAt": "2026-04-30T09:10:00Z",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"channel": "whatsapp",
"externalId": "112233445566778",
"createdBy": "usr_d7phosq4g7mv2l5b9l40",
"name": "+48 123 456 789",
"teamId": "tem_d7pi77577990sq67vgqg",
"status": {
"state": "active",
"reasons": []
},
"config": {
"number": "+48123456789",
"wabaId": "102030405060708",
"verifiedName": "Support",
"qualityRating": "GREEN"
}
}
}
}MessageCreatedWebhookEvent
message.created- Name
id- Type
- string
- required
Event ID. Equals thewebhook-idheader; use it to deduplicate deliveries.- Name
type- Type
- enum
- required
One of: message.created- Name
timestamp- Type
- string
- required
When the change happened.- Name
data- Type
- MessageWebhookEventData
- required
{
"id": "string",
"type": "message.created",
"timestamp": "string",
"data": {
"session": {},
"changedFields": [
"string"
],
"conversationId": "cnv_01HV8Z2JH0Q7K4M9N6P2A1B3C5",
"sessionId": "string",
"inboxId": "ibx_01HV8Y4QH7C8H1K5K0C8A2B9E4",
"message": {
"id": "msg_d7pj3rljs4umccbo6tdg",
"createdAt": "2026-04-30T10:36:00.412305Z",
"updatedAt": "2026-04-30T10:36:02Z",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"conversationId": "cnv_d7pigoip4tfcdebp5mlg",
"senderType": "user",
"senderId": "usr_d7phosq4g7mv2l5b9l40",
"content": {
"type": "text",
"text": {
"body": "Hi Anna, your order is ready for pickup."
}
},
"deliveryStatus": "delivered",
"channelMessageId": "wamid.HBgLMjQxMjM0NTY3ODkVAgARGBI",
"clientMessageId": "reply-4827-1"
},
"conversation": {
"id": "cnv_d7pigoip4tfcdebp5mlg",
"channel": "whatsapp",
"externalId": "US.13491208655302741918",
"inboxId": "ibx_d7pi2efp0k7nba4e1mt0",
"name": "Anna Kowalska",
"contactId": "con_d7pibvs6gljrc2pfdc1g",
"contactName": "Anna Kowalska",
"status": "open",
"activeOwner": {
"type": "user",
"id": "usr_d7phtlmtf1g6fu9aj6jg"
},
"lastMessageAt": "2026-04-30T10:35:00Z",
"lastMessagePreview": "Thanks, I will check it now.",
"lastMessageSender": "customer"
},
"contact": {
"id": "con_d7pibvs6gljrc2pfdc1g",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Anna Kowalska",
"createdAt": "2026-04-30T09:20:00Z",
"updatedAt": "2026-04-30T10:10:00Z",
"conversations": [
{
"conversationId": "cnv_d7pigoip4tfcdebp5mlg",
"channel": "whatsapp",
"metadata": {
"phone_number": "+48123456789",
"wa_id": "48123456789"
}
}
],
"tagIds": [
"tag_d7pj8kaicb30377174j0"
],
"customFields": {
"cf_d7pgooc1v8t53cs68k5g": "customer",
"cf_d7pgpgin6fdi7ocdmdgg": "Krakow"
},
"archivedAt": null
},
"inbox": {
"id": "ibx_d7pi2efp0k7nba4e1mt0",
"createdAt": "2026-04-30T09:00:00Z",
"updatedAt": "2026-04-30T09:10:00Z",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"channel": "whatsapp",
"externalId": "112233445566778",
"createdBy": "usr_d7phosq4g7mv2l5b9l40",
"name": "+48 123 456 789",
"teamId": "tem_d7pi77577990sq67vgqg",
"status": {
"state": "active",
"reasons": []
},
"config": {
"number": "+48123456789",
"wabaId": "102030405060708",
"verifiedName": "Support",
"qualityRating": "GREEN"
}
}
}
}MessageUpdatedWebhookEvent
message.updated- Name
id- Type
- string
- required
Event ID. Equals thewebhook-idheader; use it to deduplicate deliveries.- Name
type- Type
- enum
- required
One of: message.updated- Name
timestamp- Type
- string
- required
When the change happened.- Name
data- Type
- MessageWebhookEventData
- required
{
"id": "string",
"type": "message.updated",
"timestamp": "string",
"data": {
"session": {},
"changedFields": [
"string"
],
"conversationId": "cnv_01HV8Z2JH0Q7K4M9N6P2A1B3C5",
"sessionId": "string",
"inboxId": "ibx_01HV8Y4QH7C8H1K5K0C8A2B9E4",
"message": {
"id": "msg_d7pj3rljs4umccbo6tdg",
"createdAt": "2026-04-30T10:36:00.412305Z",
"updatedAt": "2026-04-30T10:36:02Z",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"conversationId": "cnv_d7pigoip4tfcdebp5mlg",
"senderType": "user",
"senderId": "usr_d7phosq4g7mv2l5b9l40",
"content": {
"type": "text",
"text": {
"body": "Hi Anna, your order is ready for pickup."
}
},
"deliveryStatus": "delivered",
"channelMessageId": "wamid.HBgLMjQxMjM0NTY3ODkVAgARGBI",
"clientMessageId": "reply-4827-1"
},
"conversation": {
"id": "cnv_d7pigoip4tfcdebp5mlg",
"channel": "whatsapp",
"externalId": "US.13491208655302741918",
"inboxId": "ibx_d7pi2efp0k7nba4e1mt0",
"name": "Anna Kowalska",
"contactId": "con_d7pibvs6gljrc2pfdc1g",
"contactName": "Anna Kowalska",
"status": "open",
"activeOwner": {
"type": "user",
"id": "usr_d7phtlmtf1g6fu9aj6jg"
},
"lastMessageAt": "2026-04-30T10:35:00Z",
"lastMessagePreview": "Thanks, I will check it now.",
"lastMessageSender": "customer"
},
"contact": {
"id": "con_d7pibvs6gljrc2pfdc1g",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Anna Kowalska",
"createdAt": "2026-04-30T09:20:00Z",
"updatedAt": "2026-04-30T10:10:00Z",
"conversations": [
{
"conversationId": "cnv_d7pigoip4tfcdebp5mlg",
"channel": "whatsapp",
"metadata": {
"phone_number": "+48123456789",
"wa_id": "48123456789"
}
}
],
"tagIds": [
"tag_d7pj8kaicb30377174j0"
],
"customFields": {
"cf_d7pgooc1v8t53cs68k5g": "customer",
"cf_d7pgpgin6fdi7ocdmdgg": "Krakow"
},
"archivedAt": null
},
"inbox": {
"id": "ibx_d7pi2efp0k7nba4e1mt0",
"createdAt": "2026-04-30T09:00:00Z",
"updatedAt": "2026-04-30T09:10:00Z",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"channel": "whatsapp",
"externalId": "112233445566778",
"createdBy": "usr_d7phosq4g7mv2l5b9l40",
"name": "+48 123 456 789",
"teamId": "tem_d7pi77577990sq67vgqg",
"status": {
"state": "active",
"reasons": []
},
"config": {
"number": "+48123456789",
"wabaId": "102030405060708",
"verifiedName": "Support",
"qualityRating": "GREEN"
}
}
}
}WebhookTestEvent
webhook.testSent only by `POST /webhooks:verify` to confirm the endpoint. Respond with any `2xx` status. Carries no customer data.
- Name
id- Type
- string
- required
Event ID. Equals thewebhook-idheader.- Name
type- Type
- enum
- required
One of: webhook.test- Name
timestamp- Type
- string
- required
Time when the test event was sent.- Name
data- Type
- object
- required
{
"id": "string",
"type": "webhook.test",
"timestamp": "string",
"data": {}
}