Salva ou atualiza uma classificação do serviço.
POST
/chatapi/1.0/api/v2/classification-service/save
curl \
--request POST 'https://api.neppo.com.br/chatapi/1.0/api/v2/classification-service/save' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"agentId":42,"classificationTree":{"active":true,"children":[{}],"createdAt":"2026-05-04T09:42:00Z","createdBy":"string","id":42,"nodeId":42,"parent":{},"updatedAt":"2026-05-04T09:42:00Z","updatedBy":"string","value":"string"},"classificationTreeSession":42,"commentClassification":"string","createdAt":"2026-05-04T09:42:00Z","createdBy":"string","displayName":"string","groupConfId":42,"id":42,"rootId":42,"sessionId":42,"updatedAt":"2026-05-04T09:42:00Z","updatedBy":"string"}'
Request examples
{
"agentId": 42,
"classificationTree": {
"active": true,
"children": [
{}
],
"createdAt": "2026-05-04T09:42:00Z",
"createdBy": "string",
"id": 42,
"nodeId": 42,
"parent": {},
"updatedAt": "2026-05-04T09:42:00Z",
"updatedBy": "string",
"value": "string"
},
"classificationTreeSession": 42,
"commentClassification": "string",
"createdAt": "2026-05-04T09:42:00Z",
"createdBy": "string",
"displayName": "string",
"groupConfId": 42,
"id": 42,
"rootId": 42,
"sessionId": 42,
"updatedAt": "2026-05-04T09:42:00Z",
"updatedBy": "string"
}
Response examples (200)
{
"agentId": 42,
"classificationTree": {
"active": true,
"children": [
{}
],
"createdAt": "2026-05-04T09:42:00Z",
"createdBy": "string",
"id": 42,
"nodeId": 42,
"parent": {},
"updatedAt": "2026-05-04T09:42:00Z",
"updatedBy": "string",
"value": "string"
},
"classificationTreeSession": 42,
"commentClassification": "string",
"createdAt": "2026-05-04T09:42:00Z",
"createdBy": "string",
"displayName": "string",
"groupConfId": 42,
"id": 42,
"rootId": 42,
"sessionId": 42,
"updatedAt": "2026-05-04T09:42:00Z",
"updatedBy": "string"
}