HTTP API
Change posts
Edit, publish, move, swap and delete drafts and scheduled posts.
Edit a post
/api/v1/posts/:idFor drafts and scheduled posts that haven’t started publishing. Send only what changes; everything else stays.
| Field | Type | Description |
|---|---|---|
caption | string | The main caption. |
overrides | object | A different caption for one network, e.g. { "x": "Shorter for X" }; null goes back to the main one. Keys: facebook, instagram, threads, youtube, tiktok, x, linkedin. |
scheduledAt | string | A new time, ISO 8601 with offset. |
accountIds | string[] | Replaces the whole list of accounts. |
thread | string[] | null | Replaces the replies after the main post on X; null or [] removes them. |
cover | object | null | Same as when creating; null removes it. The video itself can’t be swapped. |
tiktok | object | Privacy and the allow switches. |
instagram | object | { "trialReel": null } turns a trial reel back into a normal Reel. |
Returns the post as Get one post does, plus changes (what changed, in words) and warnings. A post that already went out gets 409.
Publish a draft
/api/v1/posts/:id/publish| Field | Type | Description |
|---|---|---|
when | string | now, or scheduled (default): at scheduledAt, or the time saved on the draft. |
scheduledAt | string | ISO 8601 with offset. |
tiktok | object | Privacy and switches, if the draft goes to TikTok and doesn't have them yet. |
{
"id": "pst_9kD1",
"status": "scheduled",
"scheduledAt": "2026-11-28T19:30:00+08:00",
"scheduledAtLocal": "Sat 28 Nov, 7:30 pm (Asia/Kuala_Lumpur)",
"now": false,
"url": "https://postall.my/posts/pst_9kD1"
}Swap two posts
/api/v1/posts/swapBody { "a": "pst_1", "b": "pst_2" }. Two scheduled posts trade times; both change or neither does, and not when one of them goes out in the next 2 minutes. Returns { swapped: [{ id, scheduledAt, scheduledAtLocal, url }, …] }.
Delete
/api/v1/posts/:idDeletes a draft or a scheduled post that hasn’t started publishing. Returns { "deleted": true }. It can’t be undone.
/api/v1/posts/deleteBody { "ids": [ … ] }, up to 200. Returns { deleted: [ids], skipped: [{ id, reason }] }; posts that already started publishing are skipped, not deleted.