Categories
Create a category
POST
https://api.searchsoftware.nl/v4/categories
Creates a category within a group. Find-or-create: if a category with the same name already exists in that group (trimmed, case-insensitive) it is returned instead of creating a duplicate. Requires categories:write.
Body
application/json
namestringrequiredCategory name
group_ idstringrequiredOwning category group ID
Response
Category created or reused
400Bad RequestErrorResponse
Invalid request body
401UnauthorizedErrorResponse
Invalid API key
403ForbiddenErrorResponse
Insufficient scope
404Not FoundErrorResponse
Category group not found
422Unprocessable EntityErrorResponse
Validation error
500Internal Server ErrorErrorResponse
Internal server error
Authorization
bearer_ authhttp (bearer) in headerAPI key or OAuth access token in Authorization header
Scopes: categories:write
oauth2_ authoauth2OAuth authorization code flow with mandatory S256 PKCE.
Scopes: categories:write
apikey_ authapiKey in queryAPI key in query string
Scopes: categories:write
