# Posts API

> Create, schedule and publish posts to connected accounts; track per-account results.

Base URL: `https://api.socialit.com/v1`. Authenticate with `Authorization: Bearer <API key or OAuth token>`.

## List posts

`GET /posts`

Posts with their per-account postings. Filters: status (repeatable), profile_id, account_id, platform, queue_id, tag, search, created_by, from/to on date_field, recycling.

Access: `read` · MCP tool: `list-posts` · Zernio: `GET /v1/posts`

### Query parameters

- `page` (integer; ≥ 1): Page number
- `limit` (integer; 1–100): Items per page (max 100)
- `sort` (string; one of created_at, scheduled_at, published_at, status, updated_at)
- `order` (string; one of asc, desc)
- `match` (string; one of all, or): Combine filters with AND (default) or OR
- `status` (array of string): Status (repeatable or comma-separated): draft, pending_approval, scheduled, publishing, published, partially_published, failed, cancelled
- `profile_id` (string)
- `account_id` (string)
- `platform` (string)
- `queue_id` (string)
- `tag` (string)
- `search` (string; ≤ 200 characters)
- `created_by` (string)
- `from` (string (date-time))
- `to` (string (date-time))
- `date_field` (string; one of scheduled_at, created_at, published_at)
- `recycling` (boolean)

```bash
curl "https://api.socialit.com/v1/posts" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY"
```

Response 200:

```json
{
  "object": "list",
  "data": [
    {
      "object": "post",
      "id": "string",
      "status": "draft",
      "content": "string",
      "title": "string",
      "profile_id": "string",
      "media": [
        {
          "media_id": "string",
          "type": "string",
          "url": "https://example.com",
          "thumbnail_url": "https://example.com",
          "preview_url": "https://example.com",
          "mime_type": "string"
        }
      ],
      "postings": [
        {
          "object": "posting",
          "id": "string",
          "post_id": "string",
          "account_id": "string",
          "platform": "string",
          "account_name": "string"
        }
      ],
      "platform_options": {},
      "first_comment": "string",
      "thread_items": [
        {
          "content": "string",
          "media_ids": []
        }
      ],
      "quote_post_id": "string",
      "quote_url": "https://example.com",
      "reply_to_url": "https://example.com",
      "scheduled_at": "2026-10-13T09:00:00.000Z",
      "timezone": "Europe/Prague",
      "published_at": "2026-10-13T09:00:00.000Z",
      "queue_id": "string",
      "tags": [
        "string"
      ],
      "metadata": {},
      "strict": true,
      "recycle": {
        "enabled": true,
        "interval": 1,
        "interval_unit": "string",
        "start_at": "2026-10-13T09:00:00.000Z",
        "max_count": 1,
        "expires_at": "2026-10-13T09:00:00.000Z"
      },
      "recycled_from_post_id": "string",
      "approval": {
        "status": "pending",
        "requested_by": {
          "type": "string",
          "id": "string",
          "name": "string"
        },
        "requested_at": "2026-10-13T09:00:00.000Z",
        "decided_by": {
          "type": "string",
          "id": "string",
          "name": "string"
        },
        "decided_at": "2026-10-13T09:00:00.000Z",
        "comment": "string"
      },
      "error": "string",
      "warnings": [
        "string"
      ],
      "notes_count": 1,
      "created_by": {
        "type": "string",
        "id": "string",
        "name": "string"
      },
      "created_at": "2026-10-13T09:00:00.000Z",
      "updated_at": "2026-10-13T09:00:00.000Z"
    }
  ],
  "page": 1,
  "limit": 1,
  "total": 1,
  "has_more": true,
  "next_page_url": "https://example.com",
  "previous_page_url": "https://example.com"
}
```

## Create a post

`POST /posts`

Create a draft, schedule it (scheduled_at + timezone), take the next queue slot (queue / queue_id) or publish now (publish_now). Targets: account_ids, targets (per-account overrides), profile_id or group_id (filtered by platforms). Network options go in platform_options. (see GET /posts/platform-options). With workspace approvals on, members create posts in pending_approval.

Access: `write` · MCP tool: `create-post` · Zernio: `POST /v1/posts`

### Headers

- `Idempotency-Key` (string; ≤ 255 characters): Unique key (for example a UUID) that makes retries safe: a repeated request with the same key and body returns the first response (Idempotent-Replayed: true) for 24 hours.

### Body

- `content` (string; ≤ 63206 characters)
- `title` (string | null; ≤ 300 characters)
- `account_ids` (array of string; ≤ 200 items)
- `profile_id` (string | null; ≤ 80 characters)
- `group_id` (string; ≤ 80 characters)
- `platforms` (array of string; ≤ 30 items)
- `targets` (array of object; ≤ 200 items)
  - `targets[].account_id` (string; required; 1–80 characters): socialAccount id (sa_…)
  - `targets[].content` (string; ≤ 63206 characters)
  - `targets[].media_ids` (array of string; ≤ 35 items)
  - `targets[].media_urls` (array of any; ≤ 35 items): Public HTTPS URLs or { url, alt_text?, type? }
  - `targets[].media` (array of object; ≤ 35 items)
    - `targets[].media[].media_id` (string; 1–80 characters): media id (med_…)
    - `targets[].media[].url` (string; ≤ 2048 characters)
    - `targets[].media[].alt_text` (string; ≤ 2000 characters)
    - `targets[].media[].type` (string; one of image, video, gif, document)
  - `targets[].platform_options` (object)
  - `targets[].first_comment` (string; ≤ 10000 characters)
  - `targets[].scheduled_at` (string; ≤ 40 characters)
- `media_ids` (array of string; ≤ 35 items)
- `media_urls` (array of any; ≤ 35 items): Public HTTPS URLs or { url, alt_text?, type? }
- `media` (array of object; ≤ 35 items)
  - `media[].media_id` (string; 1–80 characters): media id (med_…)
  - `media[].url` (string; ≤ 2048 characters)
  - `media[].alt_text` (string; ≤ 2000 characters)
  - `media[].type` (string; one of image, video, gif, document)
- `platform_options` (object)
- `first_comment` (string | null; ≤ 10000 characters)
- `thread_items` (array of object; ≤ 25 items)
  - `thread_items[].content` (string; required; ≤ 63206 characters)
  - `thread_items[].media_ids` (array of string; ≤ 10 items)
- `quote_post_id` (string | null; ≤ 80 characters)
- `quote_url` (string | null; ≤ 2048 characters)
- `reply_to_url` (string | null; ≤ 2048 characters)
- `scheduled_at` (string | null; ≤ 40 characters): ISO 8601; without offset = wall clock in timezone
- `timezone` (string | null; ≤ 64 characters)
- `publish_now` (boolean)
- `queue` (boolean)
- `queue_id` (string | null; ≤ 80 characters)
- `draft` (boolean)
- `tags` (array of string; ≤ 50 items)
- `metadata` (object)
- `strict` (boolean)
- `recycle` (object | null)
  - `recycle.enabled` (boolean; required)
  - `recycle.interval` (integer; 1–365)
  - `recycle.interval_unit` (string; one of day, week, month)
  - `recycle.start_at` (string (date-time))
  - `recycle.max_count` (integer | null; 1–1000)
  - `recycle.expires_at` (string (date-time) | null)
  - `recycle.content_variations` (array of string; ≤ 20 items)
- `note` (string; ≤ 5000 characters)

```bash
curl -X POST "https://api.socialit.com/v1/posts" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "string",
    "title": "string",
    "account_ids": [
      "sa_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd"
    ],
    "profile_id": "string",
    "group_id": "string"
  }'
```

Response 201:

