Threads API: text, images, video and carousels with APIWings
Status: coming soon. The APIWings integration with Threads is in review: it opens to beta teams once the network approves it. This page describes how it works.
Accounts
Any Threads profile, personal or business. Threads is connected on its own: it does not need the Instagram integration.
Connecting
POST /v1/profiles/{id}/connect/threads returns a connect_url. The user signs in on Threads and allows APIWings to read their basic profile and publish (threads_basic, threads_content_publish).
Threads tokens last 60 days and can be renewed. APIWings renews them automatically in the background, at least 7 days before they expire. If renewal fails (for example the user removed APIWings from their Threads settings), the account must be reconnected and you get account.expiring or account.disconnected.
Supported content
| Rule | |
|---|---|
| Text | Up to 500 characters. Emoji count as their size in bytes (usually 4 each), as Threads counts them. Text-only posts are supported. |
| Text or media | A post needs text, media or both. |
| Images | JPEG or PNG, up to 8 MB. Not wider or taller than 10:1 (checked by Threads). |
| Videos | MP4 or MOV, up to 1 GB and 5 minutes (duration checked by Threads). |
| Carousel | Two or more items make a carousel; images and videos can be mixed. Threads allows up to 20; through APIWings, up to 10 (the per-post media limit). |
Threads downloads each file from APIWings and processes it before publishing. APIWings waits up to 90 seconds (5 minutes with video); if Threads is still processing, the attempt ends with platform_down and is retried (nothing was published yet).
Options
Threads takes no options today.
Result and visibility
visibility:public. The Threads API does not say whether a profile is private; posts of a private profile are only visible to its followers, although the result sayspublic.url: the post's permalink on threads.com.
Limits
Threads allows 250 posts per profile in a moving 24-hour window (a carousel counts as one). GET /v1/accounts/{id}/limits returns the live limit and remaining from Threads.
Errors
| When | Code |
|---|---|
| Text over 500 characters (emoji counted in bytes), no text and no media, more than 10 items | validation_failed (when creating the post) |
| An image that is not JPEG/PNG or over 8 MB; a video that is not MP4/MOV or over 1 GB | media_invalid (when creating the post) |
| Threads could not process a file | media_invalid |
| The media container expired before publishing | platform_rejected |
| The 24-hour limit was reached | rate_limited |
| Token expired or revoked | auth_expired, then account.disconnected |
| Threads unavailable, or still processing | platform_down (retried) |
