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

# Blog-to-social

> Blog feeds that turn a workspace's new blog articles into posts.

> [!NOTE]
>
> Each route needs its `blog_sources` permission: `blog_sources:read` to list, `blog_sources:create`, `blog_sources:update` and `blog_sources:delete` to change them. The same permission gates the matching [MCP tool](https://docs.postsyncer.com/mcp/tools-reference.md#blog-to-social). See [Permissions](https://docs.postsyncer.com/essentials/authentication.md#permissions).

A blog feed watches a blog. When a new article appears, PostSyncer writes a post about it with AI for the feed's accounts, and saves it as a draft or schedules it, as the feed says. In the app, feeds are on the **Blog to social** page.

The posts are written from the workspace owner's AI credits, and only while the owner is on a paid plan. On Free a feed can be saved, but no post is written from it. When the credits run out, PostSyncer pauses the owner's feeds (`is_active: false`); resume one with [Update a blog feed](https://docs.postsyncer.com/api-reference/blog-sources/update.md) and `active: true`.

| Method | Path | What it does | MCP tool |
| - | - | - | - |
| GET | [`/blog-sources`](https://docs.postsyncer.com/api-reference/blog-sources/list) | Every feed, newest first, with its 5 newest posts. | `list-blog-sources` |
| POST | [`/blog-sources`](https://docs.postsyncer.com/api-reference/blog-sources/create) | Add a feed, once an article is found at its address. | `create-blog-source` |
| PUT | [`/blog-sources/{id}`](https://docs.postsyncer.com/api-reference/blog-sources/update) | Change it, or pause and resume it. | `update-blog-source` |
| DELETE | [`/blog-sources/{id}`](https://docs.postsyncer.com/api-reference/blog-sources/delete) | Delete it. The posts it made stay. | `delete-blog-source` |

## The blog feed object

| Field | Type | Description |
| - | - | - |
| `id` | integer | The feed's id. |
| `workspace_id` | integer | The workspace it belongs to. |
| `name` | string | The name shown in the app. |
| `url` | string | The blog's page or its RSS or Atom feed. |
| `account_ids` (sent) / `accounts` (answered) | array | The accounts its posts go to, as [account objects](https://docs.postsyncer.com/api-reference/accounts/list.md) in answers. |
| `image_option` | string | The picture with each post: `WITHOUT_IMAGE`, `BLOG_FEATURED_IMAGE` (the article's own), `AUTO` or `WITH_IMAGE` (one PostSyncer picks or makes), or an AI card: `AI_SOCIAL_QUOTE_CARD`, `AI_SOCIAL_INFOGRAPHIC`, `AI_SOCIAL_MINIMAL`. |
| `posting_schedule` | string | `DAILY` (at `posting_time`), `AUTO_QUEUE` (the workspace's next free posting time) or `DRAFT` (saved as a draft for you to check). |
| `link_placement` | string | Where the article's link goes: `MAIN_POST`, `FIRST_COMMENT` or `NO_LINK`. |
| `posting_time` | string or null | For `DAILY`: the time of day in the workspace's timezone. Sent like `09:00`, answered like `09:00 AM`. |
| `custom_prompt` | string or null | Extra words for the AI that writes the posts, up to 5,000 characters. |
| `is_active` | boolean | `false` while the feed is paused. |
| `posts_count` | integer | Posts the feed has made. |
| `recent_posts` | array | Its 5 newest posts, newest first: `id`, `status`, the start of `content`, `created_at`. |
| `created_at`, `updated_at` | string | ISO 8601. |

## Roles

The person who owns the key also needs a role that allows it in the feed's workspace. A feed writes posts, so the post roles apply: every role can read feeds, and owners, managers, content managers and content creators can add, change and delete them. If not, the request is refused with `403`.

A feed of a workspace the key's person is not in is answered with `404`, as if it did not exist.


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