List content
Content drafts for this brand.
GET /brands/{brand_id}/contentAuthorization
| Header | Type | Required |
|---|---|---|
Authorization | Bearer asky_sk_… | required |
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
brand_id | uuid | required | From List brands |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | optional | Rows per page, 1 to 100. Defaults to 20. |
cursor | string | optional | Opaque cursor from the previous response. Treat it as a token, never construct one. |
status | string | optional | Filter by draft status. |
content_type | string | optional | Filter by content type. |
topic_id | uuid | optional | Only drafts for this topic. Includes the topic and its subtopics. A root topic returns everything beneath it; a subtopic returns only itself. |
search | string | optional | Case-insensitive substring of the title. |
include_translations | boolean | optional | Include translated variants. |
in_review | boolean | optional | Only drafts awaiting review. |
Request
curl https://api.askylabs.com/v1/brands/BRAND_ID/content \
-H "Authorization: Bearer $ASKY_API_KEY"Response
{
"data": [],
"pagination": {
"limit": 2,
"has_more": false,
"next_cursor": null
},
"meta": {
"total": 0
},
"request_id": "req_c793a8aba2084e019d8d"
}Last updated on