Ir para a navegação

Update Receptionist

Update a receptionist’s display name, config and/or widget appearance.

Parâmetros de caminho

agent_idstringObrigatório

Cabeçalhos

xi-api-keystringOpcional
xi-workspace-idstring or nullOpcional
The customer workspace a reseller's API key acts on.

Solicitação

This endpoint expects an object.
configobject or nullOpcional
Rules, procedures and transfer rules are changed through their own endpoints, not here.
namestring or nullOpcional
widgetobject or nullOpcional
How the website widget looks. A null label follows the receptionist's language.

Resposta

Resposta bem-sucedida

is_activebooleanSomente leitura
agent_idstringOpcionalPadrão é
ID of the ElevenLabs agent behind this receptionist.
configobjectOpcional
deactivated_at_unixinteger or nullOpcional
Unix timestamp when this receptionist was deactivated. None when active.
deactivation_reasonenum or nullOpcional
Why this receptionist was deactivated. None when active.
Valores permitidos:
namestringOpcionalPadrão é Receptionist
Display name of the receptionist.
agent_existsbooleanOpcionalPadrão é true

False when the receptionist’s underlying agent was deleted; it cannot take calls until it is set up again.

is_transfer_allowedbooleanOpcionalPadrão é false
Whether this receptionist can configure and use transfer rules.
widgetobject or nullOpcional
How the website widget looks. Null when the agent is missing. Unset labels follow the receptionist's language.

Erros

422
Unprocessable Entity Error