Webchat

Delete a webchat session.

Deletes an existing webchat session by its ID.

delete/webchat_sessions/{id}

Path parameters

idstring uuid required

The unique identifier of the session. Returned from the POST /sessions response.

Response

Session successfully deleted.

idstring uuid required

The unique identifier of the session, and the visitor's continuity token. Returned from the POST /sessions or GET /sessions response.

customer_idstring uuid required

The unique identifier of the associated customer. Returned from the GET /customers response.

widget_idstring uuid required

The widget this session belongs to. Returned from the POST /widgets or GET /widgets response.

status'active' | 'ended' required

The status of the session.

tm_last_activitystring date-time

Timestamp of the last activity on this session.

tm_createstring date-time

Timestamp when the session was created.

tm_updatestring date-time

Timestamp when the session was last updated.

tm_endstring date-time

Timestamp when the session ended.

Example response

{
  "id": "7a1bcb1a-1b8e-4f5c-9a6d-3e2f1a0b4c5d",
  "customer_id": "7c4d2f3a-1b8e-4f5c-9a6d-3e2f1a0b4c5d",
  "widget_id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "active",
  "tm_last_activity": "2026-01-15T09:30:00.000000Z",
  "tm_create": "2026-01-15T09:30:00.000000Z",
  "tm_update": "2026-01-15T09:30:00.000000Z",
  "tm_end": "2026-01-15T09:30:00.000000Z"
}

Changes