[PATCH] Atualizar
Reorganiza etapas de chat para futuras trocas de mensagens.
Requisição
curl --location 'https://api.zaia.app/v1.1/api/agent-service-chat-stage/update' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <sua chave de api aqui>' \
--data '{
"agentId": 123,
"id": 321,
"name": "Agent Zaia",
"objective": "",
"position": 1
}'
Headers (Cabeçalhos)
Chave
Tipo
Exemplo
Obrigatório
Authorization
String
Bearer <sua chave aqui>
✓
Body (Corpo)
Chave
Tipo
Exemplo
Obrigatório
agentId
Number
123
✓
id
String
321
✓
name
String
Agent Zaia
objective
String
position
Number
1
Respostas
Chave
Tipo
Exemplo
id
Number
123
name
String
Agent Zaia
objective
String
position
Number
1
Exemplo de resposta:
{
"id": 123,
"name": "Agent Zaia",
"objective": "",
"position": 1
}
Atualizado