curl --request GET \
--url https://api.callrounded.com/v1/calls/{call_id} \
--header 'X-Api-Key: <api-key>'{
"data": {
"id": "<string>",
"status": "created",
"from_number": "<string>",
"to_number": "<string>",
"direction": "inbound",
"organization_id": "123e4567-e89b-12d3-a456-426614174001",
"type": "phone_call",
"agent_id": "123e4567-e89b-12d3-a456-426614174002",
"metadata": {
"source": "marketing_campaign",
"utm_medium": "email"
},
"start_time": "2023-06-15T14:30:00Z",
"end_time": "2023-06-15T14:35:00Z",
"duration_seconds": 300,
"redirect_duration_seconds": 5,
"cost": 0.15,
"transcript_string": "Agent: Hello, how can I help you today?\nUser: I'd like to check on my order status.",
"transcript": [
{
"role": "user",
"start_time": "2023-11-07T05:31:56Z",
"content": "<string>"
}
],
"variable_values": [
{
"name": "<string>",
"type": "string",
"value": "John Doe",
"timestamp": "2023-06-15T14:33:12Z"
}
],
"answer_type": "human",
"recording_url": "https://rounded-twilio.s3.amazonaws.com/calls/test?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=TEST%2F20250401%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-Date=20250401T163838Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=046d4f7da8a7f2343875872593cbaa94a7836c42e1fd669e91fc2af9cf2b43be",
"secure_recording_url": true
},
"message": "Call retrieved successfully",
"error": {
"details": [
{
"field": "email",
"message": "Invalid email format"
}
],
"message": "An error occurred while processing your request",
"status": 400,
"type": "generic_error"
},
"status": 200
}Get detailed information about a specific call, including its transcript and variable values. The call can be either a phone call or a web call. The transcript can contain user/agent messages, tool invocations, or tool responses.
curl --request GET \
--url https://api.callrounded.com/v1/calls/{call_id} \
--header 'X-Api-Key: <api-key>'{
"data": {
"id": "<string>",
"status": "created",
"from_number": "<string>",
"to_number": "<string>",
"direction": "inbound",
"organization_id": "123e4567-e89b-12d3-a456-426614174001",
"type": "phone_call",
"agent_id": "123e4567-e89b-12d3-a456-426614174002",
"metadata": {
"source": "marketing_campaign",
"utm_medium": "email"
},
"start_time": "2023-06-15T14:30:00Z",
"end_time": "2023-06-15T14:35:00Z",
"duration_seconds": 300,
"redirect_duration_seconds": 5,
"cost": 0.15,
"transcript_string": "Agent: Hello, how can I help you today?\nUser: I'd like to check on my order status.",
"transcript": [
{
"role": "user",
"start_time": "2023-11-07T05:31:56Z",
"content": "<string>"
}
],
"variable_values": [
{
"name": "<string>",
"type": "string",
"value": "John Doe",
"timestamp": "2023-06-15T14:33:12Z"
}
],
"answer_type": "human",
"recording_url": "https://rounded-twilio.s3.amazonaws.com/calls/test?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=TEST%2F20250401%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-Date=20250401T163838Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=046d4f7da8a7f2343875872593cbaa94a7836c42e1fd669e91fc2af9cf2b43be",
"secure_recording_url": true
},
"message": "Call retrieved successfully",
"error": {
"details": [
{
"field": "email",
"message": "Invalid email format"
}
],
"message": "An error occurred while processing your request",
"status": 400,
"type": "generic_error"
},
"status": 200
}The API Key created in Rounded Studio.
Successfully retrieved call information
The call data retrieved.
Show child attributes
Unique identifier for the call.
Current status of the call.
Possible values:
created - Call has been created but not yet queued.queued - Call is waiting to be processed.dequeued - Call has been dequeued and is waiting to be initiated.initiated - Call has been initiated but not yet connected.ringing - Phone is ringing at the destination.connected - Call has been answered and is connected.in_progress - Call is actively in progress with conversation.completed - Call has ended successfully.redirection_completed - Call was redirected and completed.busy - Destination was busy when called.no_answer - Call was not answered by the destination (no human answer).canceled - Call was canceled before connection.failed - Call failed due to technical issues.created, queued, dequeued, initiated, ringing, connected, in_progress, completed, redirection_completed, busy, no_answer, canceled, failed Phone number that initiated the call.
Phone number that received the call.
Direction of the call (inbound or outbound)
inbound, outbound ID of the organization the call belongs to.
"123e4567-e89b-12d3-a456-426614174001"
Indicates this is a phone call.
phone_call, web_call ID of the agent handling the call.
"123e4567-e89b-12d3-a456-426614174002"
Additional metadata associated with the call. If an error occurs while processing the call, the metadata will contain the error message.
{
"source": "marketing_campaign",
"utm_medium": "email"
}Timestamp when the call started.
"2023-06-15T14:30:00Z"
Timestamp when the call ended.
"2023-06-15T14:35:00Z"
Duration of the call in seconds.
300
Duration of call redirection in seconds.
5
Estimation of the cost of the call in EUR.
0.15
Plain text representation of the call transcript.
"Agent: Hello, how can I help you today?\nUser: I'd like to check on my order status."
Structured representation of the call transcript with messages and tool calls.
Response schema for regular message content.
Show child attributes
Role of the entity sending the message (user, agent, tool, etc.).
user, agent, tool, task_switch Timestamp when the message was created.
The actual text content of the message.
Values of variables collected during the call.
Show child attributes
Name of the variable.
Data type of the variable.
string, boolean, number, datetime, json The actual value of the variable as a string.
"John Doe"
When the variable was last updated.
"2023-06-15T14:33:12Z"
Type of answer received from the destination.
Possible values:
human - Call was answered by a human.machine - Call was answered by a machine.unknown - Answer type could not be determined.human, machine, unknown "human"
If agent has enabled securing recording urls, this will be a signed URL of the call recording with 1 hour expiration time, otherwise it will be a non-expiring URL.
"https://rounded-twilio.s3.amazonaws.com/calls/test?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=TEST%2F20250401%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-Date=20250401T163838Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=046d4f7da8a7f2343875872593cbaa94a7836c42e1fd669e91fc2af9cf2b43be"
Whether the recording URL should expire or not, the value is determined by the agent's settings when the call was created.
Response message indicating the result of the operation.
{
"details": [
{
"field": "email",
"message": "Invalid email format"
}
],
"message": "An error occurred while processing your request",
"status": 400,
"type": "generic_error"
}HTTP status code of the response.