Create draft

Create a new draft for an agent

Parâmetros de caminho

agent_idstringObrigatório
The id of an agent. This is returned on agent creation.

Cabeçalhos

xi-api-keystringOpcional

Parâmetros de consulta

branch_idstringObrigatório
The ID of the agent branch to use

Solicitação

This endpoint expects an object.
conversation_configmap from strings to anyObrigatório
Conversation config for the draft
platform_settingsmap from strings to anyObrigatório
Platform settings for the draft
workflowobjectObrigatório
Workflow for the draft
namestringObrigatório
Name for the draft
tagslist of stringsOpcional
Tags to help classify and filter the agent

Resposta

Successful Response

Erros

422
Drafts Create Request Unprocessable Entity Error