Threads API in 2026: Access, Tokens, Limits and Posting
Threads API guide for developers: how to get access and a Threads app ID, token and permission expiry, the 250-post daily limit and the two-step publish flow.
The Threads API is Meta's official API for Threads, served from graph.threads.com. It publishes text, image, video and carousel posts, reads posts and profiles, moderates replies and returns insights. Meta lists no fee. You need a Meta app with the Threads use case, and publishing for users other than your testers needs App Review.
The Threads API is the official way to post to Threads from your own code. Meta runs it on a separate host, graph.threads.com (the older graph.threads.net still answers), with its own app ID, its own OAuth window and its own permission names. If you have built on the Instagram API, the publishing model will look familiar. The access rules, token lifetimes and limits are different enough to catch you out.
This guide covers the Threads API as it stands in November 2026, from the side of a developer who wants to publish: how to get access, what a "Threads API key" actually is, how tokens and permission grants expire, how a post is created and the daily limits that apply per profile. Threads is one of the twelve networks in our guide to social platforms with a posting API, and one of the few with a documented quota endpoint you can query before you publish.
PostGate handles OAuth, publishing and delivery evidence for every network through one API. Start free or read the docs.
What is the Threads API, and what can it do?
Meta's Threads API overview describes it as an API to create and publish content on a person's behalf, and to display those posts in your app to the person who created them. The documentation groups the endpoints into:
- Publishing: single posts (text, image or video) and carousels, through
/threadsand/threads_publish. - Retrieving media and profiles, including a user's own posts and replies.
- Reply management: reading, posting, hiding and controlling who can reply.
- Mentions, insights, webhooks, keyword search and location tagging, each behind its own permission.
- Embeds (oEmbed) and Web Intents for sharing to Threads from a web page.
Every call is made with a Threads user access token for a specific profile. There is no app-level token that posts to an account, so everything starts with that user going through Threads OAuth.
Is the Threads API free?
Meta publishes no price for the Threads API. The documentation describes permissions, rate limits and App Review, and creating the app has no billing step. Searches for "Threads API pricing" mostly lead to third-party tools and scrapers, which charge for their own service.
What it costs you is time: an App Review round before real users can connect, a published app with a privacy policy and a data deletion URL, a refresh job for every connected profile and a per-profile daily post budget you have to respect in your scheduler.
How do you get Threads API access and an API key?
There is no standalone Threads API key. Your app has a Threads app ID and a Threads app secret, and each user who connects produces their own access token. The path, from Meta's get started guide and the Threads use case page:
- Create a Meta app on developers.facebook.com and pick the Threads use case.
threads_basicis added automatically and cannot be removed. - Add the optional permissions you need, such as
threads_content_publishfor posting. - In the use case settings, copy the Threads app ID and secret. The app has two IDs and two secrets; Threads calls only work with the Threads pair.
- Add your OAuth redirect URIs, a deauthorize callback URL and a data deletion requests URL.
- Invite your own Threads profile as a Threads Tester under App roles, then accept the invite in the Threads website permissions settings.
- Build the OAuth flow and publish to your tester profile.
- Submit each permission for App Review and publish the app, so profiles without a role on it can connect.
The difference between those two stages decides when you can launch:
| Before App Review | After App Review | |
|---|---|---|
| Who can grant permissions | Threads Testers and other people with a role on your app | Any Threads user, once the app is published |
| Where you can post | Only to tester profiles | Any profile that granted threads_content_publish |
| What Meta checks | Nothing yet | Each permission's use, plus the app assets (icon, privacy policy, data deletion URL) |
If your app will serve clients or other business portfolios, Meta treats you as a Tech Provider, and the App Review requirements have to be complete before the app can be published.
Which permissions and tokens does the Threads API use?
The permissions a posting integration usually asks for:
threads_basic: required for every endpoint.threads_content_publish: required to create and publish posts.threads_read_repliesandthreads_manage_replies: reading replies, and posting, hiding or limiting them.threads_manage_insights: post and account insights.threads_delete: deleting posts through the API.
The flow starts at https://threads.com/oauth/authorize with your Threads app ID, a redirect URI that matches the dashboard exactly, the scopes and response_type=code. The token rules from Meta's long-lived tokens guide:
- The authorization code is valid for 1 hour and works once. Threads appends
#_to the redirect; strip it before the exchange. - The code becomes a short-lived token (1 hour) through
POST /oauth/access_token. - A short-lived token becomes a long-lived one (60 days) through
GET /access_tokenwithgrant_type=th_exchange_token. This call carries your app secret, so it belongs on your server. - Long-lived tokens refresh through
GET /refresh_access_tokenwithgrant_type=th_refresh_token, once they are at least 24 hours old and before they expire.
The rule most guides skip: the permission grant itself lasts 90 days. Refreshing the token extends the grant for another 90 days only if the user's profile is public. For a private profile, the refresh still returns a token, but the grant runs out and the user has to authorize your app again. Plan a reconnect prompt for those accounts instead of treating a 60-day refresh loop as permanent.
How do you publish a post with the Threads API?
Publishing follows the container model described in Meta's Threads posts guide. You create a media container with POST /{threads-user-id}/threads, then publish it with POST /{threads-user-id}/threads_publish. Meta recommends waiting about 30 seconds between the two calls so Threads can process the upload.
media_typeisTEXT,IMAGEorVIDEO. Images and videos are passed asimage_urlorvideo_url, and Threads downloads them, so the file must be on a public server when you call.- Text is limited to 500 characters, and emojis count as their UTF-8 byte length, so a post full of emojis hits the limit sooner than its character count suggests.
- Carousels take three steps: one container per item with
is_carousel_item=true, a parent container withmedia_type=CAROUSELand 2 to 20children, then one publish call. link_attachmentadds a link preview, on text-only posts. Since December 22, 2025, a post with more than 5 unique links fails at container creation withTHREADS_API__LINK_LIMIT_EXCEEDED.topic_tagsets the post's topic: 1 to 50 characters, no periods or ampersands, one per post.is_made_with_ai=trueadds the AI info label. On a carousel, set it on the parent container only; setting it on an item returns an error.
If threads_publish does not return a media ID, query the container's status. It is IN_PROGRESS, FINISHED, PUBLISHED, ERROR (with an error_message such as FAILED_DOWNLOADING_VIDEO or INVALID_DURATION) or EXPIRED, which means it was not published within 24 hours. Meta suggests polling once per minute for no more than 5 minutes. When the container call itself fails on a media URL, the usual culprit is the one in our post on Threads OAuthException subcode 2207052.
# Threads API: publish an image post in two calls
# Token needs threads_basic + threads_content_publish
# 1. Create a media container (Threads downloads the image from your URL)
curl -X POST "https://graph.threads.com/v1.0/THREADS_USER_ID/threads" \
-d "media_type=IMAGE" \
--data-urlencode "image_url=https://cdn.example.com/launch.jpg" \
--data-urlencode "text=We shipped scheduled posts for Threads today." \
--data-urlencode "topic_tag=buildinpublic" \
-d "access_token=ACCESS_TOKEN"
# -> { "id": "CONTAINER_ID" }
# 2. Wait about 30 seconds, check the container, then publish it
curl "https://graph.threads.com/v1.0/CONTAINER_ID?fields=status,error_message&access_token=ACCESS_TOKEN"
# -> { "status": "FINISHED", "id": "CONTAINER_ID" }
curl -X POST "https://graph.threads.com/v1.0/THREADS_USER_ID/threads_publish" \
-d "creation_id=CONTAINER_ID" \
-d "access_token=ACCESS_TOKEN"
# -> { "id": "THREADS_MEDIA_ID" }What are the Threads API rate limits and media specs?
Limits are counted per Threads profile over a rolling 24 hours, and Meta asks apps that schedule posts to enforce them on their side:
- 250 API-published posts. A carousel counts as one.
- 1,000 replies.
- 100 deletions.
- 500 location searches.
GET /{threads-user-id}/threads_publishing_limit returns current usage for each of them (quota_usage, reply_quota_usage and so on) next to the configured total, so a scheduler can check before it publishes instead of finding out from an error. On top of that, the overall call count per app and user is 4,800 times the number of impressions the profile's content got in the last 24 hours, with impressions floored at 10.
| Images | Videos | |
|---|---|---|
| Format | JPEG and PNG listed as supported | MOV or MP4, H.264 or HEVC, AAC audio, moov atom at the front |
| Maximum file size | 8 MB | 1 GB |
| Dimensions | Minimum width 320 px; aspect ratio up to 10:1 | Up to 1,920 px wide; 9:16 recommended |
| Duration and frame rate | Not applicable | Up to 5 minutes, 23 to 60 FPS |
Our Threads API rate limit walkthrough shows how to read the quota endpoint before each publish.
How is the Threads API different from the Instagram API?
Both use Meta's two-step container model, both need App Review before other people's accounts can connect, and both download media from a URL you provide. The differences show up in the plumbing: Threads has its own host, its own app ID and secret inside the same Meta app, its own threads_* permissions and a 90-day permission grant on top of the 60-day token. Instagram's publishing limit, login options and account type rules are covered in our Instagram API guide, and the Pinterest API guide shows a network where you can create content before any review at all.
Should you build on the Threads API directly?
If Threads is your product's main channel, build directly. The API is free, the docs are complete for publishing and Meta ships an open-source sample app. Budget for what sits around it: a tester setup, App Review, a refresh job, a reconnect flow for private profiles whose grant expires, container status polling and a scheduler that keeps each profile under 250 posts a day.
If Threads is one destination among several, that layer is what PostGate's Threads integration covers. Profiles connect through hosted OAuth, and one POST /api/posts publishes now or at a scheduled_at time, with options.threads for topic_tag, reply_control, link_attachment, polls, quote posts, a first comment and the AI label. One detail from the adapter: PostGate sends Threads images as JPEG only, because PNG image URLs have been reported to fail with a generic "Invalid parameter" error even though the docs list PNG.
Frequently asked questions
Is the Threads API free?
Yes. Meta publishes no price for the Threads API and creating the app has no billing step. The real costs are App Review, keeping tokens and permission grants alive, and the 250-post daily limit per profile.
How do I get a Threads API key?
There is no single key. Create a Meta app with the Threads use case and copy the Threads app ID and secret from its settings. Each user then produces an access token through the Threads OAuth window.
Can the Threads API schedule posts?
Not on its own. The publish call has no future publish time, so your system has to store the post and create and publish the container at the scheduled moment, or use a scheduling layer on top of the API.
Why can I only post to my own Threads account?
Your app has not passed App Review for threads_content_publish, or it is not published yet. Until then, only Threads Testers and others with a role on the app can grant permissions.
How long does a Threads access token last?
Short-lived tokens last 1 hour and long-lived tokens 60 days, refreshable once they are 24 hours old. The permission grant lasts 90 days and only extends on refresh for public profiles.
