Hoppa till navigering

Add Rule

Add a behavioral rule to the named receptionist.

Sökvägsparametrar

agent_idstringObligatorisk

Headers

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

Förfrågan

This endpoint expects an object.
titlestringObligatorisk
Title of the rule.
descriptionstringObligatorisk
What the agent should do, in detail.
priorityenumValfriStandard är strict

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

Tillåtna värden:

Svar

Lyckat svar
titlestring
Title of the rule.
descriptionstring
What the agent should do, in detail.
priorityenumValfriStandard är strict

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

Tillåtna värden:
idstringValfri
created_at_unixintegerValfri

Unix timestamp (seconds since epoch)

Fel

422
Unprocessable Entity Error