Docs
Add Area
POST /Events/{eventId}/areas
POST
/Events/{eventId}/areasRequired 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 new area on the event. The calling user is automatically granted AreaAdmin permission over the new area.
Requires EventAdmin permission on the event.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| eventId | Guid | Required | The ID of the event to add the area to. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Required | The display name for the area. Must not be empty. |
Example Request
{
"name": "Main Stage"
}
Response
201 Created — No response body.
Error Codes
| Code | HTTP Status | Description |
|---|---|---|
UNAUTHORIZED | 401 | Missing or invalid token. |
NOT_FOUND | 404 | Event not found. |
BAD_REQUEST | 400 | Name is empty or invalid. |