Get call by ID
client.call.retrieve(stringid, RequestOptionsoptions?): CallRetrieveResponse { call }
GET/call/{id}
Retrieve the full details of a call order by its unique ID. The response includes the call status, call attempts, transcript, recording URL, timestamps, and metadata. Use this endpoint to poll for call completion or inspect results after a call has finished.
Parameters
id: string
Returns
Get call by ID
import Revox from '@revoxai/sdk';
const client = new Revox({
apiKey: process.env['REVOX_API_KEY'], // This is the default and can be omitted
});
const call = await client.call.retrieve('id');
console.log(call.call);{
"call": {
"id": "id",
"assistant": {
"id": "id",
"background_sound": "audio/office.ogg",
"calendly": {
"connection_id": "connection_id",
"event_type_id": "event_type_id"
},
"call_retry_config": {
"calling_windows": [
{
"calling_window_end_time": "calling_window_end_time",
"calling_window_start_time": "calling_window_start_time",
"retry_delay_seconds": 1
}
],
"max_retry_attempts": 1,
"timezone": "timezone"
},
"created_at": {},
"end_of_call_sentence": "end_of_call_sentence",
"first_sentence": "first_sentence",
"first_sentence_delay_ms": -9007199254740991,
"first_sentence_mode": "generated",
"ivr_navigation_enabled": true,
"llm_model": {
"name": "gpt-4.1",
"type": "dedicated-instance"
},
"max_call_duration_secs": 0,
"name": "name",
"organization_id": "organization_id",
"prompt": "prompt",
"structured_output_config": [
{
"name": "x",
"required": true,
"type": "string",
"description": "description",
"enum_options": [
"string"
]
}
],
"transfer_phone_number": "transfer_phone_number",
"updated_at": {},
"voice": {
"id": "x",
"provider": "cartesia",
"speed": 0.6
},
"voicemail_message": "voicemail_message",
"webhook_url": "webhook_url",
"faq_items": [
{
"answer": "answer",
"question": "question",
"id": "id",
"needs_human_answer": true,
"source": "human"
}
],
"pending_faq_count": 0
},
"call_attempts": [
{
"id": "id",
"answered_at": {},
"dial_error": "number_non_attributed",
"ended_at": {},
"phone_number": "phone_number",
"recording_url": "recording_url",
"result": "IVR",
"started_at": {},
"status": "queued",
"end_reason": "end_reason",
"ended_by": "agent",
"structured_output": {
"foo": "bar"
},
"transcript": [
{
"content": "content",
"role": "user",
"tool_arguments": {
"foo": "bar"
},
"tool_is_error": true,
"tool_name": "tool_name"
}
]
}
],
"call_retry_config": {
"calling_windows": [
{
"calling_window_end_time": "calling_window_end_time",
"calling_window_start_time": "calling_window_start_time",
"retry_delay_seconds": 1
}
],
"max_retry_attempts": 1,
"timezone": "timezone"
},
"calls_count": 0,
"campaign": {
"id": "id",
"name": "name"
},
"created_at": {},
"direction": "inbound",
"first_sentence_delay_ms": -9007199254740991,
"from_phone_number": "from_phone_number",
"is_cancelled": true,
"is_completed": true,
"last_call_attempt": {
"id": "id",
"answered_at": {},
"dial_error": "number_non_attributed",
"ended_at": {},
"phone_number": "phone_number",
"recording_url": "recording_url",
"result": "IVR",
"started_at": {},
"status": "queued",
"end_reason": "end_reason",
"ended_by": "agent",
"structured_output": {
"foo": "bar"
},
"transcript": [
{
"content": "content",
"role": "user",
"tool_arguments": {
"foo": "bar"
},
"tool_is_error": true,
"tool_name": "tool_name"
}
]
},
"llm_model": {
"name": "gpt-4.1",
"type": "dedicated-instance"
},
"metadata": {
"foo": "string"
},
"organization_id": "organization_id",
"scheduled_at": {},
"status": "initializing",
"to_phone_number": "to_phone_number"
}
}Returns Examples
{
"call": {
"id": "id",
"assistant": {
"id": "id",
"background_sound": "audio/office.ogg",
"calendly": {
"connection_id": "connection_id",
"event_type_id": "event_type_id"
},
"call_retry_config": {
"calling_windows": [
{
"calling_window_end_time": "calling_window_end_time",
"calling_window_start_time": "calling_window_start_time",
"retry_delay_seconds": 1
}
],
"max_retry_attempts": 1,
"timezone": "timezone"
},
"created_at": {},
"end_of_call_sentence": "end_of_call_sentence",
"first_sentence": "first_sentence",
"first_sentence_delay_ms": -9007199254740991,
"first_sentence_mode": "generated",
"ivr_navigation_enabled": true,
"llm_model": {
"name": "gpt-4.1",
"type": "dedicated-instance"
},
"max_call_duration_secs": 0,
"name": "name",
"organization_id": "organization_id",
"prompt": "prompt",
"structured_output_config": [
{
"name": "x",
"required": true,
"type": "string",
"description": "description",
"enum_options": [
"string"
]
}
],
"transfer_phone_number": "transfer_phone_number",
"updated_at": {},
"voice": {
"id": "x",
"provider": "cartesia",
"speed": 0.6
},
"voicemail_message": "voicemail_message",
"webhook_url": "webhook_url",
"faq_items": [
{
"answer": "answer",
"question": "question",
"id": "id",
"needs_human_answer": true,
"source": "human"
}
],
"pending_faq_count": 0
},
"call_attempts": [
{
"id": "id",
"answered_at": {},
"dial_error": "number_non_attributed",
"ended_at": {},
"phone_number": "phone_number",
"recording_url": "recording_url",
"result": "IVR",
"started_at": {},
"status": "queued",
"end_reason": "end_reason",
"ended_by": "agent",
"structured_output": {
"foo": "bar"
},
"transcript": [
{
"content": "content",
"role": "user",
"tool_arguments": {
"foo": "bar"
},
"tool_is_error": true,
"tool_name": "tool_name"
}
]
}
],
"call_retry_config": {
"calling_windows": [
{
"calling_window_end_time": "calling_window_end_time",
"calling_window_start_time": "calling_window_start_time",
"retry_delay_seconds": 1
}
],
"max_retry_attempts": 1,
"timezone": "timezone"
},
"calls_count": 0,
"campaign": {
"id": "id",
"name": "name"
},
"created_at": {},
"direction": "inbound",
"first_sentence_delay_ms": -9007199254740991,
"from_phone_number": "from_phone_number",
"is_cancelled": true,
"is_completed": true,
"last_call_attempt": {
"id": "id",
"answered_at": {},
"dial_error": "number_non_attributed",
"ended_at": {},
"phone_number": "phone_number",
"recording_url": "recording_url",
"result": "IVR",
"started_at": {},
"status": "queued",
"end_reason": "end_reason",
"ended_by": "agent",
"structured_output": {
"foo": "bar"
},
"transcript": [
{
"content": "content",
"role": "user",
"tool_arguments": {
"foo": "bar"
},
"tool_is_error": true,
"tool_name": "tool_name"
}
]
},
"llm_model": {
"name": "gpt-4.1",
"type": "dedicated-instance"
},
"metadata": {
"foo": "string"
},
"organization_id": "organization_id",
"scheduled_at": {},
"status": "initializing",
"to_phone_number": "to_phone_number"
}
}