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

# Posts

> One post, sent to one or more accounts, each with its own result.

A **post** is what you write once and send to one or more accounts. Each account it goes to is a **target**, with its own text, its own options and its own result.

```json theme={"system"}
{
  "content": "Our autumn collection is here",
  "mediaIds": ["MEDIA_ID"],
  "targets": [
    { "socialAccountId": "INSTAGRAM_ID", "content": null, "options": { "format": "feed" } },
    { "socialAccountId": "TIKTOK_ID", "content": "Autumn drop 🍂 #fashion", "options": { "mode": "direct", "privacy": "PUBLIC_TO_EVERYONE" } }
  ],
  "schedule": { "mode": "at", "at": "2026-11-01T09:00" }
}
```

A target with `content: null` uses the post's `content`. `options` depend on the platform: see [platform rules](https://docs.postinger.dev/concepts/platform-rules.md).

## Scheduling

| `schedule.mode` | What happens |
| - | - |
| `draft` | Saved, not published. Only needs to be well formed. |
| `now` | Published right away. |
| `at` | Published at `schedule.at`, on the [workspace's clock](https://docs.postinger.dev/concepts/workspaces.md#the-workspaces-clock). Must be in the future. |

A scheduled post must pass every target's platform rules. A draft doesn't have to.

## Post status

| Status | Meaning |
| - | - |
| `draft` | Not scheduled. |
| `scheduled` | Waiting for its time. |
| `publishing` | Going out now. |
| `published` | Every target published. |
| `partial` | Some targets published, some failed. |
| `failed` | Every target failed. |

## Target status

| Status | Meaning |
| - | - |
| `pending` | Not sent yet. |
| `publishing` | Being sent. |
| `processing` | The platform accepted the upload and is processing it. |
| `published` | Done on Postinger's side. Usually live, with `externalUrl` linking to it. `externalUrl` can be empty: a TikTok post in `inbox` mode still waits in the creator's TikTok app, and a private or in-review TikTok video, or a publish whose answer was lost, has no link. |
| `failed` | Didn't go out. `errorCode` and `error` say why. |

## Why a target failed

| `errorCode` | Meaning | What to do |
| - | - | - |
| `reconnect_required` | The account must be connected again. | Reconnect it, then retry. |
| `not_publishable` | The post no longer passes the platform's rules (media deleted, account disconnected). | Fix the post, then retry. |
| `rejected` | The platform refused the post. | Read `error`. |
| `outcome_unknown` | It may have been published. | Check the profile before retrying. |
| `processing_timeout` | The platform took too long processing the media. | Retry. |
| `rate_limited` | The platform limited us for longer than publishing waits. | Retry later. |
| `platform_error` | The platform kept failing, every try. | Retry. |
| `interrupted` | Publishing kept stopping midway. | Retry. |
| `payment_required` | It was due while the plan didn't cover its accounts. | Fix billing, then retry. |

See [Retry failed posts](https://docs.postinger.dev/guides/retry-failed-posts.md).

## Editing safely

Every post has a `version`. Send the `version` you read with `PUT /v1/posts/{id}`: if someone changed the post in the meantime, you get `409` instead of overwriting their change. Published posts can't be edited.


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