Ir para a navegação

Add Procedure

Add a procedure (SOP) 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.
namestringObrigatório
Name of the procedure.
triggerstringObrigatório
When the receptionist should run the procedure, in natural language. The receptionist matches caller requests against it, e.g. 'When the caller wants to book an appointment'.
bodystringOpcional<=40000 charactersPadrão é

Step-by-step instructions, as markdown.

Resposta

Resposta bem-sucedida

namestring
Name of the procedure.
triggerstring
When the receptionist should run the procedure, in natural language. The receptionist matches caller requests against it, e.g. 'When the caller wants to book an appointment'.
bodystringOpcional<=40000 charactersPadrão é

Step-by-step instructions, as markdown.

idstringOpcional
created_at_unixintegerOpcional

Unix timestamp (seconds since epoch)

source_keystring or nullOpcional

Erros

422
Unprocessable Entity Error