Add Procedure
Add a procedure (SOP) to the named receptionist.
Parametry ścieżki
agent_id
Nagłówki
xi-api-key
xi-workspace-id
The customer workspace a reseller's API key acts on.
Żądanie
This endpoint expects an object.
name
Name of the procedure.
trigger
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'.
body
Step-by-step instructions, as markdown.
Odpowiedź
Pomyślna odpowiedź
name
Name of the procedure.
trigger
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'.
body
Step-by-step instructions, as markdown.
id
created_at_unix
Unix timestamp (seconds since epoch)
source_key
Błędy
422
Unprocessable Entity Error