HTTP API

Create a post

Schedule a post or save a draft, with a caption, media, a cover and network settings.

Schedule or save a draft

POST/api/v1/posts
POST/api/v1/drafts

Same body. /posts schedules unless you say "status": "draft"; /drafts saves a draft unless you say "status": "scheduled". A draft never publishes on its own; publish it later with publish.

Body

FieldTypeDescription
captionstringThe text. A post needs a caption, media or both.
media[{ key }]Up to 35 keys from Upload media, in order. Leave out for a text-only post.
scheduledAtstringWhen to publish, ISO 8601 with offset, e.g. 2026-11-28T09:00:00+08:00. Needed to schedule; on a draft it’s only pre-filled.
statusstringscheduled or draft.
groupstringA group's name or id: post to that group's accounts.
accountIdsstring[]Exactly these accounts (ids from accounts). Wins over group.
threadstring[]Parts 2, 3, 4… posted as replies under the main post on X. Other networks get the main post.
coverobjectVideos: seconds (the frame people see first), or imageKey, an uploaded cover image, where the network takes one.
tiktokobjectprivacy: PUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR or SELF_ONLY (needed to schedule to TikTok); allowComment, allowDuet, allowStitch, autoAddMusic: true or false.
instagramobjecttrialReel: auto (Instagram shares it with followers if it does well) or manual. Single videos only.
idempotencyKeystringUp to 128 characters. Sending the same key again returns the post it made instead of a second one, so retries are safe.

With neither group nor accountIds, the post goes to your default group.

Example: a Reel with a cover

Request
curl https://postall.my/api/v1/posts \
  -H "Authorization: Bearer pa_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "caption": "How we laminate 81 layers of butter",
    "media": [{ "key": "2026-11-26/Vb7Qm2xLp0Za.mp4" }],
    "group": "Bakery",
    "scheduledAt": "2026-11-28T19:30:00+08:00",
    "cover": { "seconds": 4.5 },
    "tiktok": { "privacy": "PUBLIC_TO_EVERYONE", "allowComment": true },
    "idempotencyKey": "laminate-reel-28nov"
  }'

Response

200 OK
{
  "id": "pst_9kD1",
  "status": "scheduled",
  "url": "https://postall.my/posts/pst_9kD1",
  "cover": { "seconds": 4.5, "frameImage": false, "coverImage": false },
  "accounts": ["Bakery KL (Instagram)", "Bakery KL (TikTok)", "Bakery KL (YouTube)"],
  "threadParts": 0,
  "scheduledAt": "2026-11-28T19:30:00+08:00",
  "scheduledAtLocal": "Sat 28 Nov, 7:30 pm (Asia/Kuala_Lumpur)",
  "warnings": []
}

warnings lists anything a network would refuse, one line per account, so you can fix it before the time comes. A repeated idempotencyKey returns the first post with "duplicate": true.