cURL
curl --request POST \ --url https://api.oneinbox.ai/v1/phone-numbers \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "phone_number": "+14155551234", "agent_id": "<string>", "friendly_name": "<string>", "credential_id": "<string>", "provider_config": { "trunk_address": "<string>", "auth_username": "<string>", "auth_password": "<string>" } } '
Documentation IndexFetch the complete documentation index at: https://docs.oneinbox.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.oneinbox.ai/llms.txt
Use this file to discover all available pages before exploring further.
API key from the OneInbox dashboard (API Keys → Create)
"+14155551234"
twilio
Telephony integration ID (alternative to inline provider_config)
Show child attributes
Created