Enable phone calling on a number
Changed onTurns on regular phone (PSTN) calling for one of your numbers and configures how inbound calls are handled. Inbound calls route to forwardTo: your own AI voice agent (Vapi/Retell), a phone, or a SIP endpoint. Optional extras: voicemail, business-hours windows, an IVR menu, a caller blocklist, recording, and transcription. A number can also be voice-enabled with no forward (outbound-only).
Idempotent, and doubles as the settings update: only fields present in the body are written. Omitting forwardTo preserves the current destination; sending an empty string clears it.
Request
- Base URL: https://zernio.com/api
- URL: https://zernio.com/api/v1/phone-numbers/{id}/voice
- Auth: HTTP bearer
Path parameters
Phone number record ID (from GET /v1/phone-numbers).
Request body
Response
Voice enabled; the full effective voice config is echoed back.
Changes
- info
added the non-success response with the status
- info
- warning
added the new
accountenum value to the/response property for the response status
- warning