Skip to Content
APIEndpointsList content drafts

List content

Content drafts for this brand.

GET /brands/{brand_id}/content

Authorization

HeaderTypeRequired
AuthorizationBearer asky_sk_…required

Path parameters

ParameterTypeRequiredDescription
brand_iduuidrequiredFrom List brands

Query parameters

ParameterTypeRequiredDescription
limitintegeroptionalRows per page, 1 to 100. Defaults to 20.
cursorstringoptionalOpaque cursor from the previous response. Treat it as a token, never construct one.
statusstringoptionalFilter by draft status.
content_typestringoptionalFilter by content type.
topic_iduuidoptionalOnly drafts for this topic. Includes the topic and its subtopics. A root topic returns everything beneath it; a subtopic returns only itself.
searchstringoptionalCase-insensitive substring of the title.
include_translationsbooleanoptionalInclude translated variants.
in_reviewbooleanoptionalOnly 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