Edit a post
const url = 'https://api.dropslate.top/v1/posts/example';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"text":"example","title":"example","tags":["example"],"mediaIds":["example"],"settings":{"youtube":{"visibility":"public","madeForKids":false,"useCoverAsThumbnail":true,"category":"27","language":"uk","audioLanguage":"en-US","recordingDate":"2026-09-01","license":"youtube","embeddable":true,"publicStatsViewable":true,"containsSyntheticMedia":false,"paidProductPlacement":false,"notifySubscribers":true},"tiktok":{},"instagram":{"contentType":"reels","collaborators":["example"],"shareToFeed":true,"altText":"example","coverMs":1},"facebook":{"contentType":"photo","link":"https://example.com"},"threads":{"topicTag":"example","linkAttachment":"https://example.com","altText":"example","replyControl":"everyone"}},"when":"now","status":"queued"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.dropslate.top/v1/posts/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "text": "example", "title": "example", "tags": [ "example" ], "mediaIds": [ "example" ], "settings": { "youtube": { "visibility": "public", "madeForKids": false, "useCoverAsThumbnail": true, "category": "27", "language": "uk", "audioLanguage": "en-US", "recordingDate": "2026-09-01", "license": "youtube", "embeddable": true, "publicStatsViewable": true, "containsSyntheticMedia": false, "paidProductPlacement": false, "notifySubscribers": true }, "tiktok": {}, "instagram": { "contentType": "reels", "collaborators": [ "example" ], "shareToFeed": true, "altText": "example", "coverMs": 1 }, "facebook": { "contentType": "photo", "link": "https://example.com" }, "threads": { "topicTag": "example", "linkAttachment": "https://example.com", "altText": "example", "replyControl": "everyone" } }, "when": "now", "status": "queued" }'Content fields (text/title/tags/mediaIds/settings) only on a draft. when reschedules a queued post, or sets the time of a draft - which stays a draft: only status: "queued" sends a draft to the queue, through the same checks and quota as POST /posts, at the when of the same request if it has one. A draft with no time is queued for now. settings replaces the stored block as a whole: send every field you want kept. Requires write.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Body
Section titled “Request Body”object
Per-network settings keyed by platform. Unknown keys are refused.
object
Everything videos.insert can write. Not settable through the YouTube API (set in YouTube Studio): Test & Compare, recording location, end screens, cards, monetization, comments.
object
The first image of the post becomes the thumbnail (the channel must be verified for custom thumbnails).
VideoCategories id; default 22 (People & Blogs).
Example
27BCP-47 language of the title and description.
Example
ukBCP-47 language spoken in the video.
Example
en-USExample
2026-09-01YouTube altered or synthetic content disclosure.
object
object
Up to 3 usernames invited as collaborators (1.3.0: was 20).
Reels only.
The image of a feed post (1.3.0); not sent on carousels yet.
The Reel cover frame, milliseconds into the video (1.3.0).
object
Text posts only (1.3.0). A video takes the post title.
Base tags are not appended to a thread; it takes one topicTag. replyControl is accepted and ignored since 1.3.0.
object
A link preview on a thread with no files (1.3.0).
Images (1.3.0).
Responses
Section titled “Responses”The post as edited.
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
{ "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)."}A time or zone that does not exist (invalid_time, invalid_timezone); nothing is changed.
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."}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."}Monthly post quota exceeded queueing a draft.
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 key is missing the “write” scope, or this route needs a signed-in session instead of a key.
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."}Does not exist, or belongs to a different workspace - the two look identical from here.
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."}not_editable (content on a post that is not a draft), not_draft, not_reschedulable, plan_has_issues, publishing (the worker holds the post), or publish_interrupted (a run took it and never answered; the post is failed).
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."}More than 600 requests in ten minutes for this key, or the workspace hit 60 post requests in an hour.
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."}Headers
Section titled “Headers”Seconds to wait.
The queue or the posting limit could not be reached (queue_unavailable).
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."}