cURL
curl --request GET \ --url https://interact.turntwo.com/api/agents/chats \ --header 'X-API-Key: <api-key>' \ --header 'X-Organization-Id: <api-key>'
{ "chats": [ { "id": "<string>", "status": "<string>", "initiator": "<string>", "createdAt": "2023-11-07T05:31:56Z", "job": { "id": "<string>", "name": "<string>" }, "agent": { "id": "<string>", "name": "<string>" } } ] }
Returns a list of chats. Can be filtered by agentId and/or jobId query parameters.
API key for authentication
Organization ID associated with the API key
Optional filter by Agent ID
Optional filter by Job ID
Successful response
Show child attributes