```json
{
  "object": "post",
  "id": "string",
  "status": "draft",
  "content": "string",
  "title": "string",
  "profile_id": "string",
  "media": [
    {
      "media_id": "string",
      "type": "string",
      "url": "https://example.com",
      "thumbnail_url": "https://example.com",
      "preview_url": "https://example.com",
      "mime_type": "string",
      "width": 1,
      "height": 1,
      "duration": 1,
      "alt_text": "string",
      "position": 1
    }
  ],
  "postings": [
    {
      "object": "posting",
      "id": "string",
      "post_id": "string",
      "account_id": "string",
      "platform": "string",
      "account_name": "string",
      "account_username": "string",
      "account_avatar_url": "https://example.com",
      "status": "pending",
      "content": "string",
      "media_ids": [
        "string"
      ],
      "platform_options": {},
      "first_comment": "string",
      "scheduled_at": "2026-10-13T09:00:00.000Z",
      "published_at": "2026-10-13T09:00:00.000Z",
      "external_id": "string",
      "url": "https://example.com",
      "error": "string",
      "error_code": "string",
      "error_category": "string",
      "warnings": [
        "string"
      ],
      "result": {},
      "credits_charged": 1,
      "attempts": 1,
      "unpublished_at": "2026-10-13T09:00:00.000Z",
      "created_at": "2026-10-13T09:00:00.000Z",
      "updated_at": "2026-10-13T09:00:00.000Z"
    }
  ],
  "platform_options": {},
  "first_comment": "string",
  "thread_items": [
    {
      "content": "string",
      "media_ids": [
        "string"
      ]
    }
  ],
  "quote_post_id": "string",
  "quote_url": "https://example.com",
  "reply_to_url": "https://example.com",
  "scheduled_at": "2026-10-13T09:00:00.000Z",
  "timezone": "Europe/Prague",
  "published_at": "2026-10-13T09:00:00.000Z",
  "queue_id": "string",
  "tags": [
    "string"
  ],
  "metadata": {},
  "strict": true,
  "recycle": {
    "enabled": true,
    "interval": 1,
    "interval_unit": "string",
    "start_at": "2026-10-13T09:00:00.000Z",
    "max_count": 1,
    "expires_at": "2026-10-13T09:00:00.000Z",
    "content_variations": [
      "string"
    ],
    "count": 1,
    "next_at": "2026-10-13T09:00:00.000Z",
    "last_at": "2026-10-13T09:00:00.000Z"
  },
  "recycled_from_post_id": "string",
  "approval": {
    "status": "pending",
    "requested_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "requested_at": "2026-10-13T09:00:00.000Z",
    "decided_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "decided_at": "2026-10-13T09:00:00.000Z",
    "comment": "string",
    "requested_action": "string"
  },
  "error": "string",
  "warnings": [
    "string"
  ],
  "notes_count": 1,
  "created_by": {
    "type": "string",
    "id": "string",
    "name": "string"
  },
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}
```

## Publish option schemas per network

`GET /posts/platform-options`

JSON schema of platform_options.<network> for every network, from each network adapter.

Access: `read` · MCP tool: `get-post-platform-options`

```bash
curl "https://api.socialit.com/v1/posts/platform-options" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY"
```

Response 200:

```json
{
  "object": "platform_options_schemas",
  "data": {
    "key": {}
  }
}
```

## Bulk create posts from CSV

`POST /posts/bulk-upload`

multipart/form-data file (CSV, ≤ 5,000 rows, ≤ 10 MB) or JSON { csv }. ?dry_run=true validates only. Columns: accounts, profile, platforms, content, title, media_urls, scheduled_at, timezone, publish_now, queue, queue_id, draft, first_comment, tags, content_, media_urls_, scheduled_at_ (Zernio aliases accepted).

Access: `write` · MCP tool: `bulk-upload-posts` · Zernio: `POST /v1/posts/bulk-upload`

### Query parameters

- `dry_run` (boolean)

### Headers

- `Idempotency-Key` (string; ≤ 255 characters): Unique key (for example a UUID) that makes retries safe: a repeated request with the same key and body returns the first response (Idempotent-Replayed: true) for 24 hours.

### Body

- `csv` (string)

```bash
curl -X POST "https://api.socialit.com/v1/posts/bulk-upload" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "csv": "string"
  }'
```

Response 200:

```json
{
  "object": "bulk_upload",
  "dry_run": true,
  "total": 1,
  "valid": 1,
  "invalid": 1,
  "created": 1,
  "warnings": [
    "string"
  ],
  "results": [
    {
      "row": 1,
      "valid": true,
      "post_id": "string",
      "status": "string",
      "errors": [
        "string"
      ],
      "warnings": [
        "string"
      ]
    }
  ]
}
```

## Get a post

`GET /posts/{id}`

Access: `read` · MCP tool: `get-post` · Zernio: `GET /v1/posts/{postId}`

### Path parameters

- `id` (string; required; 1–80 characters): post id (pst_…)

```bash
curl "https://api.socialit.com/v1/posts/pst_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY"
```

Response 200:

```json
{
  "object": "post",
  "id": "string",
  "status": "draft",
  "content": "string",
  "title": "string",
  "profile_id": "string",
  "media": [
    {
      "media_id": "string",
      "type": "string",
      "url": "https://example.com",
      "thumbnail_url": "https://example.com",
      "preview_url": "https://example.com",
      "mime_type": "string",
      "width": 1,
      "height": 1,
      "duration": 1,
      "alt_text": "string",
      "position": 1
    }
  ],
  "postings": [
    {
      "object": "posting",
      "id": "string",
      "post_id": "string",
      "account_id": "string",
      "platform": "string",
      "account_name": "string",
      "account_username": "string",
      "account_avatar_url": "https://example.com",
      "status": "pending",
      "content": "string",
      "media_ids": [
        "string"
      ],
      "platform_options": {},
      "first_comment": "string",
      "scheduled_at": "2026-10-13T09:00:00.000Z",
      "published_at": "2026-10-13T09:00:00.000Z",
      "external_id": "string",
      "url": "https://example.com",
      "error": "string",
      "error_code": "string",
      "error_category": "string",
      "warnings": [
        "string"
      ],
      "result": {},
      "credits_charged": 1,
      "attempts": 1,
      "unpublished_at": "2026-10-13T09:00:00.000Z",
      "created_at": "2026-10-13T09:00:00.000Z",
      "updated_at": "2026-10-13T09:00:00.000Z"
    }
  ],
  "platform_options": {},
  "first_comment": "string",
  "thread_items": [
    {
      "content": "string",
      "media_ids": [
        "string"
      ]
    }
  ],
  "quote_post_id": "string",
  "quote_url": "https://example.com",
  "reply_to_url": "https://example.com",
  "scheduled_at": "2026-10-13T09:00:00.000Z",
  "timezone": "Europe/Prague",
  "published_at": "2026-10-13T09:00:00.000Z",
  "queue_id": "string",
  "tags": [
    "string"
  ],
  "metadata": {},
  "strict": true,
  "recycle": {
    "enabled": true,
    "interval": 1,
    "interval_unit": "string",
    "start_at": "2026-10-13T09:00:00.000Z",
    "max_count": 1,
    "expires_at": "2026-10-13T09:00:00.000Z",
    "content_variations": [
      "string"
    ],
    "count": 1,
    "next_at": "2026-10-13T09:00:00.000Z",
    "last_at": "2026-10-13T09:00:00.000Z"
  },
  "recycled_from_post_id": "string",
  "approval": {
    "status": "pending",
    "requested_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "requested_at": "2026-10-13T09:00:00.000Z",
    "decided_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "decided_at": "2026-10-13T09:00:00.000Z",
    "comment": "string",
    "requested_action": "string"
  },
  "error": "string",
  "warnings": [
    "string"
  ],
  "notes_count": 1,
  "created_by": {
    "type": "string",
    "id": "string",
    "name": "string"
  },
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}
```

## Update a post

`PATCH /posts/{id}`

Drafts, pending, scheduled, failed, partially published and cancelled posts. Published posts only accept recycle, tags, metadata and title. Targets/media sent replace the current ones.

Access: `write` · MCP tool: `update-post` · Zernio: `PUT /v1/posts/{postId}`

### Path parameters

- `id` (string; required; 1–80 characters): post id (pst_…)

### Body

