Set Inbound Agent API
Configure Bolna Voice AI agent to handle inbound calls automatically by associating it with a specific phone number using Bolna APIs.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Agent id which will handle inbound calls. Used as default if no IVR option-level agent is set.
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
Telephone number id from Phone number list API
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"123e4567-e89b-12d3-a456-426614174000"
Allow this phone number to be linked to multiple phone numbers for the same agent. Only applicable for Plivo phone numbers.
true
Optional IVR configuration for Plivo phone numbers. See IVR documentation for details.
Response
providers status response
Message displaying the voice URL
"https://api.bolna.ai/inbound_call?agent_id=3c90c3cc-0d44-4b50-8888-8dd25736052a&user_id=28f9c34b-8eb0-4af5-8689-c2f6c4daec22"
The ID of the phone number
^[0-9a-fA-F]{32}$"3c90c3cc0d444b5088888dd25736052a"

