Authentication
Bearer token in theAuthorization header. A read-only key is enough. See Authentication.
Path parameters
string
required
Contact ID, usually prefixed with
con_.Query parameters
integer
default:"20"
Number of sessions per page. Range
1 to 100.string
Opaque cursor from the previous response’s
nextCursor. See Pagination.Response
Returns a list envelope containingSession objects. The list is empty for a contact who never used the chat widget.
The Session object
string
Unique identifier.
string
Always
"session".string
The contact’s ID.
string | null
The page the widget was opened on, if known.
string | null
The visitor’s IP address, if stored.
string | null
The browser’s
User-Agent header, if stored.string | null
The browser’s
Accept-Language header, if stored.string
ISO 8601 UTC timestamp of when the session started.
string
ISO 8601 UTC timestamp of the visitor’s latest activity in the session.
Examples
List a contact’s sessions
Response
Error responses
See Errors for the full error envelope reference.