- `content` (string; ≤ 63206 characters)
- `title` (string | null; ≤ 300 characters)
- `account_ids` (array of string; ≤ 200 items)
- `profile_id` (string | null; ≤ 80 characters)
- `group_id` (string; ≤ 80 characters)
- `platforms` (array of string; ≤ 30 items)
- `targets` (array of object; ≤ 200 items)
  - `targets[].account_id` (string; required; 1–80 characters): socialAccount id (sa_…)
  - `targets[].content` (string; ≤ 63206 characters)
  - `targets[].media_ids` (array of string; ≤ 35 items)
  - `targets[].media_urls` (array of any; ≤ 35 items): Public HTTPS URLs or { url, alt_text?, type? }
  - `targets[].media` (array of object; ≤ 35 items)
    - `targets[].media[].media_id` (string; 1–80 characters): media id (med_…)
    - `targets[].media[].url` (string; ≤ 2048 characters)
    - `targets[].media[].alt_text` (string; ≤ 2000 characters)
    - `targets[].media[].type` (string; one of image, video, gif, document)
  - `targets[].platform_options` (object)
  - `targets[].first_comment` (string; ≤ 10000 characters)
  - `targets[].scheduled_at` (string; ≤ 40 characters)
- `media_ids` (array of string; ≤ 35 items)
- `media_urls` (array of any; ≤ 35 items): Public HTTPS URLs or { url, alt_text?, type? }
- `media` (array of object; ≤ 35 items)
  - `media[].media_id` (string; 1–80 characters): media id (med_…)
  - `media[].url` (string; ≤ 2048 characters)
  - `media[].alt_text` (string; ≤ 2000 characters)
  - `media[].type` (string; one of image, video, gif, document)
- `platform_options` (object)
- `first_comment` (string | null; ≤ 10000 characters)
- `thread_items` (array of object; ≤ 25 items)
  - `thread_items[].content` (string; required; ≤ 63206 characters)
  - `thread_items[].media_ids` (array of string; ≤ 10 items)
- `quote_post_id` (string | null; ≤ 80 characters)
- `quote_url` (string | null; ≤ 2048 characters)
- `reply_to_url` (string | null; ≤ 2048 characters)
- `scheduled_at` (string | null; ≤ 40 characters): ISO 8601; without offset = wall clock in timezone
- `timezone` (string | null; ≤ 64 characters)
- `publish_now` (boolean)
- `queue` (boolean)
- `queue_id` (string | null; ≤ 80 characters)
- `draft` (boolean)
- `tags` (array of string; ≤ 50 items)
- `metadata` (object)
- `strict` (boolean)
- `recycle` (object | null)
  - `recycle.enabled` (boolean; required)
  - `recycle.interval` (integer; 1–365)
  - `recycle.interval_unit` (string; one of day, week, month)
  - `recycle.start_at` (string (date-time))
  - `recycle.max_count` (integer | null; 1–1000)
  - `recycle.expires_at` (string (date-time) | null)
  - `recycle.content_variations` (array of string; ≤ 20 items)
- `note` (string; ≤ 5000 characters)
- `schedule` (boolean): Schedule a draft at scheduled_at

```bash
curl -X PATCH "https://api.socialit.com/v1/posts/pst_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "string",
    "title": "string",
    "account_ids": [
      "sa_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd"
    ],
    "profile_id": "string",
    "group_id": "string"
  }'
```

Response 200:

```json
{
  "object": "post",
  "id": "string",
  "status": "draft",
  "content": "string",
  "title": "string",
  "profile_id": "string",
  "media": [
    {
      "media_id": "string",
      "type": "string",
      "url": "https://example.com",
      "thumbnail_url": "https://example.com",
      "preview_url": "https://example.com",
      "mime_type": "string",
      "width": 1,
      "height": 1,
      "duration": 1,
      "alt_text": "string",
      "position": 1
    }
  ],
  "postings": [
    {
      "object": "posting",
      "id": "string",
      "post_id": "string",
      "account_id": "string",
      "platform": "string",
      "account_name": "string",
      "account_username": "string",
      "account_avatar_url": "https://example.com",
      "status": "pending",
      "content": "string",
      "media_ids": [
        "string"
      ],
      "platform_options": {},
      "first_comment": "string",
      "scheduled_at": "2026-10-13T09:00:00.000Z",
      "published_at": "2026-10-13T09:00:00.000Z",
      "external_id": "string",
      "url": "https://example.com",
      "error": "string",
      "error_code": "string",
      "error_category": "string",
      "warnings": [
        "string"
      ],
      "result": {},
      "credits_charged": 1,
      "attempts": 1,
      "unpublished_at": "2026-10-13T09:00:00.000Z",
      "created_at": "2026-10-13T09:00:00.000Z",
      "updated_at": "2026-10-13T09:00:00.000Z"
    }
  ],
  "platform_options": {},
  "first_comment": "string",
  "thread_items": [
    {
      "content": "string",
      "media_ids": [
        "string"
      ]
    }
  ],
  "quote_post_id": "string",
  "quote_url": "https://example.com",
  "reply_to_url": "https://example.com",
  "scheduled_at": "2026-10-13T09:00:00.000Z",
  "timezone": "Europe/Prague",
  "published_at": "2026-10-13T09:00:00.000Z",
  "queue_id": "string",
  "tags": [
    "string"
  ],
  "metadata": {},
  "strict": true,
  "recycle": {
    "enabled": true,
    "interval": 1,
    "interval_unit": "string",
    "start_at": "2026-10-13T09:00:00.000Z",
    "max_count": 1,
    "expires_at": "2026-10-13T09:00:00.000Z",
    "content_variations": [
      "string"
    ],
    "count": 1,
    "next_at": "2026-10-13T09:00:00.000Z",
    "last_at": "2026-10-13T09:00:00.000Z"
  },
  "recycled_from_post_id": "string",
  "approval": {
    "status": "pending",
    "requested_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "requested_at": "2026-10-13T09:00:00.000Z",
    "decided_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "decided_at": "2026-10-13T09:00:00.000Z",
    "comment": "string",
    "requested_action": "string"
  },
  "error": "string",
  "warnings": [
    "string"
  ],
  "notes_count": 1,
  "created_by": {
    "type": "string",
    "id": "string",
    "name": "string"
  },
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}
```

## Delete a post

`DELETE /posts/{id}`

delete_on_network=true also deletes the published copies on the networks (failures are returned as warnings).

Access: `write` · MCP tool: `delete-post` · Zernio: `DELETE /v1/posts/{postId}`

### Path parameters

- `id` (string; required; 1–80 characters): post id (pst_…)

### Query parameters

- `delete_on_network` (boolean)

```bash
curl -X DELETE "https://api.socialit.com/v1/posts/pst_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY"
```

Response 200:

```json
{
  "object": "post",
  "id": "string",
  "deleted": true,
  "warnings": [
    "string"
  ]
}
```

## Schedule, queue or publish a draft

`POST /posts/{id}/schedule`

Access: `write` · MCP tool: `schedule-post`

### Path parameters

- `id` (string; required; 1–80 characters): post id (pst_…)

### Headers

- `Idempotency-Key` (string; ≤ 255 characters): Unique key (for example a UUID) that makes retries safe: a repeated request with the same key and body returns the first response (Idempotent-Replayed: true) for 24 hours.

### Body

- `scheduled_at` (string | null; ≤ 40 characters): ISO 8601; without offset = wall clock in timezone
- `timezone` (string | null; ≤ 64 characters)
- `publish_now` (boolean)
- `queue` (boolean)
- `queue_id` (string | null; ≤ 80 characters)

```bash
curl -X POST "https://api.socialit.com/v1/posts/pst_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd/schedule" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "scheduled_at": "2026-10-13T09:00:00.000Z",
    "timezone": "Europe/Prague",
    "publish_now": true,
    "queue": true,
    "queue_id": "string"
  }'
```

Response 200:

