Skip to navigation

Add Rule

Add a behavioral rule to the named receptionist.

Path parameters

agent_idstringRequired

ID of the receptionist. List them with GET /v1/reception/customer-facing-agents.

Headers

xi-api-keystringOptional
xi-workspace-idstringRequired
The customer workspace a reseller's API key acts on.

Request

This endpoint expects an object.
titlestringRequired
Title of the rule.
descriptionstringRequired
What the agent should do, in detail.
priorityenumOptionalDefaults to strict

strict: the agent must always follow the rule; suggestion: a guideline.

Allowed values:

Response

Successful Response
titlestring
Title of the rule.
descriptionstring
What the agent should do, in detail.
priorityenumOptionalDefaults to strict

strict: the agent must always follow the rule; suggestion: a guideline.

Allowed values:
idstringOptional
ID of the rule.
created_at_unixintegerOptional
When the rule was created, as a Unix timestamp in seconds.

Errors

422
Unprocessable Entity Error