πŸ”‘ /categories

Creates a new category

Body Params
boolean
required

true to enable autoassign for the category, false otherwise

string
required

The background color for the category, in hex (i.e. #FF0000)

string

The category description

boolean
required

Choose to decide whether or not to display a border around the category (uses foreground color). This is ignored if foregroundColor is "AUTO".

string
required

The foreground (text) color of the category. Either hex (i.e. #FF0000) or "AUTO" to use white or black, depending on background color.

int32
required

The category manager, or null for no manager

string
required

The name of the category

int32
required

The category priority (0 -> Critical, 1 -> High, 2 -> Medium, 3 -> Low)

int32
required

Category visibility (1 for private, 0 for public)

int32
required

1 for tickets only, 2 for calendar events only, 0 for both

Responses

Language
Response
Choose an example:
application/json