Ir para a navegação

Add Rule

Add a behavioral rule to the named receptionist.

Parâmetros de caminho

agent_idstringObrigatório

Cabeçalhos

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

Solicitação

This endpoint expects an object.
titlestringObrigatório
Title of the rule.
descriptionstringObrigatório
What the agent should do, in detail.
priorityenumOpcionalPadrão é strict

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

Valores permitidos:

Resposta

Resposta bem-sucedida

titlestring
Title of the rule.
descriptionstring
What the agent should do, in detail.
priorityenumOpcionalPadrão é strict

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

Valores permitidos:
idstringOpcional
created_at_unixintegerOpcional

Unix timestamp (seconds since epoch)

Erros

422
Unprocessable Entity Error