Docs

Add Resource Category

POST /resourceCategories

POST/resourceCategories

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Creates a new asset category on the event. Categories group related asset types together and are referenced when creating or updating asset types. Create categories before creating asset types that belong to them.

Event scoping: This endpoint does not include {eventId} in the URL. The event is determined automatically from your x-Event-Token.

Request Body

FieldTypeRequiredDescription
namestringRequiredDisplay name for the category. Must not be empty.
iconstringRequiredIcon identifier for the category.

Example Request

{
  "name": "Production",
  "icon": "cog"
}

Response

201 Created — No response body.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token.
BAD_REQUEST400Name is empty or invalid.