Threads API: posting reference
Threads is supported via Meta's Threads API. Only accounts linked to a Threads profile can be connected. The account must be a public profile.
For an overview and use cases, see Threads API.
Channel ID: threads
Supported content types
| Type | Supported |
|---|---|
| Feed post | ✅ |
| Story | - |
| Reel | - |
Minimal example
Terminal
Text-only posts are supported. Media is optional.
Platform-specific options
| Field | Type | Description |
|---|---|---|
threads.thread_parts | array | Publish as a chained thread instead of a single post. See Posting threads. |
threads.poll | object | Attach a poll; the post text is the question. See Polls. |
threads.topic_tag | string | The topic of the post, for example "Build in public". See Topics. |
Threads has no required option fields. The default create-post body is sufficient for a single post.
Posting threads
To publish a thread (a chain of connected posts), pass threads.thread_parts. Each part becomes its own post, published as a reply to the previous one from the same account.
Reconnect once. Chaining posts needs the Threads reply permission (threads_manage_replies). Threads accounts connected before this permission was added need a one-time reconnect under Settings -> Organisation -> Workspaces; until then thread_parts is rejected with a 400 that names the reconnect.
Terminal
Rules:
-
2 to 25 parts. For a single post, omit
thread_partsand usecontent.threads(orcontent.default) instead. -
Each
textis required, non-empty, and ≤ 500 characters. Parts that exceed the limit are rejected with a400. -
Threads allows up to 5 unique links in a post, and every part is its own post. A part (or a single post) with more links is rejected with a
400before anything publishes. -
media_urls(ormedia_ids) is optional per part, up to 20 items per part. A part with several items publishes as a carousel, and images and videos can be mixed in the same part, exactly like a single Threads post. Any entry can be an object with alt text:JSON -
When
content.threadsis provided alongsidethread_parts,thread_partswins: the first part is the post's caption. -
The first part's URL becomes the post's Threads URL. If a later part fails,
POST /posts/:id/retryresumes from the first unpublished part instead of re-posting the ones that already landed.
To convert a thread back into a single post on update, send threads.thread_parts: null to PATCH /posts/:id.
Polls
Pass threads.poll to attach a poll. The post text is the question.
Terminal
Rules:
- 2 to 4
options, each 1 to 25 characters and different from the others. - There is no duration field: Threads closes the poll 24 hours after the post is published.
- A poll can't carry media: a request with a poll and media on Threads is refused with
400 validation_error. - On a thread (
thread_parts), the poll goes on the first post. GET /posts/:idreturns the poll underthreads.poll. OnPATCH /posts/:id,threads.poll: nullremoves it.- Poll results come back in analytics under
metrics.poll.
Topics
Pass threads.topic_tag to give the post a topic. Threads shows the topic next to your name and lists the post under that topic.
Terminal
Rules:
- One topic per post, 1 to 50 characters. Spaces are allowed, so a multi-word topic works. A #tag in the text cannot do that.
- A period (
.) or an ampersand (&) is refused with400 validation_error. - A leading
#is dropped and the text is trimmed:"#Build in public"is stored as"Build in public". - OmniSocials sends the topic with every Threads post type: text, image, video, carousel and poll. On a thread (
thread_parts), it goes on the first post. GET /posts/:idreturns it asthreads.topic_tag. OnPATCH /posts/:id,threads.topic_tag: nullremoves it.
Social Inbox
Replies people leave on your Threads posts, and posts that mention you, land in the Social Inbox. You can reply (published as a native Threads reply) and hide or unhide replies on your own posts via POST /inbox/messages/{id}/hide.
Reconnect once. The Threads inbox needs the Threads reply permissions. Threads accounts connected before these permissions were added need a one-time reconnect under Settings -> Organisation -> Workspaces; until then Threads conversations do not appear and Threads replies and hides answer 401 reauth_required.
- Conversation types:
comment(replies on your posts, grouped per root post) andmention. Threads has no DM API. - Photos, videos, GIFs and carousel items of replies and mentions come in
attachments, copied to our CDN; a reply with only media reads"Sent an image"(or"Sent a GIF","Sent 3 images"). Each message carries itspermalinkon Threads. - Replies need the Threads reply permission on the connection; otherwise the reply returns
401 reauth_required. - Only incoming top-level replies on your posts can be hidden; nested replies return
400 not_hideable. - Replies can't be deleted from OmniSocials.
See the Social Inbox guide for endpoints, payloads, and error handling.
Media requirements
| Media | Requirement |
|---|---|
| Image | JPEG, PNG, or WebP. Max 8 MB. Up to 20 per post. |
| Video | MP4 or MOV, up to 5 minutes, max 1 GB |
Threads supports a single image, a single video, or a carousel of up to 20 items per post. Carousel items can mix images and videos.
Alt text. Threads delivers per-media alt text natively. Pass it by using an object entry instead of a bare string: { "url": "https://example.com/bike.jpg", "alt": "A red bicycle leaning against a brick wall" } in media_urls (or { "id": "...", "alt": "..." } in media_ids, including per-part thread media; we accept up to 1500 characters and send the first 1,000, the most Threads takes). It is sent as the media container's alt_text on images and videos, single posts and carousel items alike.
Limitations
- Threads enforces a 500 character limit per post (and per part of a thread)
- Posting a reply to an arbitrary post is not supported;
thread_partsonly chains replies to your own previous part, and the Social Inbox replies to replies on your posts and to mentions - Private Threads accounts cannot be connected
- Location tags are not available on Threads yet: Meta has not approved the location permission for OmniSocials. A post with
threads.location_idis rejected with a400. - Reply controls and quote posts are not supported