cURL
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>" }
Release an owned phone number. Phone numbers attached to deployed agents cannot be released. You must first pause your agent.
Bearer token authentication. Use your API key as the bearer token. Format: Authorization: Bearer
Exact phone number to select from search results (e.g., '+15551234567')
Provider: 'twilio' or 'telnyx'
Successful Response