Calls
Make a call
Initiate an outbound AI voice call via the Nedzo REST API. Specify the agent, phone number, and optional metadata to start an automated conversation.
POST
UUID of the agent to use for the call
Type of call target. Valid values:
contact, phoneNumberCustom variables to pass to the assistant. These override contact field values.
- Contact
- Phone Number
UUID of the contact to call
The agent must have a phone number assigned in Agent Builder > Settings before you can make outbound calls. Calls fail with
400 Bad Request if the agent has no number connected — Nedzo never falls back to another workspace number, since that would surface the wrong caller ID to the recipient.Errors
| Status | Detail | Cause |
|---|---|---|
400 | Agent does not have a phone number assigned. Please assign a number in Agent Builder > Settings before making outbound calls. | The agent has no phone number connected. |
400 | Phone number is not synced to voice engine. | The agent’s assigned number hasn’t finished syncing to the voice engine yet. |
400 | Phone number is not active. | The agent’s assigned number is in pending or another non-active status. |
400 | Invalid call type | type is something other than contact or phoneNumber. |
