Saltar a la navegación

Update Procedure

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

Parámetros de ruta

agent_idstringRequerido
procedure_idstringRequerido

Encabezados

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

Solicitud

This endpoint expects an object.
namestringRequerido
Name of the procedure.
triggerstringRequerido
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'.
bodystringOpcional<=40000 charactersValor predeterminado:

Step-by-step instructions, as markdown.

Respuesta

Respuesta correcta.
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'.
bodystringOpcional<=40000 charactersValor predeterminado:

Step-by-step instructions, as markdown.

idstringOpcional
created_at_unixintegerOpcional

Unix timestamp (seconds since epoch)

source_keystring or nullOpcional

Errores

422
Unprocessable Entity Error