Skip to main content
GET
/
agent
/
transcript
/
{transcript_id}
Get Transcript
curl --request GET \
  --url https://api.getoutbox.ai/agent/transcript/{transcript_id} \
  --header 'Authorization: <api-key>' \
  --header 'X-User-Timezone: <x-user-timezone>'
{
  "agent_id": "<string>",
  "agent_name": "<string>",
  "agent_number": "<string>",
  "status": "<string>",
  "error_message": "<string>",
  "type": "chatbot",
  "is_deleted": true,
  "user_name": "<string>",
  "cost": "<string>",
  "score": 123,
  "cost_breakdown": {},
  "summary": "<string>",
  "recording_url": "<string>",
  "created_at": "<string>",
  "timestamp": "<string>",
  "call_length": "<string>",
  "direction": "inbound",
  "phone_number": "<string>",
  "message_count": 123,
  "contact_id": "<string>",
  "messages": [
    {
      "type": "message",
      "timestamp": "<string>",
      "role": "user",
      "message": "<string>",
      "platform": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Company API Key

Headers

X-User-Timezone
string
required

User's timezone for timestamp formatting

Path Parameters

transcript_id
string
required

The ID of the thread/transcript

Response

Transcript details retrieved successfully

agent_id
string
agent_name
string
agent_number
string
status
string
error_message
string

Only present if status is 'error'

type
enum<string>
Available options:
chatbot,
voicebot
is_deleted
boolean
user_name
string
cost
string

Formatted: '$X.XX'

score
number
cost_breakdown
object
summary
string
recording_url
string
created_at
string

Format: DD/MM/YYYY • HH:MMam/pm in user timezone

timestamp
string

Format: DD/MM/YYYY • HH:MMam/pm in user timezone

call_length
string

Format: MM:SS (voicebot only)

direction
enum<string>

Voicebot only

Available options:
inbound,
outbound
phone_number
string

Voicebot only

message_count
integer

Chatbot only

contact_id
string

Chatbot only

messages
object[]

Unified messages from thread messages, tool calls, and interrupts