Get a list of webchat sessions.
Retrieves a paginated list of webchat sessions for the authenticated customer.
Query parameters
Number of results to return per page.
Cursor token for pagination. Use the next_page_token value from the previous response.
Filter sessions to those belonging to this widget. Returned from the POST /webchat_widgets or GET /webchat_widgets response.
Response
A list of webchat sessions.
Example response
{
"result": [
{
"id": "7a1bcb1a-1b8e-4f5c-9a6d-3e2f1a0b4c5d",
"customer_id": "7c4d2f3a-1b8e-4f5c-9a6d-3e2f1a0b4c5d",
"widget_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "active",
"page_url": "https://example.com/pricing",
"referrer": "https://example.com/blog/some-article",
"peer": {
"type": "tel",
"target": "+14155551234",
"target_name": "John Smith",
"name": "Main Office",
"detail": "Primary contact number"
},
"local": {
"type": "tel",
"target": "+14155551234",
"target_name": "John Smith",
"name": "Main Office",
"detail": "Primary contact number"
},
"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
Changed in 7 of the 54 revisions of this API.137
- ●
added the new
web_sessionenum value to theallOf[subschema #2]/result/items/local/typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
web_sessionenum value to theallOf[subschema #2]/result/items/peer/typeresponse property for the response status200response-property-enum-value-added
- ●
- ○
added the optional property
allOf[subschema #2]/result/items/localto the response with the200statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/result/items/peerto the response with the200statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/result/items/referrerto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
allOf[subschema #2]/result/items/page_urlto the response with the200statusresponse-optional-property-added
- ○
- ●
removed the optional property
allOf[subschema #2]/result/items/welcome_messagefrom the response with the200statusresponse-optional-property-removed
- ●
- ○
added the new optional
queryrequest parameterwidget_idnew-optional-request-parameter
- ○
added the optional property
allOf[subschema #2]/result/items/welcome_messageto the response with the200statusresponse-optional-property-added
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 20 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