Skip to content

Adds a category

POST
/api/categories/{type}

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

type*
Typestring
Required
Pattern"\\w+"

Request Body

application/json
JSON
{
"id": 0,
"name": ""
}

Responses

Success.

application/json
JSON
{
"id": 0,
"name": ""
}

Playground

Authorization
Variables
Key
Value
Body

Samples

cURL
JavaScript
PHP
Python