Skip to main content
POST
/
inbound
/
unlink
cURL
curl --request POST \
  --url https://api.bolna.ai/inbound/unlink \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "phone_number_id": "123e4567-e89b-12d3-a456-426614174000"
}'
{
  "url": null,
  "phone_number": "+19876543210",
  "id": "3c90c3cc0d444b5088888dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
phone_number_id
string<uuid>
required

Telephone number id from Phone number list API

Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

Unlink inbound agent response

url
string

Message displaying the voice URL. This will be null if the unlinking is successful.

Example:

null

phone_number
string<string>

Phone number in (in E.164 format)

Example:

"+19876543210"

id
string

The ID of the phone number

Example:

"3c90c3cc0d444b5088888dd25736052a"

I