> ## 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.

# Sync comments from platforms

> Pull social comments from networks for a post’s published platform rows

## Sync comments from platforms

Triggers the same **network fetch** as when you open **SOCIAL** comments in the app (first page of the list): for each **published** `platform_posts` row on the post, the server calls the provider’s comment sync when supported (e.g. Twitter/X, LinkedIn, Bluesky, YouTube, Mastodon).

Rows that are not **published** or lack a `platform_post_id` are skipped (`synced: false` in the response).

### Body

<ParamField body="post_id" type="integer" required>
  Post id (must be in a workspace you can access).
</ParamField>

<RequestExample>
  ```bash theme={null}
  curl -X POST "https://postsyncer.com/api/v1/comments/sync" \
    -H "Authorization: Bearer YOUR_API_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{"post_id":123}'
  ```
</RequestExample>

### Response

`200` - `message` and `data`:

* `post_id` - same as request
* `platform_posts` - array of `{ platform_post_id, provider, synced }` where **`synced`** is `true` only if that row was **published** and a sync was attempted.

### Errors

`401` · `403` · `404` · `422`

See [Comments overview](/api-reference/comments/overview).
