List posts
const url = 'https://api.dropslate.top/v1/posts?status=draft&platform=youtube&scheduled=true&page=1&perPage=50&sort=upcoming';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.dropslate.top/v1/posts?status=draft&platform=youtube&scheduled=true&page=1&perPage=50&sort=upcoming' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”An instant with an offset; posts timed at or after it.
An instant with an offset; posts timed at or before it.
Words in the text or the title.
false: only posts with no time yet; true: only posts with one (1.4.0).
Responses
Section titled “Responses”A page of posts: soonest first and posts with no time last (upcoming), or most recently created first (newest).
object
object
object
The per-network settings, in the shape perPlatform takes.
object
The instant, in UTC.
The same time on the wall clock of tz.
object
The post’s timeline, oldest first; GET /posts/{id} only.
object
The post in one sentence, the same one the dashboard and an MCP agent show.
Example
{ "posts": [ { "platform": "youtube", "account": { "status": "ok" }, "publishAtLocal": "2026-09-12T18:00", "tz": "Europe/Kiev", "status": "draft", "createdVia": "ui", "statusLine": "Queued. YouTube · What We Made · 12 Sep, 18:00 (Kyiv)." } ]}No valid key, session or MCP token was sent (unauthenticated).
object
Where the code is explained: the errors page of the API reference, at the code.
The code again, for readers of RFC 9457.
Facts some codes carry: retryAfterSeconds on rate_limited, rows on plan_has_issues, kind, plan, limit, used and upgradeUrl on quota_exceeded. A quota kind is one of accounts, posts, storage, file, members, groups, api and mcp; for groups, api and mcp (a plan without groups, without the public API, or one that lets an agent read but not publish) limit and used are 0.
quota_exceeded only: what the plan includes.
quota_exceeded only: what is in use.
quota_exceeded only: where the plans and what each includes are listed.
Example
{ "type": "https://docs.dropslate.top/api-reference/errors/#not_found", "status": 404, "code": "not_found", "message": "The post does not exist.", "hint": "Check the id and try again."}The workspace’s plan does not include the public API (quota_exceeded, with upgradeUrl).
object
Where the code is explained: the errors page of the API reference, at the code.
The code again, for readers of RFC 9457.
Facts some codes carry: retryAfterSeconds on rate_limited, rows on plan_has_issues, kind, plan, limit, used and upgradeUrl on quota_exceeded. A quota kind is one of accounts, posts, storage, file, members, groups, api and mcp; for groups, api and mcp (a plan without groups, without the public API, or one that lets an agent read but not publish) limit and used are 0.
quota_exceeded only: what the plan includes.
quota_exceeded only: what is in use.
quota_exceeded only: where the plans and what each includes are listed.
Example
{ "type": "https://docs.dropslate.top/api-reference/errors/#not_found", "status": 404, "code": "not_found", "message": "The post does not exist.", "hint": "Check the id and try again."}