Set or clear one number's agent voice
Choose the Cartesia voice the conversational agent speaks in for calls placed from one of your DIDs. Send a canonical UUID to set it, or null to clear it and return the number to the platform default voice. voice_id is REQUIRED in the body: omitting the key is a 400, not a clear, so a mistyped field name can never silently reset a number. The id is validated for SHAPE only, we do not keep a list of valid Cartesia voice ids, so any well-formed UUID is accepted and it is yours to confirm that it names a voice on your account. A malformed id is a 400 that names the accepted form; it is never a silent no-op. from_number must be a Telnyx DID owned by your organization, else 403. Any field other than from_number and voice_id is a 400 that names the right route: the agent SPOKEN LINES live at PATCH /voice/bridge/numbers/instructions, and sending "instructions" here used to be silently discarded. Requires the voice:bridge scope.
Request
- Base URL: https://corebee.ai/api/v1
- URL: https://corebee.ai/api/v1/voice/bridge/numbers
- Auth: HTTP bearer
Request body
Example request
{
"from_number": "+17635550123",
"voice_id": "5c42302c-194b-4d0c-ba1a-8cb485c84ab9"
}Response
Updated
Example response
{
"data": {
"from_number": "+17635550123",
"voice_id": "5c42302c-194b-4d0c-ba1a-8cb485c84ab9"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.