Have the AI leave the voicemail
The AI waits for the beep, says message (or one it writes from the context) in voice, and hangs up; releaseRep (default true) takes the rep off the call at once, and releaseRep: false keeps the rep listening with their microphone off the call. Only when AI voicemail is switched on for the workspace (403 ai_voicemail_off); 409 ai_not_in_call when the AI has not joined yet, not_outbound on a callback, call_over once it ended.
Needs the calls:write scope. A key without it gets 403 insufficient_scope. Routes not in this reference cannot be called with a key at all (403 not_available_to_api_keys).
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
A voice id from GET /v1/voices, for this voicemail only; default the rep’s, else the workspace’s, else Blake.
Where the prospect’s consent to an AI voice came from. AI voices are “artificial voices” under the TCPA (FCC declaratory ruling, February 2024): get prior express written consent first, and pass it here so the call’s record shows where it came from. Kept on the call (voicemail.consent) and in the audit log.