API Reference
Reference for the API
Fetch the full transcript (messages) for a specific chat.
cURL
curl --request GET \ --url https://api.roark.ai/v1/chat/{id}/transcript \ --header 'Authorization: Bearer <token>'
{ "data": { "participants": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "<string>", "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ], "entries": [ { "participantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "role": "AGENT", "text": "<string>", "startOffsetMs": 1, "endOffsetMs": 1 } ] } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the chat to fetch transcript for
Transcript for the specified chat
Chat transcript response
Show child attributes