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

# Post types and options

> Publish a Reel, Story or feed post on Instagram and Facebook, and set each network's own options.

Each version can carry `options`: settings for one network, keyed by the account's `provider` (from [List accounts](https://api.onlysocial.io/publishing/accounts/list-accounts.md)). Options you leave out keep their defaults.

## Instagram and Facebook: Reel, Story or post

| Provider | Key | Values | Default |
| - | - | - | - |
| `instagram` | `type` | `post`, `reel`, `story` | `post` |
| `facebook_page` | `type` | `post`, `reel`, `story`, `livestream` | `post` |

What each type takes:

| Type | Media |
| - | - |
| `post` | One image or video, or a carousel of two or more images and videos. |
| `reel` | Exactly one video. |
| `story` | Exactly one image or video. The text is not shown. |
| `livestream` (Facebook Pages) | One pre-recorded video, broadcast as a live video on the Page. |

> [!NOTE]
>
> **Instagram: a post with one video is published as a Reel.** Instagram no longer accepts a single video as a feed video, so OnlySocial sends it as a Reel, which Instagram also shows in the feed. A cover frame chosen in the dashboard is kept. You don't need to set `"type": "reel"` for it, though you can.

## Example

This publishes one video as a Reel on an Instagram account and a Facebook Page:

```bash theme={null}
curl -X POST https://app.onlysocial.io/os/api/{workspace-uuid}/posts \
  -H "Authorization: Bearer osk_YOUR_SECRET" \
  -H "Content-Type: application/json" \
  -d '{
    "accounts": [12, 15],
    "date": "2026-11-26",
    "time": "09:00",
    "timezone": "Europe/Berlin",
    "schedule": true,
    "versions": [
      {
        "account_id": 0,
        "is_original": true,
        "content": [
          { "body": "Chewie loves her ball!", "media": [431] }
        ],
        "options": {
          "instagram": { "type": "reel" },
          "facebook_page": { "type": "reel" }
        }
      }
    ]
  }'
```

`media` takes media `id`s from your media library: upload the video first with [Upload a file](https://api.onlysocial.io/publishing/media/upload-a-file.md).

## One account, different options

Options on the original version (`"account_id": 0`) apply to every account of that provider. To give one account something else, add a version with that account's `id` as `account_id` and its own `options`:

```json theme={null}
"versions": [
  {
    "account_id": 0,
    "is_original": true,
    "content": [{ "body": "New menu this week", "media": [431] }],
    "options": { "instagram": { "type": "reel" } }
  },
  {
    "account_id": 18,
    "is_original": false,
    "content": [{ "body": "New menu this week", "media": [431] }],
    "options": { "instagram": { "type": "story" } }
  }
]
```

[Update a post](https://api.onlysocial.io/publishing/posts/update-a-post.md) takes the same `versions`, so you can change a post's type until it goes out.

> [!NOTE]
>
> If a network refuses a post, see [Common publishing errors](https://api.onlysocial.io/publishing/common-errors.md).


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