```json
{
  "object": "post",
  "id": "string",
  "status": "draft",
  "content": "string",
  "title": "string",
  "profile_id": "string",
  "media": [
    {
      "media_id": "string",
      "type": "string",
      "url": "https://example.com",
      "thumbnail_url": "https://example.com",
      "preview_url": "https://example.com",
      "mime_type": "string",
      "width": 1,
      "height": 1,
      "duration": 1,
      "alt_text": "string",
      "position": 1
    }
  ],
  "postings": [
    {
      "object": "posting",
      "id": "string",
      "post_id": "string",
      "account_id": "string",
      "platform": "string",
      "account_name": "string",
      "account_username": "string",
      "account_avatar_url": "https://example.com",
      "status": "pending",
      "content": "string",
      "media_ids": [
        "string"
      ],
      "platform_options": {},
      "first_comment": "string",
      "scheduled_at": "2026-10-13T09:00:00.000Z",
      "published_at": "2026-10-13T09:00:00.000Z",
      "external_id": "string",
      "url": "https://example.com",
      "error": "string",
      "error_code": "string",
      "error_category": "string",
      "warnings": [
        "string"
      ],
      "result": {},
      "credits_charged": 1,
      "attempts": 1,
      "unpublished_at": "2026-10-13T09:00:00.000Z",
      "created_at": "2026-10-13T09:00:00.000Z",
      "updated_at": "2026-10-13T09:00:00.000Z"
    }
  ],
  "platform_options": {},
  "first_comment": "string",
  "thread_items": [
    {
      "content": "string",
      "media_ids": [
        "string"
      ]
    }
  ],
  "quote_post_id": "string",
  "quote_url": "https://example.com",
  "reply_to_url": "https://example.com",
  "scheduled_at": "2026-10-13T09:00:00.000Z",
  "timezone": "Europe/Prague",
  "published_at": "2026-10-13T09:00:00.000Z",
  "queue_id": "string",
  "tags": [
    "string"
  ],
  "metadata": {},
  "strict": true,
  "recycle": {
    "enabled": true,
    "interval": 1,
    "interval_unit": "string",
    "start_at": "2026-10-13T09:00:00.000Z",
    "max_count": 1,
    "expires_at": "2026-10-13T09:00:00.000Z",
    "content_variations": [
      "string"
    ],
    "count": 1,
    "next_at": "2026-10-13T09:00:00.000Z",
    "last_at": "2026-10-13T09:00:00.000Z"
  },
  "recycled_from_post_id": "string",
  "approval": {
    "status": "pending",
    "requested_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "requested_at": "2026-10-13T09:00:00.000Z",
    "decided_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "decided_at": "2026-10-13T09:00:00.000Z",
    "comment": "string",
    "requested_action": "string"
  },
  "error": "string",
  "warnings": [
    "string"
  ],
  "notes_count": 1,
  "created_by": {
    "type": "string",
    "id": "string",
    "name": "string"
  },
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}
```

## Cancel a scheduled post

`POST /posts/{id}/cancel`

Access: `write` · MCP tool: `cancel-post`

### Path parameters

- `id` (string; required; 1–80 characters): post id (pst_…)

```bash
curl -X POST "https://api.socialit.com/v1/posts/pst_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd/cancel" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY"
```

Response 200:

```json
{
  "object": "post",
  "id": "string",
  "status": "draft",
  "content": "string",
  "title": "string",
  "profile_id": "string",
  "media": [
    {
      "media_id": "string",
      "type": "string",
      "url": "https://example.com",
      "thumbnail_url": "https://example.com",
      "preview_url": "https://example.com",
      "mime_type": "string",
      "width": 1,
      "height": 1,
      "duration": 1,
      "alt_text": "string",
      "position": 1
    }
  ],
  "postings": [
    {
      "object": "posting",
      "id": "string",
      "post_id": "string",
      "account_id": "string",
      "platform": "string",
      "account_name": "string",
      "account_username": "string",
      "account_avatar_url": "https://example.com",
      "status": "pending",
      "content": "string",
      "media_ids": [
        "string"
      ],
      "platform_options": {},
      "first_comment": "string",
      "scheduled_at": "2026-10-13T09:00:00.000Z",
      "published_at": "2026-10-13T09:00:00.000Z",
      "external_id": "string",
      "url": "https://example.com",
      "error": "string",
      "error_code": "string",
      "error_category": "string",
      "warnings": [
        "string"
      ],
      "result": {},
      "credits_charged": 1,
      "attempts": 1,
      "unpublished_at": "2026-10-13T09:00:00.000Z",
      "created_at": "2026-10-13T09:00:00.000Z",
      "updated_at": "2026-10-13T09:00:00.000Z"
    }
  ],
  "platform_options": {},
  "first_comment": "string",
  "thread_items": [
    {
      "content": "string",
      "media_ids": [
        "string"
      ]
    }
  ],
  "quote_post_id": "string",
  "quote_url": "https://example.com",
  "reply_to_url": "https://example.com",
  "scheduled_at": "2026-10-13T09:00:00.000Z",
  "timezone": "Europe/Prague",
  "published_at": "2026-10-13T09:00:00.000Z",
  "queue_id": "string",
  "tags": [
    "string"
  ],
  "metadata": {},
  "strict": true,
  "recycle": {
    "enabled": true,
    "interval": 1,
    "interval_unit": "string",
    "start_at": "2026-10-13T09:00:00.000Z",
    "max_count": 1,
    "expires_at": "2026-10-13T09:00:00.000Z",
    "content_variations": [
      "string"
    ],
    "count": 1,
    "next_at": "2026-10-13T09:00:00.000Z",
    "last_at": "2026-10-13T09:00:00.000Z"
  },
  "recycled_from_post_id": "string",
  "approval": {
    "status": "pending",
    "requested_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "requested_at": "2026-10-13T09:00:00.000Z",
    "decided_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "decided_at": "2026-10-13T09:00:00.000Z",
    "comment": "string",
    "requested_action": "string"
  },
  "error": "string",
  "warnings": [
    "string"
  ],
  "notes_count": 1,
  "created_by": {
    "type": "string",
    "id": "string",
    "name": "string"
  },
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}
```

## Retry failed postings

`POST /posts/{id}/retry`

Re-publish the failed postings of a failed or partially published post (optionally only account_ids).

Access: `write` · MCP tool: `retry-post` · Zernio: `POST /v1/posts/{postId}/retry`

### Path parameters

- `id` (string; required; 1–80 characters): post id (pst_…)

### Headers

- `Idempotency-Key` (string; ≤ 255 characters): Unique key (for example a UUID) that makes retries safe: a repeated request with the same key and body returns the first response (Idempotent-Replayed: true) for 24 hours.

### Body

- `account_ids` (array of string)

```bash
curl -X POST "https://api.socialit.com/v1/posts/pst_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd/retry" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "account_ids": [
      "sa_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd"
    ]
  }'
```

Response 200:

```json
{
  "object": "post",
  "id": "string",
  "status": "draft",
  "content": "string",
  "title": "string",
  "profile_id": "string",
  "media": [
    {
      "media_id": "string",
      "type": "string",
      "url": "https://example.com",
      "thumbnail_url": "https://example.com",
      "preview_url": "https://example.com",
      "mime_type": "string",
      "width": 1,
      "height": 1,
      "duration": 1,
      "alt_text": "string",
      "position": 1
    }
  ],
  "postings": [
    {
      "object": "posting",
      "id": "string",
      "post_id": "string",
      "account_id": "string",
      "platform": "string",
      "account_name": "string",
      "account_username": "string",
      "account_avatar_url": "https://example.com",
      "status": "pending",
      "content": "string",
      "media_ids": [
        "string"
      ],
      "platform_options": {},
      "first_comment": "string",
      "scheduled_at": "2026-10-13T09:00:00.000Z",
      "published_at": "2026-10-13T09:00:00.000Z",
      "external_id": "string",
      "url": "https://example.com",
      "error": "string",
      "error_code": "string",
      "error_category": "string",
      "warnings": [
        "string"
      ],
      "result": {},
      "credits_charged": 1,
      "attempts": 1,
      "unpublished_at": "2026-10-13T09:00:00.000Z",
      "created_at": "2026-10-13T09:00:00.000Z",
      "updated_at": "2026-10-13T09:00:00.000Z"
    }
  ],
  "platform_options": {},
  "first_comment": "string",
  "thread_items": [
    {
      "content": "string",
      "media_ids": [
        "string"
      ]
    }
  ],
  "quote_post_id": "string",
  "quote_url": "https://example.com",
  "reply_to_url": "https://example.com",
  "scheduled_at": "2026-10-13T09:00:00.000Z",
  "timezone": "Europe/Prague",
  "published_at": "2026-10-13T09:00:00.000Z",
  "queue_id": "string",
  "tags": [
    "string"
  ],
  "metadata": {},
  "strict": true,
  "recycle": {
    "enabled": true,
    "interval": 1,
    "interval_unit": "string",
    "start_at": "2026-10-13T09:00:00.000Z",
    "max_count": 1,
    "expires_at": "2026-10-13T09:00:00.000Z",
    "content_variations": [
      "string"
    ],
    "count": 1,
    "next_at": "2026-10-13T09:00:00.000Z",
    "last_at": "2026-10-13T09:00:00.000Z"
  },
  "recycled_from_post_id": "string",
  "approval": {
    "status": "pending",
    "requested_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "requested_at": "2026-10-13T09:00:00.000Z",
    "decided_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "decided_at": "2026-10-13T09:00:00.000Z",
    "comment": "string",
    "requested_action": "string"
  },
  "error": "string",
  "warnings": [
    "string"
  ],
  "notes_count": 1,
  "created_by": {
    "type": "string",
    "id": "string",
    "name": "string"
  },
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}
```

