Threads API for developers

The Threads API,without the app review

Publish posts, carousels, threads of up to 25 posts and polls to Threads. Answer replies and mentions, and read insights. One API key, on OmniSocials’ approved Meta app.
Webhooksyour-app.com/hooks
post.scheduledpost 1024just now200
post.publishedpost 10192 h ago200
post.approvedpost 10193 h ago200
POST/v1/posts/createapplication/json
01{
02 "content": "Reply to Threads replies from your own code.",
03 "accounts": ["threads"],
04 "media_urls": [
05 { "url": "https://cdn.example.com/inbox-api.png",
06 "alt": "The Social Inbox next to an API request" }
07 ],
08 "schedule_at": "2026-10-22T18:00:00Z"
09}
Sending201 Created412 ms
Send
10{
11 "data": {
12 "id": "1024",
13 "status": "scheduled",
14 "app_url": "https://app.omnisocials.com/create-post/1024"
15 }
16}
A request creates a Threads image post with alt text for Thu at 18:00; it appears in the OmniSocials calendar and the webhook post.scheduled fires.
Your coding agent runs the same calls through the CLI

Skip the Meta app review

Threads’ own API needs a Meta app, an App Review for replies and mentions, long-lived tokens and a media container you poll before every post. OmniSocials already did that work.

Every format, one request

Posts, carousels of images and videos, threads and polls share one request shape. Add media URLs with alt text, thread parts or poll options, and a time. OmniSocials checks the post against Threads’ rules before it publishes.
Posts and carousels
Text, one image or video, or a carousel of up to 20 images and videos mixed. Every image can carry alt text.
media_urls{ url, alt }
Threads
2 to 25 posts in one request, each with up to 500 characters and its own media. Every post replies to the one before.
threads.thread_parts
Polls
The post text is the question, with 2 to 4 options. Threads closes the poll after 24 hours.
threads.poll

A whole thread in one request

Send up to 25 posts in thread_parts. OmniSocials publishes them in order, each one as a reply to the one before, and keeps track of every post that went out.
2 to 25 posts
Each post holds up to 500 characters and up to 20 images or videos, mixed, with alt text on every image.
threads.thread_parts{ url, alt }
Retries pick up where they stopped
The posts that went out are saved. A retry starts at the first post that did not, so nothing is published twice.
POST /v1/posts/:id/retry
A poll on the first post
Add threads.poll to a thread and the poll goes on its first post. Threads closes it after 24 hours; the results come with the analytics.
threads.pollmetrics.poll
One request with three thread parts goes to /v1/posts/create-and-publish; the webhook post.published fires and the post page shows the three posts as one thread on Threads.

Connect Threads once, post from code

Sign in with Threads once inside OmniSocials. Create an API key, and your code posts, replies and reports for that profile.
Threads sign-in
Sign in with your Threads profile once. OmniSocials keeps the token fresh: it lasts 60 days and is renewed at day 30.
A key per workspace
A key only reaches its own workspace. Inbox access is switched on per key.
What the profile can post
The accounts call lists the connected profile with its formats, and says when the connection needs a reconnect.
GET /v1/accountsneeds_reconnect

Answer replies and mentions

List the replies on your Threads posts and the posts that mention you, then reply or hide a reply from your own code. Each answer goes out as a native Threads reply.
Replies
Answer any reply on your posts as a native Threads reply. Each conversation comes with the post it sits on.
/conversations/:id/reply
Hide a reply
Hide or unhide a top-level reply on your own post. Nested replies can’t be hidden, and replies can’t be deleted.
/inbox/messages/:id/hide
Mentions
Posts that mention your profile land in the same list. New replies come in by webhook and a check every 15 minutes.
type=mention

“The MCP is the real game changer for me. It makes the whole workflow feel much faster and less messy.”

Ansub Khan
Founder of Supafast

Read what Threads reports

Views, likes, replies, reposts, quotes and shares per post, poll results, and the profile’s followers per day. For a thread, the API adds up all of its posts.
Per post and per thread
Views, likes, replies, reposts, quotes and shares. A thread adds up its posts, and a poll adds the share of each option.
/analytics/posts/:idthread_parts
Per profile and workspace
A daily snapshot of the profile: followers, views, likes, replies, reposts and link clicks per URL. Plus a workspace overview.
/analytics/accounts/analytics/overview
Best times to post
Days and hours worked out from your own Threads history, once 15 of your posts are analyzed.
/analytics/best-times
Under the hood

Built for production

Signed webhooks, automatic retries, SDKs in 8 languages and a key per workspace. Create a key and send your first request in minutes.
Webhooks
Signed events for every post
Retries
Failed posts retry on their own
SDKs
One request shape in 8 languages
API keys
One key per workspace
Agents
Your coding agent posts too

Threads’ rules, in one place

OmniSocials checks every post against them before it reaches Threads, so a long post or a bad file fails in your request, not at publish time.
Text500 characters per post
LinksUp to 5 per post
MediaUp to 20 images or videos per post
ImagesJPEG, PNG or WebP, up to 8 MB
Video5 minutes, 100 MB in media_urls, 1 GB via upload-from-url
Threads2 to 25 posts
Polls2 to 4 options of 25 characters, 24 hours
Posts250 per profile in 24 hours
Replies1,000 a day per workspace
AccountsThreads profiles, one per workspace

Your first thread in three steps

About five minutes from sign-up to a scheduled thread on Threads. Then hand the key to your coding agent.
Create an API key
Start your trial, open Settings, API and create a key. It is shown once.
Settings › API
Step 1
Connect Threads
Sign in with Threads in OmniSocials once. Then list the profile from your code.
GET /v1/accounts
Step 2
Send your first thread
Post now with create-and-publish, or add schedule_at to plan it.
POST /v1/posts/create
Step 3

Frequently
Asked Questions

Robert Ligthart
Robert LigthartFounder of OmniSocials
Ask me a question

Robert Ligthart
Still have a question?Ask Robert, the founder
Ask

Ship your Threads
integration this week.

From $10 per seat a month, API included. 14-day free trial.
https://docs.omnisocials.com/platforms/threads