Webchat
Create a new webchat message.
Creates (sends) a new message on a webchat session. Used for agent/API-authored outbound replies.
post/webchat_messages
Request body
Example request
{
"session_id": "7a1bcb1a-1b8e-4f5c-9a6d-3e2f1a0b4c5d",
"direction": "inbound",
"text": "Thanks for reaching out! How can we help?"
}Response
Details of the created message.
Example response
{
"id": "5e9c2f3a-1b8e-4f5c-9a6d-3e2f1a0b4c5d",
"customer_id": "7c4d2f3a-1b8e-4f5c-9a6d-3e2f1a0b4c5d",
"widget_id": "550e8400-e29b-41d4-a716-446655440000",
"session_id": "7a1bcb1a-1b8e-4f5c-9a6d-3e2f1a0b4c5d",
"direction": "inbound",
"status": "sent",
"sender_id": "d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90",
"text": "Hi, I have a question about pricing",
"tm_create": "2026-01-15T09:30:00.000000Z",
"tm_delete": "2026-01-15T09:30:00.000000Z"
}