Use this file to discover all available pages before exploring further.
Back to API ListRetrieves conversation sessions. Returns session metadata, user and bot identifiers, session duration, language, status, and other relevant metrics.
Field
Value
Method
POST
Endpoint
https://{{host}}/api/public/bot/{{BotID}}/getSessions?containmentType={{containmentType}} (or https://{{host}}/api/public/getSessions?containmentType={{containmentType}} for BAC)
The user ID (email or enterprise-assigned unique ID).
skip/offset
Optional
Number
Number of messages to skip.
limit
Optional
Number
Number of messages per page. Sessions are returned in descending order of start time.
dateFrom
Optional
Date
Start date in yyyy-mm-dd or yyyy-mm-ddThh:mm:ss.msZ format. Defaults to 7 days before dateTo.
dateTo
Optional
Date
End date in yyyy-mm-dd or yyyy-mm-ddThh:mm:ss.msZ format. Defaults to today if neither date is provided.
tags
Optional
Object
Meta tags to filter conversations.
sessionType
Optional
String
Filter by session type: non-interactive (bot messages without user input) or interactive (sessions with user messages).
sessionId
Optional
Array of up to 50 session IDs. If used, all other filters are ignored. Querying using sessionId returns sessionTags only for sessions from the last 14 days. To retrieve sessionTags for older sessions, use dateFrom and dateTo with a date range of less than 7 days.