Vai alla navigazione

Add Rule

Add a behavioral rule to the named receptionist.

Parametri di percorso

agent_idstringObbligatorio

Header

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

Richiesta

This endpoint expects an object.
titlestringObbligatorio
Title of the rule.
descriptionstringObbligatorio
What the agent should do, in detail.
priorityenumOpzionalePredefinito a strict

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

Valori consentiti:

Risposta

Risposta riuscita
titlestring
Title of the rule.
descriptionstring
What the agent should do, in detail.
priorityenumOpzionalePredefinito a strict

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

Valori consentiti:
idstringOpzionale
created_at_unixintegerOpzionale

Unix timestamp (seconds since epoch)

Errori

422
Unprocessable Entity Error