Skip to main content
POST
/
api
/
v1
/
agent
/
release-phone-number
Release Phone Number
curl --request POST \
  --url https://dev.voice.ai/api/v1/agent/release-phone-number \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone_number": "<string>",
  "provider": "twilio"
}
'
{
  "phone_number": "<string>",
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your API key as the bearer token. Format: Authorization: Bearer

Body

application/json
phone_number
string
required

Exact phone number to select from search results (e.g., '+15551234567')

provider
string
default:twilio

Provider: 'twilio' or 'telnyx'

Response

Successful Response

phone_number
string
required
status
string
required