POST
/
v1
/
decision-categories
Create decision category
curl --request POST \
  --url https://staging.api.us.aptlydone.com/settings/v1/decision-categories \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tenantId": "475999d3-db28-4993-815d-f31d48e94664",
  "sectionId": "6cae320c-8c48-428f-aec2-3bb393ee504e",
  "categoryName": "Finance"
}'
{
  "statusCode": 200,
  "timestamp": "2025-06-24T08:51:42.214Z",
  "message": "Success",
  "data": {
    "id": "4018092c-7bbb-4d44-a72d-f55793ef9b10",
    "tenantId": "3a638310-62ca-454c-8e92-1b18d8d41cf5",
    "sectionId": "f3b80983-4b72-4802-aad1-2d563bf55383",
    "categoryName": "Finance",
    "isDeleted": false,
    "section": {
      "id": "e1b4ddea-2a24-4473-8df0-21527950ad54",
      "tenantId": "00e8f11f-deab-44d2-aee5-f1c0a33c195f",
      "sectionName": "Finance Department",
      "isDeleted": false
    },
    "createdAt": "2024-01-15T12:00:00Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201 - application/json

Decision category created successfully

The response is of type object.