Skip to main content
POST
End a live call

Authorizations

Authorization
string
header
required

Dairo API key, e.g. dairo_test_... or dairo_live_...

Path Parameters

id
string<uuid>
required

Response

Success

object
string
required
Allowed value: "phone_call"
id
string<uuid>
required
direction
enum<string>
required
Available options:
outbound,
inbound
status
enum<string>
required

Terminal: completed, failed, no_answer, busy, canceled.

Available options:
queued,
initiating,
ringing,
in_progress,
completed,
failed,
no_answer,
busy,
canceled
fromNumber
string
required
toNumber
string
required
createdAt
string<date-time>
required
instructions
string | null
greeting
string | null
voice
string | null
model
string | null
language
string | null
backgroundAudio
enum<string> | null
Available options:
silence,
office,
none,
null
maxDurationSeconds
integer | null
queuedAt
string<date-time> | null
startedAt
string<date-time> | null
answeredAt
string<date-time> | null
endedAt
string<date-time> | null
durationSeconds
integer | null
hangupCause
string | null
answeredBy
string | null

human or machine, from answering-machine detection.

summary
string | null
costUsd
number | null

Billed per started minute.

error
string | null
webhookUrl
string | null
metadata
object
idempotencyKey
string | null