Posts

Create a post

Save a draft, schedule a post or publish it right away.

POST / posts
curl -X POST "https://smanager.mrfirdavs.uz/api/v1/posts" \
  -H "Authorization: Bearer $ONETHREADS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "account": "yourname",
    "text": "Shipping the new release today πŸš€",
    "media": [
      {
        "id": "efa6aa69-6625-421a-881e-360535c0e2e2.png",
        "alt": "Screenshot of the new dashboard"
      }
    ],
    "options": {
      "topic": "buildinpublic"
    },
    "scheduledAt": "2026-11-02T09:00:00Z"
  }'
Created
{
  "id": "6f1c2b9e-3a1d-4c7e-9f0a-1b2c3d4e5f60",
  "account": "29145472575138133",
  "status": "scheduled",
  "text": "Shipping the new release today πŸš€",
  "media": [
    {
      "id": "efa6aa69-6625-421a-881e-360535c0e2e2.png",
      "type": "image",
      "url": "https://smanager.mrfirdavs.uz/media/efa6aa69-6625-421a-881e-360535c0e2e2.png",
      "name": "release.png",
      "alt": "Screenshot of the new dashboard"
    }
  ],
  "options": {
    "topic": "buildinpublic"
  },
  "scheduledAt": "2026-11-02T09:00:00.000Z",
  "publishedAt": null,
  "threadsId": null,
  "permalink": null,
  "error": null,
  "createdAt": "2026-10-28T11:03:10.445Z",
  "updatedAt": "2026-10-28T11:03:10.445Z"
}

Scheduled posts go out within 1–2 minutes of scheduledAt, from the account they belong to. With action: "publish" the request waits up to about 25 seconds for Threads; videos can take longer, and the post then finishes publishing in the background (status 202).

Attach files by uploading them with Upload media first and passing the returned ids in media.

Authorizations

Authorizationheaderrequired
Bearer <key>. Needs a read & write key.

Body (application/json)

accountstring
Optional: a key always acts for its own account. If given, the account id or username (with or without @) must be the key's, or the request gets account_forbidden.
textstring
Up to 500 characters. Wrap text in ||double bars|| to hide it as a spoiler. Can be empty when there's media.
mediaarray
Up to 10 uploaded file ids, as strings or { "id", "alt" } objects with alt text (up to 1000 characters). Two or more make a carousel.
optionsobject
Reply target, topic, poll, link preview and more. See Post options.
actionstring
draft, schedule or publish. Default: schedule when scheduledAt is given, otherwise draft.
scheduledAtISO 8601
When to publish, with a time zone: 2026-11-02T09:00:00Z or 2026-11-02T14:00:00+05:00. Must be in the future. On drafts it's the planned day shown on the calendar.