Contents

Add Category

Adds new Category to the project.

Role

Administrator
Normal User

Method

POST

URL

/api/v2/projects/:projectIdOrKey/categories

URL parameters

Parameter NameTypeDescription
projectIdOrKeyStringProject ID or Project Key

Form parameters

Content-Type:application/x-www-form-urlencoded
Parameter NameTypeDescription
name (Required)StringCategory name

Response example

Status Line / Response Header

HTTP/1.1 200 OK
Content-Type:application/json;charset=utf-8

Response Body

{
    "id": 1,
    "projectId": 5,
    "name": "Development",
    "displayOrder": 0
}