Naar navigatie springen

Update Receptionist

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

Padparameters

agent_idstringVerplicht

Headers

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

Verzoek

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

Response

Geslaagde response
is_activebooleanAlleen-lezen
agent_idstringOptioneelStandaard
ID of the ElevenLabs agent behind this receptionist.
configobjectOptioneel
deactivated_at_unixinteger or nullOptioneel
Unix timestamp when this receptionist was deactivated. None when active.
deactivation_reasonenum or nullOptioneel
Why this receptionist was deactivated. None when active.
Toegestane waarden:
namestringOptioneelStandaard Receptionist
Display name of the receptionist.
agent_existsbooleanOptioneelStandaard true

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

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

Fouten

422
Unprocessable Entity Error