Cria ou atualiza um usuário do tipo bot na base de dados.
POST
/chatapi/1.0/api/v2/users/save/bot
curl \
--request POST 'https://api.neppo.com.br/chatapi/1.0/api/v2/users/save/bot' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"id": 42,
"userName": "string",
"displayName": "string",
"botTree": {
"createdAt": "2026-05-04T09:42:00Z",
"createdBy": "string",
"id": 42,
"updatedAt": "2026-05-04T09:42:00Z",
"updatedBy": "string",
"name": "string",
"description": "string",
"active": true,
"version": 42
},
"botSurvey": true,
"active": true
}'
Request examples
{
"id": 42,
"userName": "string",
"displayName": "string",
"botTree": {
"createdAt": "2026-05-04T09:42:00Z",
"createdBy": "string",
"id": 42,
"updatedAt": "2026-05-04T09:42:00Z",
"updatedBy": "string",
"name": "string",
"description": "string",
"active": true,
"version": 42
},
"botSurvey": true,
"active": true
}
Response examples (200)
{}