latestOpenAPI 3.0.02026-08-2217901.1 MB

ef9153fcac7c

Categories

Create new category

post/categories

Query parameters

skipWebhookboolean

Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks

Headers

x-organization-idinteger

Required if using a multi organizations token

Request body

labelstring required

Label used when displaying the category.

descriptionstring

Description field for additional information.

Example request

{
  "label": "Safety",
  "description": "Used for everything related to Safety"
}

Response

Successfully created category

idinteger required

Global ID of the category.

Example response

{
  "id": 963
}