Skip to main content
POST
Cancel a phone task

Authorizations

Authorization
string
header
required

A workspace API key, sent as Authorization: Bearer sempera_sk_... Each operation names the one scope it needs. Scopes, key kinds and roles are in the Authentication guide.

Path Parameters

task_id
string<uuid>
required

Response

OK

id
string<uuid>
required
object
any
required
state
enum<string>
required
Available options:
awaiting_approval,
reserved,
dispatching,
ringing,
connected,
completed,
failed,
cancelled,
reconciling
direction
string
required
to
string
client_id
string | null
max_minutes
integer
permitted_actions
string[]
spend_bound_cents
integer
reserved_minutes
integer
billed_minutes
integer | null
agent_version_id
string | null
call_id
string | null
provider_call_id
string | null
error
string | null
approval
object
result
object | null