Get Call
curl --request GET \
--url https://api.rapidcall.ai/api/calls/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rapidcall.ai/api/calls/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rapidcall.ai/api/calls/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rapidcall.ai/api/calls/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rapidcall.ai/api/calls/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rapidcall.ai/api/calls/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rapidcall.ai/api/calls/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyCalls
Get Call
Get detailed information about a specific call
GET
/
api
/
calls
/
{id}
Get Call
curl --request GET \
--url https://api.rapidcall.ai/api/calls/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rapidcall.ai/api/calls/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rapidcall.ai/api/calls/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rapidcall.ai/api/calls/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rapidcall.ai/api/calls/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rapidcall.ai/api/calls/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rapidcall.ai/api/calls/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodystring
required
The call ID. Example:
call_abc123Request
curl -H "Authorization: Bearer YOUR_TOKEN" \
https://api.rapidcall.ai/api/calls/call_abc123
Response
{
"call": {
"id": "call_abc123",
"workspaceId": "ws_xyz",
"agentId": "agent_xyz",
"agentName": "Reception Bot",
"to": "+15559876543",
"roomName": "room_abc123",
"startedAt": 1705312200000,
"endedAt": 1705312345000,
"durationSec": 145,
"outcome": "completed",
"costUsd": 0.23,
"transcript": [
{ "role": "agent", "text": "Thank you for calling Acme Dental, how can I help?", "timestamp": 0.0 },
{ "role": "user", "text": "I'd like to book an appointment", "timestamp": 3.2 },
{ "role": "agent", "text": "Of course! Let me check our availability...", "timestamp": 5.1 }
],
"recording": {
"kind": "egress_s3",
"status": "ready",
"durationSec": 145
},
"metrics": {
"normalized": {
"source": "inbound",
"direction": "inbound"
}
},
"analysisStatus": "completed",
"postCallExtractionResults": [],
"createdAt": "2025-01-15T10:30:00Z",
"updatedAt": "2025-01-15T10:32:25Z"
}
}
outcomevalues include:"completed","no_answer","voicemail","call_transfer","in_progress", etc.recordingisnullif no recording exists. When present, checkrecording.status === "ready"before fetching.transcriptis an array of message objects withrole("agent"or"user") andtext.
