Zum Hauptinhalt springen
GET
Get a conversation

Autorisierungen

Authorization
string
header
erforderlich

Scoped API token. Required scopes are listed on each operation in x-required-scopes.

Pfadparameter

id
string
erforderlich

The numeric id or the conversation_id of the conversation.

Antwort

The conversation, with its transcript when your retention settings allow.

id
integer
erforderlich

ID of the conversation.

conversation_id
string
erforderlich

Stable public ID of the conversation. Accepted by GET /api/v1/conversations/{id}.

call_id
string | null
erforderlich

Telephony call identifier. Set for voice conversations only.

channel
enum<string>
erforderlich

Channel the conversation took place on.

Verfügbare Optionen:
voice,
livechat,
whatsapp,
email,
other
status
string
erforderlich

Always open. This is the archive state, not whether the call or chat is still active. Archived conversations are not returned. Chats that ended after inactivity remain available; use ended_at to determine whether a chat has ended.

Allowed value: "open"
agent_id
integer | null
erforderlich

The voice agent (its id from GET /api/v1/voice_agents) or messaging agent that handled the conversation.

agent_name
string | null
erforderlich

Name of the agent that handled the conversation.

started_at
string<date-time> | null
erforderlich

Call start for voice, otherwise when the conversation was created.

ended_at
string<date-time> | null
erforderlich

Call end for voice conversations, or the recorded end time after inactivity for livechat and WhatsApp conversations. Null while a chat is active, when no end has been recorded, or for other channels.

duration_seconds
integer | null
erforderlich

Call duration in seconds; null for chats.

metadata
object
erforderlich

Usage figures of the conversation.

transcript
object[]

Detail responses only. Omitted when your retention settings do not allow access, the transcript has expired, or cleanup has already removed it. Hidden and technical messages are never included.