Events
Conversations API: Webhook Event Types
The Conversations API enables you to monitor conversation changes in real-time using webhooks. Three key event types are supported:
Event Types
conversation.created
Use Case: Monitor the initiation of new customer interactions.
Triggered: When a new conversation is created.
conversation.updated
Use Case: Track changes in active conversations, such as updated statuses or participant modifications.
Triggered: When an existing conversation is updated, with changes in attributes, participants, or statuses.
conversation.deleted
Use Case: Maintain clean data or trigger processes when conversations are archived or removed.
Triggered: When a conversation is deleted.
These events allow you to track the lifecycle of conversations efficiently.
Webhook Payload Example
conversation.updated Event Payload
Webhook Configuration
Webhook Configuration for Conversation Events
To subscribe to conversation events, you need to configure a webhook with the following parameters:
Event Filters
Optional filters to narrow the scope of events, such as by channelId
.
channelId:12345
Signing Key
Key used for verifying the authenticity of incoming webhook requests.
abc123xyz456
URL
The endpoint to which event notifications will be sent.
https://example.com/webhook
Event
The specific event to track, options include conversation.created
, conversation.updated
, conversation.deleted
.
conversation.created
Service
The service to monitor.
Webhook Configuration Example
Last updated