Vai alla navigazione

Add Procedure

Add a procedure (SOP) to the named receptionist.

Parametri di percorso

agent_idstringObbligatorio

Header

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

Richiesta

This endpoint expects an object.
namestringObbligatorio
Name of the procedure.
triggerstringObbligatorio
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'.
bodystringOpzionale<=40000 charactersPredefinito a

Step-by-step instructions, as markdown.

Risposta

Risposta riuscita
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'.
bodystringOpzionale<=40000 charactersPredefinito a

Step-by-step instructions, as markdown.

idstringOpzionale
created_at_unixintegerOpzionale

Unix timestamp (seconds since epoch)

source_keystring or nullOpzionale

Errori

422
Unprocessable Entity Error