Skip to main content
PATCH

Authorizations

Authorization
string
header
required

A person's session: Authorization: Bearer <ID token>, the ID token the Sendblue sign-in issues. The person acts in their company's root account with the role of their seat.

Path Parameters

call_id
string
required

Body

application/json
status
enum<string>
Available options:
canceled,
completed
twiml
string
Maximum string length: 4000
url
string<uri>
method
enum<string>
Available options:
GET,
POST

Response

The call after the change was recorded.

id
string
required
direction
enum<string>
required

outbound_dial is a leg a <Dial> created; its parent_call_id names the call that dialed it.

Available options:
inbound,
outbound_api,
outbound_dial
status
enum<string> | null
required

Null while the carrier's evidence about the call is contradictory.

Available options:
queued,
ringing,
in_progress,
completed,
busy,
failed,
no_answer,
canceled
to
string
required
from
string
required
parent_call_id
string | null
required
answered_by
string | null
required

The answering-machine detection verdict, when detection was requested.

started_at
string<date-time> | null
required
ended_at
string<date-time> | null
required
duration_seconds
integer | null
required
price
object | null
required
Example:
created_at
string<date-time>
required

RFC 3339, UTC.

updated_at
string<date-time>
required

RFC 3339, UTC.