Skip to main content
PATCH
Update session status

Authorizations

X-API-KEY
string
header
required

Path Parameters

session_id
string
required

The session's session_id.

Body

application/json
status
enum<string>
required

The status to set. A terminal current status is frozen and cannot be regressed to active.

Available options:
active,
ended,
failed,
expired

Response

The session after the status update.

id
string
session_id
string
customer_id
string
user_id
string | null
user_name
string | null
agent_id
string
room_name
string | null
participant_identity
string | null
participant_name
string | null
dispatch_id
string | null
livekit_url
string | null
status
enum<string>
Available options:
active,
ended,
failed,
expired
qualification_status
enum<string> | null
Available options:
pending,
qualified,
not_qualified,
inconclusive
sentiment
enum<string> | null
Available options:
positive,
negative,
neutral
metadata
object
call_type
string

web, outbound_phone, or inbound_phone.

origin
enum<string> | null
Available options:
dashboard,
api,
campaign,
inbound,
test
call_id
string | null
started_at
string<date-time>
ended_at
string<date-time> | null
created_at
string<date-time>
updated_at
string<date-time>