Sendexa LogoDocs

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.agent.assigned: An agent was assigned to a conversation.
  • chat.typing.started: A user has started typing.
  • chat.conversation.closed: The conversation was marked as resolved.