## Delete a published post on the networks

`POST /posts/{id}/unpublish`

Delete the live post on one account (account_id / platform) or every published account.

Access: `write` · MCP tool: `unpublish-post` · Zernio: `POST /v1/posts/{postId}/unpublish`

### Path parameters

- `id` (string; required; 1–80 characters): post id (pst_…)

### Headers

- `Idempotency-Key` (string; ≤ 255 characters): Unique key (for example a UUID) that makes retries safe: a repeated request with the same key and body returns the first response (Idempotent-Replayed: true) for 24 hours.

### Body

- `account_id` (string; 1–80 characters): socialAccount id (sa_…)
- `platform` (string; 1–40 characters): Platform (facebook, instagram, x, linkedin, threads, bluesky, pinterest, tiktok, youtube, google_business, reddit, snapchat, discord, mastodon; aliases twitter, googlebusiness, meta)

```bash
curl -X POST "https://api.socialit.com/v1/posts/pst_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd/unpublish" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "account_id": "sa_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd",
    "platform": "string"
  }'
```

Response 200:

```json
{
  "object": "post",
  "id": "string",
  "status": "draft",
  "content": "string",
  "title": "string",
  "profile_id": "string",
  "media": [
    {
      "media_id": "string",
      "type": "string",
      "url": "https://example.com",
      "thumbnail_url": "https://example.com",
      "preview_url": "https://example.com",
      "mime_type": "string",
      "width": 1,
      "height": 1,
      "duration": 1,
      "alt_text": "string",
      "position": 1
    }
  ],
  "postings": [
    {
      "object": "posting",
      "id": "string",
      "post_id": "string",
      "account_id": "string",
      "platform": "string",
      "account_name": "string",
      "account_username": "string",
      "account_avatar_url": "https://example.com",
      "status": "pending",
      "content": "string",
      "media_ids": [
        "string"
      ],
      "platform_options": {},
      "first_comment": "string",
      "scheduled_at": "2026-10-13T09:00:00.000Z",
      "published_at": "2026-10-13T09:00:00.000Z",
      "external_id": "string",
      "url": "https://example.com",
      "error": "string",
      "error_code": "string",
      "error_category": "string",
      "warnings": [
        "string"
      ],
      "result": {},
      "credits_charged": 1,
      "attempts": 1,
      "unpublished_at": "2026-10-13T09:00:00.000Z",
      "created_at": "2026-10-13T09:00:00.000Z",
      "updated_at": "2026-10-13T09:00:00.000Z"
    }
  ],
  "platform_options": {},
  "first_comment": "string",
  "thread_items": [
    {
      "content": "string",
      "media_ids": [
        "string"
      ]
    }
  ],
  "quote_post_id": "string",
  "quote_url": "https://example.com",
  "reply_to_url": "https://example.com",
  "scheduled_at": "2026-10-13T09:00:00.000Z",
  "timezone": "Europe/Prague",
  "published_at": "2026-10-13T09:00:00.000Z",
  "queue_id": "string",
  "tags": [
    "string"
  ],
  "metadata": {},
  "strict": true,
  "recycle": {
    "enabled": true,
    "interval": 1,
    "interval_unit": "string",
    "start_at": "2026-10-13T09:00:00.000Z",
    "max_count": 1,
    "expires_at": "2026-10-13T09:00:00.000Z",
    "content_variations": [
      "string"
    ],
    "count": 1,
    "next_at": "2026-10-13T09:00:00.000Z",
    "last_at": "2026-10-13T09:00:00.000Z"
  },
  "recycled_from_post_id": "string",
  "approval": {
    "status": "pending",
    "requested_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "requested_at": "2026-10-13T09:00:00.000Z",
    "decided_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "decided_at": "2026-10-13T09:00:00.000Z",
    "comment": "string",
    "requested_action": "string"
  },
  "error": "string",
  "warnings": [
    "string"
  ],
  "notes_count": 1,
  "created_by": {
    "type": "string",
    "id": "string",
    "name": "string"
  },
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}
```

## Edit a published post on the network

`POST /posts/{id}/edit`

Access: `write` · MCP tool: `edit-published-post` · Zernio: `POST /v1/posts/{postId}/edit`

### Path parameters

- `id` (string; required; 1–80 characters): post id (pst_…)

### Headers

- `Idempotency-Key` (string; ≤ 255 characters): Unique key (for example a UUID) that makes retries safe: a repeated request with the same key and body returns the first response (Idempotent-Replayed: true) for 24 hours.

### Body

- `account_id` (string; 1–80 characters): socialAccount id (sa_…)
- `platform` (string; 1–40 characters): Platform (facebook, instagram, x, linkedin, threads, bluesky, pinterest, tiktok, youtube, google_business, reddit, snapchat, discord, mastodon; aliases twitter, googlebusiness, meta)
- `content` (string; required; 1–63206 characters)
- `media_ids` (array of string; ≤ 35 items)

```bash
curl -X POST "https://api.socialit.com/v1/posts/pst_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd/edit" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "account_id": "sa_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd",
    "platform": "string",
    "content": "string",
    "media_ids": [
      "med_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd"
    ]
  }'
```

Response 200:

```json
{
  "object": "post",
  "id": "string",
  "status": "draft",
  "content": "string",
  "title": "string",
  "profile_id": "string",
  "media": [
    {
      "media_id": "string",
      "type": "string",
      "url": "https://example.com",
      "thumbnail_url": "https://example.com",
      "preview_url": "https://example.com",
      "mime_type": "string",
      "width": 1,
      "height": 1,
      "duration": 1,
      "alt_text": "string",
      "position": 1
    }
  ],
  "postings": [
    {
      "object": "posting",
      "id": "string",
      "post_id": "string",
      "account_id": "string",
      "platform": "string",
      "account_name": "string",
      "account_username": "string",
      "account_avatar_url": "https://example.com",
      "status": "pending",
      "content": "string",
      "media_ids": [
        "string"
      ],
      "platform_options": {},
      "first_comment": "string",
      "scheduled_at": "2026-10-13T09:00:00.000Z",
      "published_at": "2026-10-13T09:00:00.000Z",
      "external_id": "string",
      "url": "https://example.com",
      "error": "string",
      "error_code": "string",
      "error_category": "string",
      "warnings": [
        "string"
      ],
      "result": {},
      "credits_charged": 1,
      "attempts": 1,
      "unpublished_at": "2026-10-13T09:00:00.000Z",
      "created_at": "2026-10-13T09:00:00.000Z",
      "updated_at": "2026-10-13T09:00:00.000Z"
    }
  ],
  "platform_options": {},
  "first_comment": "string",
  "thread_items": [
    {
      "content": "string",
      "media_ids": [
        "string"
      ]
    }
  ],
  "quote_post_id": "string",
  "quote_url": "https://example.com",
  "reply_to_url": "https://example.com",
  "scheduled_at": "2026-10-13T09:00:00.000Z",
  "timezone": "Europe/Prague",
  "published_at": "2026-10-13T09:00:00.000Z",
  "queue_id": "string",
  "tags": [
    "string"
  ],
  "metadata": {},
  "strict": true,
  "recycle": {
    "enabled": true,
    "interval": 1,
    "interval_unit": "string",
    "start_at": "2026-10-13T09:00:00.000Z",
    "max_count": 1,
    "expires_at": "2026-10-13T09:00:00.000Z",
    "content_variations": [
      "string"
    ],
    "count": 1,
    "next_at": "2026-10-13T09:00:00.000Z",
    "last_at": "2026-10-13T09:00:00.000Z"
  },
  "recycled_from_post_id": "string",
  "approval": {
    "status": "pending",
    "requested_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "requested_at": "2026-10-13T09:00:00.000Z",
    "decided_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "decided_at": "2026-10-13T09:00:00.000Z",
    "comment": "string",
    "requested_action": "string"
  },
  "error": "string",
  "warnings": [
    "string"
  ],
  "notes_count": 1,
  "created_by": {
    "type": "string",
    "id": "string",
    "name": "string"
  },
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}
```

