Docs
Add Resource Category
POST /resourceCategories
POST
/resourceCategoriesRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Event token | x-Event-Token | Optional | Run **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually. |
Creates a resource category.
Event scoping: This endpoint does not include
{eventId} in the URL. The event is determined automatically from your x-Event-Token.Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Required | Category name. |
| icon | string | Optional | Icon identifier. |
| color | string | Optional | Color token. |
Response
201 Created. No response body.
Error Codes
| HTTP Status | Description |
|---|---|
| 400 | Invalid arguments. |