Hoppa till navigering

Update Receptionist

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

Sökvägsparametrar

agent_idstringObligatorisk

Headers

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

Förfrågan

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

Svar

Lyckat svar
is_activebooleanSkrivskyddad
agent_idstringValfriStandard är
ID of the ElevenLabs agent behind this receptionist.
configobjectValfri
deactivated_at_unixinteger or nullValfri
Unix timestamp when this receptionist was deactivated. None when active.
deactivation_reasonenum or nullValfri
Why this receptionist was deactivated. None when active.
Tillåtna värden:
namestringValfriStandard är Receptionist
Display name of the receptionist.
agent_existsbooleanValfriStandard är true

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

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

Fel

422
Unprocessable Entity Error