cURL
curl --request GET \ --url https://api.open.cx/chat/sessions/{session_id}/history \ --header 'Authorization: Bearer <token>'
{ "items": [ { "created_at": "2023-11-07T05:31:56Z", "event": { "type": "message", "sender": { "type": "contact", "name": "<string>" }, "content": { "type": "text", "text": "<string>" } } } ], "next": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Pagination cursor to fetch the next set of results
Paginated response.
Was this page helpful?