Hoppa till navigering

Update Procedure

Replace an existing procedure on the named receptionist. Send every field: an omitted body resets to empty.

Sökvägsparametrar

agent_idstringObligatorisk
procedure_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.
namestringObligatorisk
Name of the procedure.
triggerstringObligatorisk
When the receptionist should run the procedure, in natural language. The receptionist matches caller requests against it, e.g. 'When the caller wants to book an appointment'.
bodystringValfri<=40000 charactersStandard är

Step-by-step instructions, as markdown.

Svar

Lyckat svar
namestring
Name of the procedure.
triggerstring
When the receptionist should run the procedure, in natural language. The receptionist matches caller requests against it, e.g. 'When the caller wants to book an appointment'.
bodystringValfri<=40000 charactersStandard är

Step-by-step instructions, as markdown.

idstringValfri
created_at_unixintegerValfri

Unix timestamp (seconds since epoch)

source_keystring or nullValfri

Fel

422
Unprocessable Entity Error