Chat Webhooks

Receive real-time HTTP callbacks for chat events.

Real-time Events

Get notified instantly of new messages, typing indicators, and status changes.

Secure Verification

Verify payload authenticity using HMAC signatures.

Webhook Events

Configure your webhook URL in the Sendexa Dashboard to start receiving real-time event notifications.

Example Message Payload

JSON
{
"event": "chat.message.created",
"timestamp": "2024-01-15T10:35:12Z",
"data": {
"conversationId": "conv_abc123",
"messageId": "msg_xyz789",
"senderId": "cust_987654",
"text": "I have another question...",
"type": "text"
}
}

Event Types

  • chat.conversation.started: A new conversation has been initialized.
  • chat.message.created: A new message was sent by a customer or agent.
  • chat.conversation.assigned: A team member was assigned (or unassigned) from a conversation.
  • chat.csat.submitted: A visitor submitted a satisfaction rating after their conversation was closed.
  • chat.typing.started: A user has started typing.
  • chat.conversation.closed: The conversation was marked as resolved.