Skip to content
vocapable.Docs

Decline a receptionist transfer ringing in your app (the AI takes a message)

POST
/v1/mobile/workspace/handoffs/{handoff_id}/decline
curl --request POST \
--url https://api.vocapable.com/v1/mobile/workspace/handoffs/example/decline \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "then": "take_message" }'
handoff_id
required
Handoff Id
string
Media typeapplication/json
LiveHandoffDecline

Decline the transfer ringing in your app. The caller goes back to the receptionist, which offers to take a message (take_message); your personal phone is not rung.

object
then
Then
string
default: take_message
Allowed value: take_message

Successful Response

Media typeapplication/json
LiveHandoffOffer

A receptionist transfer ringing for you, as the server sees it (PRD E3-R11/E4-R7).

state: ringing_app (your app is ringing), ringing_phone (the app was not answered; your verified phone is being rung), connecting (you answered; the caller is being moved to you), connected (the carrier confirmed the caller joined you), declined (you declined; the receptionist offers the caller to take a message), missed (nobody answered), ended, reassigned (E4-R7: the caller was sent to a teammate before you answered; your ring is cancelled).

object
handoff_id
required
Handoff Id
string
state
required
State
string
Allowed values: ringing_app ringing_phone connecting connected declined missed ended reassigned
yours
required
Yours
boolean
summary
required
Any of:
string
observed_at
required
Observed At
string format: date-time
can_redirect
required
Can Redirect
boolean
redirected_to
required
Any of:
string
workspace_call_id
Any of:
string
Example
{
"state": "ringing_app"
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}