Get a call
GET
/v1/calls/{id}
const url = 'https://api.orvoca.com/v1/calls/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.orvoca.com/v1/calls/example \ --header 'Authorization: Bearer <token>'One call with its transcript (redacted before storage), summary and extracted fields.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”The call
Media typeapplication/json
object
id
required
string
direction
required
string
from
required
string
to
required
string
status
required
string
outcome
required
string | null
agent
required
object
id
required
string
name
required
string | null
provider
required
Which provider carried the call
string | null
provider_label
required
string | null
connection
required
object
id
required
string
name
required
string | null
started_at
required
string
ended_at
required
string | null
duration_s
required
number | null
billed_blocks
required
30-second blocks billed
number | null
cost
required
Paise
object
amount
required
number
currency
required
string
hangup_cause
required
string | null
language
required
string | null
sentiment
required
string | null
campaign_id
required
string | null
summary
required
One or two sentences, once the call is written up
string | null
test
required
Placed with a test API key. Test keys see only test calls; everyone else never sees them
boolean
summary
required
string | null
provider_call_id
required
string | null
extracted
actions
required
Tools the agent used during the call, in order
Array<object>
object
name
required
string
ok
required
boolean
at
required
string | null
has_recording
required
boolean
transcript
required
Array<object>
object
seq
required
number
speaker
required
string
text
required
string
at_ms
required
From the start of the call
number
latency_ms
required
number | null
Example
{ "direction": "inbound", "status": "queued", "outcome": "booked", "provider": "plivo", "cost": { "currency": "INR" }, "transcript": [ { "speaker": "caller" } ]}Invalid request
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
param
string
request_id
required
string
Example generated
{ "error": { "code": "example", "message": "example", "param": "example", "request_id": "example" }}Not signed in or bad API key
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
param
string
request_id
required
string
Example generated
{ "error": { "code": "example", "message": "example", "param": "example", "request_id": "example" }}Not allowed
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
param
string
request_id
required
string
Example generated
{ "error": { "code": "example", "message": "example", "param": "example", "request_id": "example" }}Not found
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
param
string
request_id
required
string
Example generated
{ "error": { "code": "example", "message": "example", "param": "example", "request_id": "example" }}