POST
/
classification-classes
/
create-classification-class-from-file
/
{
  "name": "<string>",
  "rules": [
    {
      "label": "<string>",
      "subcategories": [
        {}
      ],
      "criteria": ""
    }
  ],
  "organisation_id": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Headers

Current-Org-Id
string | null

Represents the current organisation ID for the user (example: 'org_u13TesTDumMyEe5P')

Api-key
string | null

Body

multipart/form-data

Response

200
application/json

The created classification class hierarchy

The response is of type object.