API reference · Service Categories
POST/api/v1/categories/service

Create service category

Creates a new service category for the tenant. Requires the billing settings create permission.

RBAC · service-category

Request body

Content type: application/json · schema ServiceCategoryCreateRequest

category_namestringRequired
min length 1 · max length 255
descriptionstring
max length 1000
is_activeboolean

Response body

Success response 201

dataobjectRequired
Service category resource.
tenantstring <uuid>Required
category_idstring <uuid>Required
category_namestringRequired
descriptionstringNullable
display_orderinteger
default 0
is_activebooleanRequired
created_atstring <date-time>Required
updated_atstring <date-time>Required
created_bystring <uuid>Required
updated_bystring <uuid>Required
tagsarray of string
itemsstring

Response codes

201
Service category created successfully.
400
Validation error.
401
Authentication failed.
403
Authenticated user lacks the required permission.