Przejdź do nawigacji

Activate Receptionist

Re-activate a deactivated receptionist. Fails with quota_exceeded when the plan has no free receptionist slot.

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.

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