Update Procedure
Replace an existing procedure on the named receptionist. Send every field: an omitted body resets to empty.
Path parameters
agent_id
ID of the receptionist. List them with GET /v1/reception/customer-facing-agents.
procedure_id
ID of the procedure. Returned when you add one; list them with GET /v1/reception/customer-facing-agents/{agent_id}/procedures.
Headers
xi-api-key
xi-workspace-id
The customer workspace a reseller's API key acts on.
Request
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.
Response
Successful Response
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
ID of the procedure.
created_at_unix
When the procedure was created, as a Unix timestamp in seconds.
source_key
Set when the procedure was copied from an integration’s template; null for procedures you create.
Errors
422
Unprocessable Entity Error