Saltar a la navegación

Add Rule

Add a behavioral rule to the named receptionist.

Parámetros de ruta

agent_idstringRequerido

Encabezados

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

Solicitud

This endpoint expects an object.
titlestringRequerido
Title of the rule.
descriptionstringRequerido
What the agent should do, in detail.
priorityenumOpcionalValor predeterminado: strict

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

Valores permitidos:

Respuesta

Respuesta correcta.
titlestring
Title of the rule.
descriptionstring
What the agent should do, in detail.
priorityenumOpcionalValor predeterminado: strict

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

Valores permitidos:
idstringOpcional
created_at_unixintegerOpcional

Unix timestamp (seconds since epoch)

Errores

422
Unprocessable Entity Error