Docs
Add Content Block
POST /surfaces/{surfaceId}/contentBlocks
POST
/surfaces/{surfaceId}/contentBlocksRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
Schedules a content item onto a surface for a specific time window. A surface can have multiple non-overlapping content blocks.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| surfaceId | Guid | Required | The ID of the surface to schedule content on. Replace `{{surfaceId}}` in the URL. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| contentId | Guid | Required | ID of the content item to schedule on this surface. |
| startTime | DateTime | Required | Start of the display window (ISO 8601). |
| endTime | DateTime | Required | End of the display window (ISO 8601). |
Response
Returns 201 Created with an empty body on success.