Skip to main content
GET
Get Session History Endpoint By Agent

Authorizations

x-api-key
string
header
required

Path Parameters

session_id
string
required

The unique identifier of the session.

Example:

"12343"

agent_id
string
required

The unique identifier of the agent whose history is being retrieved.

Example:

"1244643456"

Query Parameters

unix
boolean

If set to true, returns timestamps in Unix epoch format; otherwise, returns standard datetime strings.

Example:

false

Response

Session history successfully retrieved.

history
object[]

The list of messages in the session history.

Example: