GET
/
calls
/
{id}
/
transcript
curl --request GET \
  --url https://app.happyrobot.ai/api/v1/calls/{id}/transcript \
  --header 'authorization: <authorization>'
{
  "id": "<string>",
  "organization_id": "<string>",
  "call_id": "<string>",
  "start_time": 123,
  "messages": [
    {
      "id": "<string>",
      "role": "system",
      "content": "<string>",
      "tool_calls": [
        {
          "type": "<string>",
          "id": "<string>",
          "function": {
            "name": "<string>",
            "arguments": "<string>"
          }
        }
      ],
      "name": "<string>",
      "tool_call_id": "<string>",
      "start": 123,
      "end": 123,
      "unpreferred_messages": [
        {
          "id": "<string>",
          "content": "<string>",
          "tool_calls": [
            {
              "type": "<string>",
              "id": "<string>",
              "function": {
                "name": "<string>",
                "arguments": "<string>"
              }
            }
          ]
        }
      ],
      "interrupted_thoughts": "<string>",
      "is_filler": true,
      "discard": false,
      "transfer_contact": {
        "type": "Sales Rep",
        "name": "<string>",
        "email": "<string>",
        "phone": {
          "number": "<string>",
          "extension": "<string>"
        },
        "contact_id": "<string>",
        "slack_channel_id": "<string>"
      }
    }
  ]
}

Headers

authorization
string
required

Your API key for authentication. Use Bearer format.

Example:

"Bearer API_KEY"

Path Parameters

id
string
required

ID of the call.

Required string length: 24

Response

200
application/json
200
id
string
required

Unique identifier for the transcript.

organization_id
string
required

ID of the organization that owns the transcript.

call_id
string
required

ID of the call that the transcript is associated with.

start_time
number
required

Start unix time of the transcript.

messages
object[]
required

Messages that make up the transcript.