Skip to main content
WEBHOOK
conversation.closed
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "event": "captured_form.created",
  "created_at": "2023-11-07T05:31:56Z",
  "data": {
    "conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "widget_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "device_type": "mobile",
    "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "chat_count": 123,
    "transcript": [
      {
        "sender_type": "bot",
        "message_type": "voice",
        "text": "<string>",
        "voice_base64": "<string>",
        "data_sources": [
          {}
        ],
        "conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "updated_at": "2023-11-07T05:31:56Z",
        "created_at": "2023-11-07T05:31:56Z",
        "char_count": 123
      }
    ],
    "attributes": {}
  },
  "object": "event"
}
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Body

application/json
id
string<uuid>
required
event
enum<string>
required
Available options:
captured_form.created,
captured_form.updated,
conversation.closed,
conversation.updated
created_at
string<date-time>
required
data
ConversationClosedWebhook · object
required
object
string
default:event

Response

Successful Response