Przejdź do nawigacji

Update Receptionist

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

Parametry ścieżki

agent_idstringWymagany

Nagłówki

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

Żądanie

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

Odpowiedź

Pomyślna odpowiedź

is_activebooleanTylko do odczytu
agent_idstringOpcjonalnyDomyślnie
ID of the ElevenLabs agent behind this receptionist.
configobjectOpcjonalny
deactivated_at_unixinteger or nullOpcjonalny
Unix timestamp when this receptionist was deactivated. None when active.
deactivation_reasonenum or nullOpcjonalny
Why this receptionist was deactivated. None when active.
Dozwolone wartości:
namestringOpcjonalnyDomyślnie Receptionist
Display name of the receptionist.
agent_existsbooleanOpcjonalnyDomyślnie true

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

is_transfer_allowedbooleanOpcjonalnyDomyślnie false
Whether this receptionist can configure and use transfer rules.
widgetobject or nullOpcjonalny
How the website widget looks. Null when the agent is missing. Unset labels follow the receptionist's language.

Błędy

422
Unprocessable Entity Error