Saltar a la navegación

Add Procedure

Add a procedure (SOP) to the named receptionist.

Parámetros de ruta

agent_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