Get Call Details
Retrieves detailed information about a specific call using its unique identifier. Use the send_analysis parameter to include analysis data in the response.
GET
/
calling
/
call-details
Get Call Details
curl --request GET \
--url https://prod-api.revenueable.ai/ca/api/v0/calling/call-details \
--header 'X-API-KEY: <x-api-key>'import requests
url = "https://prod-api.revenueable.ai/ca/api/v0/calling/call-details"
headers = {"X-API-KEY": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<x-api-key>'}};
fetch('https://prod-api.revenueable.ai/ca/api/v0/calling/call-details', 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://prod-api.revenueable.ai/ca/api/v0/calling/call-details",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <x-api-key>"
],
]);
$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://prod-api.revenueable.ai/ca/api/v0/calling/call-details"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://prod-api.revenueable.ai/ca/api/v0/calling/call-details")
.header("X-API-KEY", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://prod-api.revenueable.ai/ca/api/v0/calling/call-details")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"call_direction": "outbound",
"call_status": "completed",
"call_sub_status": "ACCEPTED",
"from_number": "+1234567890",
"to_number": "+0987654321",
"callee_name": "John Doe",
"agent_id": "agent-123-456",
"initiation_time": "2024-01-15T14:30:00Z",
"recording_url": "https://example.com/recordings/call-123.mp3",
"transcription_url": [
{
"bot": "Hello, how can I help you today?"
},
{
"user": "I need information about my order"
},
{
"bot": "I'd be happy to help you with that. Can you provide your order number?"
},
{
"user": "Sure, it's ORDER-12345"
}
]
}
}Headers
(Required) Your Revenueable AI API key.
Example:
"7251cb4b-3373-43a4-844c-b27a1d45e0c9"
Query Parameters
(Required) The unique identifier (UUID) of the call.
Example:
"550e8400-e29b-41d4-a716-446655440000"
(Optional) Whether to include analysis data (platform_analysis and client_analysis) in the response.
Example:
true
Previous
Terminate All Calls by Agent IDTerminates all active (registered/retry) calls associated with a specific agent across all campaigns.
Next
⌘I
Get Call Details
curl --request GET \
--url https://prod-api.revenueable.ai/ca/api/v0/calling/call-details \
--header 'X-API-KEY: <x-api-key>'import requests
url = "https://prod-api.revenueable.ai/ca/api/v0/calling/call-details"
headers = {"X-API-KEY": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<x-api-key>'}};
fetch('https://prod-api.revenueable.ai/ca/api/v0/calling/call-details', 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://prod-api.revenueable.ai/ca/api/v0/calling/call-details",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <x-api-key>"
],
]);
$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://prod-api.revenueable.ai/ca/api/v0/calling/call-details"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://prod-api.revenueable.ai/ca/api/v0/calling/call-details")
.header("X-API-KEY", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://prod-api.revenueable.ai/ca/api/v0/calling/call-details")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"call_direction": "outbound",
"call_status": "completed",
"call_sub_status": "ACCEPTED",
"from_number": "+1234567890",
"to_number": "+0987654321",
"callee_name": "John Doe",
"agent_id": "agent-123-456",
"initiation_time": "2024-01-15T14:30:00Z",
"recording_url": "https://example.com/recordings/call-123.mp3",
"transcription_url": [
{
"bot": "Hello, how can I help you today?"
},
{
"user": "I need information about my order"
},
{
"bot": "I'd be happy to help you with that. Can you provide your order number?"
},
{
"user": "Sure, it's ORDER-12345"
}
]
}
}