See the Channels feature page for details on how placements work within channel configurations.
Base path
List placements
Query parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
channelId | No | string | Filter placements by channel. |
limit | No | integer | Maximum results per page. Default 25. |
cursor | No | string | Cursor for keyset pagination. |
Response 200
Create a placement
Request body
| Field | Required | Type | Description |
|---|---|---|---|
channelId | Yes | string | Parent channel ID. |
name | Yes | string (1-255) | Placement name. |
description | No | string | Placement description. Default "". |
slotType | No | string | Slot type (e.g., "banner", "card", "inline", "modal"). Default "banner". |
maxSlots | No | integer (>= 1) | Maximum number of offers in this placement. Default 1. |
schema | No | object | Content schema definition for this placement. Default {}. |
targeting | No | object | Targeting rules for placement eligibility. Default {}. |
Example request
Response 201
Returns the created placement object with channel and creatives relations.
Error codes
| Code | Reason |
|---|---|
400 | Validation error (missing channelId or name). |
415 | Content-Type is not application/json. |
Update a placement
Request body
| Field | Required | Type | Description |
|---|---|---|---|
id | Yes | string | The placement ID to update. |
name | No | string (1-255) | Updated name. |
description | No | string | Updated description. |
slotType | No | string | Updated slot type. |
maxSlots | No | integer (>= 1) | Updated max slots. |
schema | No | object | Updated content schema. |
targeting | No | object | Updated targeting rules. |
Response 200
Returns the updated placement object with channel and creatives relations.
Error codes
| Code | Reason |
|---|---|
400 | Validation error. |
Delete a placement
Query parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
id | Yes | string | Placement ID to delete. |
Response 204
Empty body on success.
Error codes
| Code | Reason |
|---|---|
400 | Missing id query parameter. |
Role requirements
| Method | Minimum role |
|---|---|
| GET | viewer |
| POST | editor |
| PUT | editor |
| DELETE | editor |