POST
/
tag
curl --request POST \
  --url https://demo.enneo.ai/api/mind/tag \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 123,
  "name": "Complaint",
  "fullName": "Second Level: Complaint",
  "parent": 6,
  "reference": "ticket",
  "type": "skill",
  "visibility": "public",
  "color": "grey",
  "properties": {},
  "complexity": "moderate",
  "sla": 8,
  "priority": "do-not-change",
  "channels": [
    "email",
    "chat"
  ],
  "subchannels": [
    2,
    4
  ],
  "detectionDetails": {},
  "assignment": [
    "assignBySubchannel",
    "assignByCustomLogic"
  ],
  "testCase": {},
  "modifiedBy": "John Doe",
  "modifiedAt": "2024-08-29 14:38:12"
}'
{
  "success": true,
  "id": 12345
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Body

application/json
The new tag that should be created. The only mandatory parameters are name, refernce and type. If the other parameters are not provided, they will revert to defaults.

Tag object

Response

200
application/json
Tag added successfully

The response is of type object.