Skip to main content
POST
/
comments
/
sync
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}'

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

post_id
integer
required
Post id (must be in a workspace you can access).
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}'

Response

200message 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.