> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Post to Threads

> What a Threads account takes through the API: posts, threads, carousels and link previews, who can reply, topics, polls, quotes, ghost posts, spoilers and the AI label, media limits, first comments, deletes, comments and analytics.

A Threads account has `platform` `threads`. It posts single posts and threads, each with text, photos and videos.

## What you can post

* A post with text, a photo, a video, or a carousel of up to 20 photos and videos mixed.
* A thread: each item of `content` is one post, sent as a reply to the one before.
* A link preview on a text-only first post, with `link_attachment`.
* A poll on a text-only first post, with `poll`.
* A quote of another Threads post, with `quote_post_id`.
* A ghost post: one text post that is gone after 24 hours, with `ghost_post`.

## Settings

Every key is optional. [Create a post](/docs/api-reference/posts/create.md#platform-specific-settings) has the full list.

| Key | What it does |
| - | - |
| `title` | Threads' own text for the first post, instead of the first item's text. |
| `link_attachment` | A link shown as a preview card. Used on the first post only, when it has no media. |
| `reply_control` | Who can reply: `everyone` (the default), `accounts_you_follow`, `mentioned_only`, `parent_post_author_only` (this account only) or `followers_only`. On every post of the thread. |
| `reply_approvals` | `true`: replies show only after the account approves them. On every post of the thread. |
| `topic_tag` | The first post's topic, up to 50 characters, without a period or `&`. A `#` in front is dropped. |
| `poll` | A poll on the first post: `enabled: true` and 2 to 4 `options`. Text posts only. |
| `quote_post_id` | The post the first post quotes: its id, or a link to a post of this account. |
| `ai_generated` | `true` labels the posts as made with AI. |
| `has_spoiler` | `true` blurs the photos and videos until someone taps them, on every post of the thread that has some. |
| `ghost_post` | `true` makes the post a ghost post, gone after 24 hours. One text post only. |
| `media` | This account's own media library ids, in place of the first item's media. |

## Replies, topics, polls and quotes

* `reply_control`, `reply_approvals` and `ai_generated` go on every post of the thread, and on the first comment. A reply sent later from the comments screen doesn't take them.
* `topic_tag` helps people interested in the topic find the post. It goes on the first post. A topic with a period or `&`, or over 50 characters, answers `422`.
* A `poll` takes 2 to 4 choices, each up to 25 characters, all different. Threads sets how long it runs. Threads takes a poll only on a text post: a poll with photos or videos (the account's own media included) or a `link_attachment` answers `422`.
* `quote_post_id` takes a Threads post id, or a link to a post of this account, such as `https://www.threads.com/@name/post/DAbc123xyz`. PostSyncer looks the link up among the account's posts sent from PostSyncer, then among its latest 500 on Threads. If it isn't found, the post fails before anything is sent. Threads lets apps quote someone else's post only by its id: a link to another account's post answers `422`.

## Ghost posts

A ghost post (`ghost_post: true`) is a text post that is gone after 24 hours.

* It goes out on its own: photos or videos, a poll, a thread, a first comment, a `link_attachment`, a `topic_tag` or a `quote_post_id` with it answers `422`.
* Threads takes no reply settings or AI label on a ghost post, so `reply_control`, `reply_approvals` and `ai_generated` aren't sent with it.

## Text

Each post takes 500 characters. PostSyncer cuts a longer post to 500 when it's sent. To keep every word, split the text into more items.

## Media

| | Limit |
| - | - |
| Files in one post | Up to 20 photos and videos |
| Photo | Up to 8 MB |
| Video | Up to 5 minutes, up to 500 MB (Threads allows 1 GB; 500 MB is the most PostSyncer takes for one file) |
| Picture types | JPG, PNG, GIF, WebP |
| Video types | MP4, MOV |

* In a thread, each post has its own media under these rules.
* Videos aren't re-encoded for Threads. A video longer than 5 minutes is refused.

## Threads and first comments

* Each item after the first is posted as a reply to the one before. Each item has its own text and media.
* A first comment (`is_first_comment: true`) is a reply at the end of the thread. With `first_comment_delay` `0` it goes out with the thread. With a delay (1 minute when you leave it out), it's posted that many minutes later, under the thread's last post.

## Delete a post

Deleting the post in PostSyncer asks Threads to delete the first post. The rest of the thread and the first comment stay up on Threads. [Test safely](/docs/test-safely.md#what-cant-be-undone) says what happens when Threads refuses.

## Comments

* Threads sends new replies to PostSyncer as they're written. There's no scheduled read.
* Replies go out from the account, with one photo or video, or several as a carousel.
* Hide works. Show again doesn't: `"hidden": false` answers `422` with `This network can't unhide comments.`
* Delete removes a reply from Threads when it was sent from PostSyncer or written by the account. Someone else's reply is hidden on Threads instead (`is_hidden_on_platform: true`).
* If the account needs reconnecting, a delete answers `422` with `Token expired or platform post not found`. If Threads refuses, it answers `500`.

## Analytics

Threads gives `impressions`, `likes`, `comments`, `shares` (reposts and shares) and `quotes`. See [Read analytics](/docs/guides/analytics.md).

## Example

A draft thread with a link preview on the first post:

```json theme={null}
{
  "workspace_id": 4815,
  "schedule_type": "draft",
  "content": [
    { "text": "Our spring menu is up." },
    { "text": "The lavender oat latte is back, and so is the rhubarb bun." }
  ],
  "accounts": [
    { "id": 16243, "settings": { "link_attachment": "https://haldencoffee.example/menu" } }
  ]
}
```

## Related

> [card] [Publish a post](/docs/guides/publish-a-post.md#threads-and-first-comments)
>
> Threads and first comments on every network.

> [card] [Compare the 12 networks](/docs/platforms/overview.md)
>
> How Threads differs from the other networks.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.