Docs
Add Content
POST /content
POST
/contentRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
Creates a new content item for the event. Optionally associates it with an activity and attaches existing files by ID.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Required | Display name for the content item. |
| description | string | Optional | Description text. |
| activityId | Guid? | Optional | Activity to associate this content with. Pass `null` for event-wide content. |
| files | Guid[] | Optional | Array of existing file IDs to attach. Pass `[]` for none. |
Response
Returns 201 Created with an empty body on success.