## Update video metadata (YouTube)

`POST /posts/{id}/update-metadata`

Title, description, tags, category, privacy, scheduled publish time, thumbnail and playlist of a YouTube video published by this post (or any video_id of the account).

Access: `write` · MCP tool: `update-post-metadata` · Zernio: `POST /v1/posts/{postId}/update-metadata`

### Path parameters

- `id` (string; required; 1–80 characters): post id (pst_…)

### Headers

- `Idempotency-Key` (string; ≤ 255 characters): Unique key (for example a UUID) that makes retries safe: a repeated request with the same key and body returns the first response (Idempotent-Replayed: true) for 24 hours.

### Body

- `account_id` (string; 1–80 characters): socialAccount id (sa_…)
- `platform` (string; 1–40 characters): Platform (facebook, instagram, x, linkedin, threads, bluesky, pinterest, tiktok, youtube, google_business, reddit, snapchat, discord, mastodon; aliases twitter, googlebusiness, meta)
- `video_id` (string; ≤ 64 characters)
- `title` (string; ≤ 100 characters)
- `description` (string; ≤ 5000 characters)
- `tags` (array of string; ≤ 500 items)
- `category_id` (string; ≤ 10 characters)
- `privacy_status` (string; one of public, unlisted, private)
- `publish_at` (string (date-time))
- `thumbnail_url` (string; ≤ 2048 characters)
- `made_for_kids` (boolean)
- `contains_synthetic_media` (boolean)
- `playlist_id` (string; ≤ 64 characters)
- `license` (string; one of youtube, creativeCommon)
- `embeddable` (boolean)
- `public_stats_viewable` (boolean)
- `default_language` (string; ≤ 20 characters)

```bash
curl -X POST "https://api.socialit.com/v1/posts/pst_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd/update-metadata" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "account_id": "sa_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd",
    "platform": "string",
    "video_id": "string",
    "title": "string",
    "description": "string"
  }'
```

Response 200:

```json
{
  "object": "post",
  "id": "string",
  "status": "draft",
  "content": "string",
  "title": "string",
  "profile_id": "string",
  "media": [
    {
      "media_id": "string",
      "type": "string",
      "url": "https://example.com",
      "thumbnail_url": "https://example.com",
      "preview_url": "https://example.com",
      "mime_type": "string",
      "width": 1,
      "height": 1,
      "duration": 1,
      "alt_text": "string",
      "position": 1
    }
  ],
  "postings": [
    {
      "object": "posting",
      "id": "string",
      "post_id": "string",
      "account_id": "string",
      "platform": "string",
      "account_name": "string",
      "account_username": "string",
      "account_avatar_url": "https://example.com",
      "status": "pending",
      "content": "string",
      "media_ids": [
        "string"
      ],
      "platform_options": {},
      "first_comment": "string",
      "scheduled_at": "2026-10-13T09:00:00.000Z",
      "published_at": "2026-10-13T09:00:00.000Z",
      "external_id": "string",
      "url": "https://example.com",
      "error": "string",
      "error_code": "string",
      "error_category": "string",
      "warnings": [
        "string"
      ],
      "result": {},
      "credits_charged": 1,
      "attempts": 1,
      "unpublished_at": "2026-10-13T09:00:00.000Z",
      "created_at": "2026-10-13T09:00:00.000Z",
      "updated_at": "2026-10-13T09:00:00.000Z"
    }
  ],
  "platform_options": {},
  "first_comment": "string",
  "thread_items": [
    {
      "content": "string",
      "media_ids": [
        "string"
      ]
    }
  ],
  "quote_post_id": "string",
  "quote_url": "https://example.com",
  "reply_to_url": "https://example.com",
  "scheduled_at": "2026-10-13T09:00:00.000Z",
  "timezone": "Europe/Prague",
  "published_at": "2026-10-13T09:00:00.000Z",
  "queue_id": "string",
  "tags": [
    "string"
  ],
  "metadata": {},
  "strict": true,
  "recycle": {
    "enabled": true,
    "interval": 1,
    "interval_unit": "string",
    "start_at": "2026-10-13T09:00:00.000Z",
    "max_count": 1,
    "expires_at": "2026-10-13T09:00:00.000Z",
    "content_variations": [
      "string"
    ],
    "count": 1,
    "next_at": "2026-10-13T09:00:00.000Z",
    "last_at": "2026-10-13T09:00:00.000Z"
  },
  "recycled_from_post_id": "string",
  "approval": {
    "status": "pending",
    "requested_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "requested_at": "2026-10-13T09:00:00.000Z",
    "decided_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "decided_at": "2026-10-13T09:00:00.000Z",
    "comment": "string",
    "requested_action": "string"
  },
  "error": "string",
  "warnings": [
    "string"
  ],
  "notes_count": 1,
  "created_by": {
    "type": "string",
    "id": "string",
    "name": "string"
  },
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}
```

## Duplicate a post

`POST /posts/{id}/duplicate`

Access: `write` · MCP tool: `duplicate-post`

### Path parameters

- `id` (string; required; 1–80 characters): post id (pst_…)

### Headers

- `Idempotency-Key` (string; ≤ 255 characters): Unique key (for example a UUID) that makes retries safe: a repeated request with the same key and body returns the first response (Idempotent-Replayed: true) for 24 hours.

### Body

- `scheduled_at` (string; ≤ 40 characters)
- `account_ids` (array of string)

```bash
curl -X POST "https://api.socialit.com/v1/posts/pst_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd/duplicate" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "scheduled_at": "2026-10-13T09:00:00.000Z",
    "account_ids": [
      "sa_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd"
    ]
  }'
```

Response 201:

