Creates a category.

Endpoint URL


Authentication and rate limits

Authentication methodOAuth 2.0 Bearer token
Rate limitRate Limit

Requests Example

curl --request POST \
  --url 'https://{{base_url}}/api/v2/usage-status \
  --header 'Authorization: Bearer $BEARER_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '$JSON'

Request Syntax

    "company": integer,
    "name": "string"

Body Parameters

  • company (integer) --

    The ID of the specific company your API is calling. For accounts with only one company, the default value is 1.
    To lookup a specific company ID, see the List Company API.

  • namey (string) --

    The name of the usage status.
    Max characters = 50
    The name of the usage status must be unique per account.

Response Syntax

    "id": integer,
    "company_id": integer,
    "name": "string",
    "set_as_default": false | true