Passer à la navigation

Add Rule

Add a behavioral rule to the named receptionist.

Paramètres de chemin

agent_idstringRequis

En-têtes

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

Requête

This endpoint expects an object.
titlestringRequis
Title of the rule.
descriptionstringRequis
What the agent should do, in detail.
priorityenumOptionnelPar défaut strict

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

Valeurs autorisées:

Réponse

Réponse réussie

titlestring
Title of the rule.
descriptionstring
What the agent should do, in detail.
priorityenumOptionnelPar défaut strict

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

Valeurs autorisées:
idstringOptionnel
created_at_unixintegerOptionnel

Unix timestamp (seconds since epoch)

Erreurs

422
Unprocessable Entity Error