```json
{
  "object": "post",
  "id": "string",
  "status": "draft",
  "content": "string",
  "title": "string",
  "profile_id": "string",
  "media": [
    {
      "media_id": "string",
      "type": "string",
      "url": "https://example.com",
      "thumbnail_url": "https://example.com",
      "preview_url": "https://example.com",
      "mime_type": "string",
      "width": 1,
      "height": 1,
      "duration": 1,
      "alt_text": "string",
      "position": 1
    }
  ],
  "postings": [
    {
      "object": "posting",
      "id": "string",
      "post_id": "string",
      "account_id": "string",
      "platform": "string",
      "account_name": "string",
      "account_username": "string",
      "account_avatar_url": "https://example.com",
      "status": "pending",
      "content": "string",
      "media_ids": [
        "string"
      ],
      "platform_options": {},
      "first_comment": "string",
      "scheduled_at": "2026-10-13T09:00:00.000Z",
      "published_at": "2026-10-13T09:00:00.000Z",
      "external_id": "string",
      "url": "https://example.com",
      "error": "string",
      "error_code": "string",
      "error_category": "string",
      "warnings": [
        "string"
      ],
      "result": {},
      "credits_charged": 1,
      "attempts": 1,
      "unpublished_at": "2026-10-13T09:00:00.000Z",
      "created_at": "2026-10-13T09:00:00.000Z",
      "updated_at": "2026-10-13T09:00:00.000Z"
    }
  ],
  "platform_options": {},
  "first_comment": "string",
  "thread_items": [
    {
      "content": "string",
      "media_ids": [
        "string"
      ]
    }
  ],
  "quote_post_id": "string",
  "quote_url": "https://example.com",
  "reply_to_url": "https://example.com",
  "scheduled_at": "2026-10-13T09:00:00.000Z",
  "timezone": "Europe/Prague",
  "published_at": "2026-10-13T09:00:00.000Z",
  "queue_id": "string",
  "tags": [
    "string"
  ],
  "metadata": {},
  "strict": true,
  "recycle": {
    "enabled": true,
    "interval": 1,
    "interval_unit": "string",
    "start_at": "2026-10-13T09:00:00.000Z",
    "max_count": 1,
    "expires_at": "2026-10-13T09:00:00.000Z",
    "content_variations": [
      "string"
    ],
    "count": 1,
    "next_at": "2026-10-13T09:00:00.000Z",
    "last_at": "2026-10-13T09:00:00.000Z"
  },
  "recycled_from_post_id": "string",
  "approval": {
    "status": "pending",
    "requested_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "requested_at": "2026-10-13T09:00:00.000Z",
    "decided_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "decided_at": "2026-10-13T09:00:00.000Z",
    "comment": "string",
    "requested_action": "string"
  },
  "error": "string",
  "warnings": [
    "string"
  ],
  "notes_count": 1,
  "created_by": {
    "type": "string",
    "id": "string",
    "name": "string"
  },
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}
```

## Approve a pending post

`POST /posts/{id}/approve`

Owners, admins and the approvers in publishing settings. Runs the requested action (schedule, publish now or queue).

Access: `write` · MCP tool: `approve-post`

### Path parameters

- `id` (string; required; 1–80 characters): post id (pst_…)

### Headers

- `Idempotency-Key` (string; ≤ 255 characters): Unique key (for example a UUID) that makes retries safe: a repeated request with the same key and body returns the first response (Idempotent-Replayed: true) for 24 hours.

### Body

- `comment` (string; ≤ 5000 characters)

```bash
curl -X POST "https://api.socialit.com/v1/posts/pst_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd/approve" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "comment": "string"
  }'
```

Response 200:

```json
{
  "object": "post",
  "id": "string",
  "status": "draft",
  "content": "string",
  "title": "string",
  "profile_id": "string",
  "media": [
    {
      "media_id": "string",
      "type": "string",
      "url": "https://example.com",
      "thumbnail_url": "https://example.com",
      "preview_url": "https://example.com",
      "mime_type": "string",
      "width": 1,
      "height": 1,
      "duration": 1,
      "alt_text": "string",
      "position": 1
    }
  ],
  "postings": [
    {
      "object": "posting",
      "id": "string",
      "post_id": "string",
      "account_id": "string",
      "platform": "string",
      "account_name": "string",
      "account_username": "string",
      "account_avatar_url": "https://example.com",
      "status": "pending",
      "content": "string",
      "media_ids": [
        "string"
      ],
      "platform_options": {},
      "first_comment": "string",
      "scheduled_at": "2026-10-13T09:00:00.000Z",
      "published_at": "2026-10-13T09:00:00.000Z",
      "external_id": "string",
      "url": "https://example.com",
      "error": "string",
      "error_code": "string",
      "error_category": "string",
      "warnings": [
        "string"
      ],
      "result": {},
      "credits_charged": 1,
      "attempts": 1,
      "unpublished_at": "2026-10-13T09:00:00.000Z",
      "created_at": "2026-10-13T09:00:00.000Z",
      "updated_at": "2026-10-13T09:00:00.000Z"
    }
  ],
  "platform_options": {},
  "first_comment": "string",
  "thread_items": [
    {
      "content": "string",
      "media_ids": [
        "string"
      ]
    }
  ],
  "quote_post_id": "string",
  "quote_url": "https://example.com",
  "reply_to_url": "https://example.com",
  "scheduled_at": "2026-10-13T09:00:00.000Z",
  "timezone": "Europe/Prague",
  "published_at": "2026-10-13T09:00:00.000Z",
  "queue_id": "string",
  "tags": [
    "string"
  ],
  "metadata": {},
  "strict": true,
  "recycle": {
    "enabled": true,
    "interval": 1,
    "interval_unit": "string",
    "start_at": "2026-10-13T09:00:00.000Z",
    "max_count": 1,
    "expires_at": "2026-10-13T09:00:00.000Z",
    "content_variations": [
      "string"
    ],
    "count": 1,
    "next_at": "2026-10-13T09:00:00.000Z",
    "last_at": "2026-10-13T09:00:00.000Z"
  },
  "recycled_from_post_id": "string",
  "approval": {
    "status": "pending",
    "requested_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "requested_at": "2026-10-13T09:00:00.000Z",
    "decided_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "decided_at": "2026-10-13T09:00:00.000Z",
    "comment": "string",
    "requested_action": "string"
  },
  "error": "string",
  "warnings": [
    "string"
  ],
  "notes_count": 1,
  "created_by": {
    "type": "string",
    "id": "string",
    "name": "string"
  },
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}
```

## Reject a pending post

`POST /posts/{id}/reject`

Access: `write` · MCP tool: `reject-post`

### Path parameters

- `id` (string; required; 1–80 characters): post id (pst_…)

### Headers

- `Idempotency-Key` (string; ≤ 255 characters): Unique key (for example a UUID) that makes retries safe: a repeated request with the same key and body returns the first response (Idempotent-Replayed: true) for 24 hours.

### Body

- `comment` (string; ≤ 5000 characters)
- `reason` (string; ≤ 500 characters)

```bash
curl -X POST "https://api.socialit.com/v1/posts/pst_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd/reject" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "comment": "string",
    "reason": "string"
  }'
```

Response 200:

```json
{
  "object": "post",
  "id": "string",
  "status": "draft",
  "content": "string",
  "title": "string",
  "profile_id": "string",
  "media": [
    {
      "media_id": "string",
      "type": "string",
      "url": "https://example.com",
      "thumbnail_url": "https://example.com",
      "preview_url": "https://example.com",
      "mime_type": "string",
      "width": 1,
      "height": 1,
      "duration": 1,
      "alt_text": "string",
      "position": 1
    }
  ],
  "postings": [
    {
      "object": "posting",
      "id": "string",
      "post_id": "string",
      "account_id": "string",
      "platform": "string",
      "account_name": "string",
      "account_username": "string",
      "account_avatar_url": "https://example.com",
      "status": "pending",
      "content": "string",
      "media_ids": [
        "string"
      ],
      "platform_options": {},
      "first_comment": "string",
      "scheduled_at": "2026-10-13T09:00:00.000Z",
      "published_at": "2026-10-13T09:00:00.000Z",
      "external_id": "string",
      "url": "https://example.com",
      "error": "string",
      "error_code": "string",
      "error_category": "string",
      "warnings": [
        "string"
      ],
      "result": {},
      "credits_charged": 1,
      "attempts": 1,
      "unpublished_at": "2026-10-13T09:00:00.000Z",
      "created_at": "2026-10-13T09:00:00.000Z",
      "updated_at": "2026-10-13T09:00:00.000Z"
    }
  ],
  "platform_options": {},
  "first_comment": "string",
  "thread_items": [
    {
      "content": "string",
      "media_ids": [
        "string"
      ]
    }
  ],
  "quote_post_id": "string",
  "quote_url": "https://example.com",
  "reply_to_url": "https://example.com",
  "scheduled_at": "2026-10-13T09:00:00.000Z",
  "timezone": "Europe/Prague",
  "published_at": "2026-10-13T09:00:00.000Z",
  "queue_id": "string",
  "tags": [
    "string"
  ],
  "metadata": {},
  "strict": true,
  "recycle": {
    "enabled": true,
    "interval": 1,
    "interval_unit": "string",
    "start_at": "2026-10-13T09:00:00.000Z",
    "max_count": 1,
    "expires_at": "2026-10-13T09:00:00.000Z",
    "content_variations": [
      "string"
    ],
    "count": 1,
    "next_at": "2026-10-13T09:00:00.000Z",
    "last_at": "2026-10-13T09:00:00.000Z"
  },
  "recycled_from_post_id": "string",
  "approval": {
    "status": "pending",
    "requested_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "requested_at": "2026-10-13T09:00:00.000Z",
    "decided_by": {
      "type": "string",
      "id": "string",
      "name": "string"
    },
    "decided_at": "2026-10-13T09:00:00.000Z",
    "comment": "string",
    "requested_action": "string"
  },
  "error": "string",
  "warnings": [
    "string"
  ],
  "notes_count": 1,
  "created_by": {
    "type": "string",
    "id": "string",
    "name": "string"
  },
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}
```

