Skip to main content
GET
Get Conversation

Authorizations

X-API-Key
string
header
required

Your organization's API key (account in the bottom-left of the dashboard → Brosbots API).

Headers

authorization
string | null
X-API-Key
string | null

Path Parameters

agent_id
required

The agent's ID: the public agent_ + 20 characters identifier shown in the dashboard (recommended), or the legacy number. Both address the same agent.

Pattern: ^agent_[A-Za-z0-9]{20}$
Example:

"agent_7fK2mQ9xLp3RtV8wYb1N"

conversation_id
integer
required

Response

Successful Response

One conversation, with links to download its files.

id
integer
required
workflow_id
integer
required
name
string
required
mode
string
required
created_at
string<date-time>
required
is_completed
boolean
required
transcript_url
string | null
required

Storage key of the file (e.g. recordings/580.wav), not a URL. Kept for existing integrations; download through transcript_download_url instead.

recording_url
string | null
required

Storage key of the file (e.g. recordings/580.wav), not a URL. Kept for existing integrations; download through recording_download_url instead.

cost_info
object | null
required
definition_id
integer | null
required
call_type
enum<string>
required
Available options:
inbound,
outbound
provider_call_id
string | null
initial_context
object | null
gathered_context
object | null
logs
object | null
sms_messages
SmsMessageSchema · object[]
duration_seconds
integer | null

Call length in whole seconds; null until the call has ended. The same value call.completed sends as duration_seconds.

transcript_download_url
string | null

Signed HTTPS link to the transcript text file, valid until download_urls_expire_at. No API key needed to open it.

recording_download_url
string | null

Signed HTTPS link to the WAV recording, valid until download_urls_expire_at. No API key needed to open it.

download_urls_expire_at
string<date-time> | null

When the download links stop working (1 hour after the request). Fetch the conversation again for fresh ones.