Skip to main content
PATCH
Update a phone number

Autorizaciones

Authorization
string
header
requerido

A Bearer token. Create keys in the portal under Settings > API keys (https://app.ryvo.so/developers). The token has the form ryvo_live_<64 hex characters> and is shown once.

Header: Authorization: Bearer ryvo_live_...

Parámetros de ruta

id
string<uuid>
requerido

The phone number uuid.

Cuerpo

application/json

Send at least one of label or agent_id.

label
string
Required string length: 1 - 80
agent_id
string<uuid> | null

An ElevenLabs-runtime agent of yours, or null to unassign.

Respuesta

The phone number after the update.

id
string<uuid>
requerido
Ejemplo:

"1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d"

phone_number
string
requerido
Ejemplo:

"+5215555550100"

label
string | null
requerido
Ejemplo:

"Main line"

provider
string
requerido
Ejemplo:

"twilio"

runtime
enum<string>
requerido

engine is the Ryvo runtime; elevenlabs is the legacy voice runtime.

Opciones disponibles:
engine,
elevenlabs
Ejemplo:

"engine"

agent
object | null
requerido
created_at
string<date-time>
requerido
updated_at
string<date-time>
requerido