Call transcript
GET
/v1/calls/{callId}/transcript
const url = 'https://your-machine.your-tailnet.ts.net/v1/calls/example/transcript';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://your-machine.your-tailnet.ts.net/v1/calls/example/transcript \ --header 'Authorization: Bearer <token>'What the caller and the built-in assistant said. Empty for calls the assistant wasn’t on.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”callId
required
string
Responses
Section titled “Responses”Transcript lines.
Media typeapplication/json
object
transcript
Array<object>
object
role
string
text
string
at
string format: date-time
Example
{ "transcript": [ { "role": "caller" } ]}Not found.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
issues
Validation details
Array
Example
{ "error": { "code": "NOT_FOUND", "message": "call not found" }}