## List internal notes of a post

`GET /posts/{id}/notes`

Access: `read` · MCP tool: `list-post-notes`

### Path parameters

- `id` (string; required; 1–80 characters): post id (pst_…)

```bash
curl "https://api.socialit.com/v1/posts/pst_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd/notes" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY"
```

Response 200:

```json
{
  "object": "list",
  "data": [
    {
      "object": "post_note",
      "id": "string",
      "post_id": "string",
      "kind": "note",
      "body": "string",
      "author": {
        "type": "string",
        "id": "string",
        "name": "string"
      },
      "created_at": "2026-10-13T09:00:00.000Z",
      "updated_at": "2026-10-13T09:00:00.000Z"
    }
  ],
  "page": 1,
  "limit": 1,
  "total": 1,
  "has_more": true,
  "next_page_url": "https://example.com",
  "previous_page_url": "https://example.com"
}
```

## Add an internal note to a post

`POST /posts/{id}/notes`

Access: `write` · MCP tool: `create-post-note`

### Path parameters

- `id` (string; required; 1–80 characters): post id (pst_…)

### Headers

- `Idempotency-Key` (string; ≤ 255 characters): Unique key (for example a UUID) that makes retries safe: a repeated request with the same key and body returns the first response (Idempotent-Replayed: true) for 24 hours.

### Body

- `body` (string; required; 1–5000 characters)

```bash
curl -X POST "https://api.socialit.com/v1/posts/pst_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd/notes" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "body": "string"
  }'
```

Response 201:

```json
{
  "object": "post_note",
  "id": "string",
  "post_id": "string",
  "kind": "note",
  "body": "string",
  "author": {
    "type": "string",
    "id": "string",
    "name": "string"
  },
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}
```

## Edit a post note

`PATCH /posts/{id}/notes/{noteId}`

Access: `write` · MCP tool: `update-post-note`

### Path parameters

- `id` (string; required; 1–80 characters): post id (pst_…)
- `noteId` (string; required; 1–80 characters): postNote id (pnt_…)

### Body

- `body` (string; required; 1–5000 characters)

```bash
curl -X PATCH "https://api.socialit.com/v1/posts/pst_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd/notes/pnt_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "body": "string"
  }'
```

Response 200:

```json
{
  "object": "post_note",
  "id": "string",
  "post_id": "string",
  "kind": "note",
  "body": "string",
  "author": {
    "type": "string",
    "id": "string",
    "name": "string"
  },
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}
```

## Delete a post note

`DELETE /posts/{id}/notes/{noteId}`

Access: `write` · MCP tool: `delete-post-note`

### Path parameters

- `id` (string; required; 1–80 characters): post id (pst_…)
- `noteId` (string; required; 1–80 characters): postNote id (pnt_…)

```bash
curl -X DELETE "https://api.socialit.com/v1/posts/pst_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd/notes/pnt_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY"
```

Response 200:

```json
{
  "object": "post_note",
  "id": "string",
  "deleted": true
}
```

## List postings

`GET /postings`

One row per post × account with its publish status, network id, URL and error.

Access: `read` · MCP tool: `list-postings`

### Query parameters

- `page` (integer; ≥ 1): Page number
- `limit` (integer; 1–100): Items per page (max 100)
- `sort` (string; one of created_at, published_at, updated_at)
- `order` (string; one of asc, desc)
- `match` (string; one of all, or): Combine filters with AND (default) or OR
- `status` (string; one of pending, processing, published, failed, cancelled)
- `post_id` (string)
- `account_id` (string)
- `platform` (string)

```bash
curl "https://api.socialit.com/v1/postings" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY"
```

Response 200:

```json
{
  "object": "list",
  "data": [
    {
      "object": "posting",
      "id": "string",
      "post_id": "string",
      "account_id": "string",
      "platform": "string",
      "account_name": "string",
      "account_username": "string",
      "account_avatar_url": "https://example.com",
      "status": "pending",
      "content": "string",
      "media_ids": [
        "string"
      ],
      "platform_options": {},
      "first_comment": "string",
      "scheduled_at": "2026-10-13T09:00:00.000Z",
      "published_at": "2026-10-13T09:00:00.000Z",
      "external_id": "string",
      "url": "https://example.com",
      "error": "string",
      "error_code": "string",
      "error_category": "string",
      "warnings": [
        "string"
      ],
      "result": {},
      "credits_charged": 1,
      "attempts": 1,
      "unpublished_at": "2026-10-13T09:00:00.000Z",
      "created_at": "2026-10-13T09:00:00.000Z",
      "updated_at": "2026-10-13T09:00:00.000Z"
    }
  ],
  "page": 1,
  "limit": 1,
  "total": 1,
  "has_more": true,
  "next_page_url": "https://example.com",
  "previous_page_url": "https://example.com"
}
```

## Get a posting

`GET /postings/{id}`

Access: `read` · MCP tool: `get-posting`

### Path parameters

- `id` (string; required; 1–80 characters): socialPosting id (sp_…)

```bash
curl "https://api.socialit.com/v1/postings/sp_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY"
```

Response 200:

```json
{
  "object": "posting",
  "id": "string",
  "post_id": "string",
  "account_id": "string",
  "platform": "string",
  "account_name": "string",
  "account_username": "string",
  "account_avatar_url": "https://example.com",
  "status": "pending",
  "content": "string",
  "media_ids": [
    "string"
  ],
  "platform_options": {},
  "first_comment": "string",
  "scheduled_at": "2026-10-13T09:00:00.000Z",
  "published_at": "2026-10-13T09:00:00.000Z",
  "external_id": "string",
  "url": "https://example.com",
  "error": "string",
  "error_code": "string",
  "error_category": "string",
  "warnings": [
    "string"
  ],
  "result": {},
  "credits_charged": 1,
  "attempts": 1,
  "unpublished_at": "2026-10-13T09:00:00.000Z",
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}
```

## Get publishing settings

`GET /publishing/settings`

Approval workflow settings and the plan publishing limits.

Access: `read` · MCP tool: `get-publishing-settings`

```bash
curl "https://api.socialit.com/v1/publishing/settings" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY"
```

Response 200:

```json
{
  "object": "publishing_settings",
  "require_approval": true,
  "approver_ids": [
    "string"
  ],
  "default_timezone": "string",
  "posts_per_account_per_day": 1,
  "posts_per_month": 1,
  "posts_this_month": 1
}
```

## Update publishing settings

`PATCH /publishing/settings`

Access: `admin` · MCP tool: `update-publishing-settings`

### Body

- `require_approval` (boolean)
- `approver_ids` (array of string; ≤ 100 items)
- `default_timezone` (string | null; ≤ 64 characters)

```bash
curl -X PATCH "https://api.socialit.com/v1/publishing/settings" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "require_approval": true,
    "approver_ids": [
      "usr_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd"
    ],
    "default_timezone": "string"
  }'
```

Response 200:

```json
{
  "object": "publishing_settings",
  "require_approval": true,
  "approver_ids": [
    "string"
  ],
  "default_timezone": "string",
  "posts_per_account_per_day": 1,
  "posts_per_month": 1,
  "posts_this_month": 1
}
```


---

Source: https://socialit.com/docs/api-reference/posts/
