Bluesky API without AT Protocol boilerplate
Building directly on Bluesky’s AT Protocol means hand-calculating UTF-8 byte-offset facets for every link, hashtag and @mention, fetching Open Graph thumbnails for website cards, compressing blobs under Bluesky’s image ceiling, and managing session JWT renewals. PostSyncer handles all of it in one REST call.
- Automatic UTF-8 facets for links, @handles and #hashtags plus website cards
- Multi-post threads, quote posts, reply rules, language tags and content labels
- Auto-compressed photos, GIF-to-video handling and MOV/WebM conversion to MP4
- Cancel anytime
- Unlimited posts on paid plans
curl -X POST "https://postsyncer.com/api/v1/posts" \
-H "Authorization: Bearer $POSTSYNCER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"workspace_id": 4815,
"schedule_type": "schedule",
"schedule_for": {
"date": "2026-12-09",
"time": "10:30",
"timezone": "America/Los_Angeles"
},
"content": [
{
"text": "Our spring espresso menu is live today. #coffee"
},
{
"text": "Washed Guji and honey-processed Caturra are both on bar all week."
}
],
"accounts": [
{
"id": 16245,
"settings": {
"website_card": {
"uri": "https://haldencoffee.example/menu",
"title": "Spring Menu at Halden Coffee"
},
"languages": [
"en"
],
"reply_rules": [
"followers"
],
"allow_quotes": true
}
}
]
}'PostSyncer builds AT Protocol facets for #coffee, fetches the website card image if omitted, chains item 2 as a reply and applies threadgate rules.
01 Quick start
Live on Bluesky in three steps
- 1
Connect Bluesky with an app password
Authorize your Bluesky handle with an app password inside PostSyncer or send a hosted connect link via
POST /accounts/connect-linkswith provider: bluesky. - 2
Send threads, cards, quotes or media
Call
POST /postswith text, up to 4 photos or one video, optionalwebsite_card,quote_post_url,reply_rules, languages andcontent_labels. - 3
Sync replies and track engagement
Read Bluesky replies on schedule or via
POST /comments/sync, reply with up to 4 photos or a video, and query likes, replies, reposts, quotes and saves via/analytics.
02 Endpoints
Bluesky endpoints on one REST API
Every Bluesky operation runs on https://postsyncer.com/api/v1 with Bearer API keys and resource:action permissions.
| Endpoint | Permission | What it does |
|---|---|---|
POST/api/v1/posts | posts:create / schedule / publish | Publish Bluesky single posts, threads, website cards, quote posts, photos and videos. |
POST/api/v1/accounts/connect-links | accounts:create | Create a hosted connect link with provider: bluesky for handle and app-password setup. |
DELETE/api/v1/posts/{id} | posts:delete | Cancel scheduled posts or ask Bluesky to delete the first post of a published thread. |
GET/api/v1/comments | comments:read | Read Bluesky replies synced on schedule or on demand via POST /comments/sync. |
POST/api/v1/comments | comments:create | Reply to a Bluesky comment with text, up to 4 photos or one video. |
GET/api/v1/analytics/posts/{id} | analytics:read | Read likes, comments, shares (reposts), quotes and saves for a Bluesky post. |
03 Media and text specs
What you can publish to Bluesky
Verified media limits, text caps and platform behaviors PostSyncer enforces when sending to Bluesky.
| Type | Formats | Limit | Notes |
|---|---|---|---|
| Photos | JPG, PNG, GIF, WebP | Up to 4 · 5 MB upload | Photos over 1.5 MB are compressed automatically to fit Bluesky’s blob size ceiling. |
| Video & solo GIF | MP4, MOV, WebM · GIF | 1 video · up to 100 MB | MOV and WebM convert to MP4 automatically; a lone GIF uploads as a looping video so it animates. |
| Text & facets | Plain text + auto facets | 300 characters per post | Links, valid @handles and #hashtags auto-convert to AT Protocol facets; split longer text into content[] items. |
| Website card | uri + optional title/desc | First post without media | Missing card title, description and thumbnail image are scraped automatically from the target URL. |
| Languages & labels | ISO 639-1 · content_labels | Up to 3 languages | content_labels (sexual, nudity, porn, graphic-media) apply to posts with media or a website card. |
Platform behavior
Bluesky at a glance
- platform key
- bluesky
- Threads & first comment
- Multi-item content[] publishes as chained replies;
is_first_commentposts at the end of the thread (delay 0 sends inline). - Session handling
- Connects with handle + app password; PostSyncer refreshes expired sessions automatically unless the app password is revoked.
- Deleting posts
DELETE /posts/{id} requests Bluesky to delete the first post; remaining thread replies stay live.- Comments API
- Synced on schedule; reply (+4 photos or 1 video) and delete own replies. Bluesky cannot hide comments (returns 422).
- Analytics metrics
- likes, comments, shares (reposts), quotes and saves (Bluesky does not expose impressions, so
engagement_rateis null).
04 Capabilities and settings
Everything the Bluesky API handles for you
AT Protocol gives developers rich primitives — threadgates, postgates, self-labels, external link cards and DID quotes — and PostSyncer exposes them as plain JSON.
Zero-math AT Protocol facets
Bluesky requires exact UTF-8 byte ranges for every clickable URL, #hashtag and @handle DID. PostSyncer parses your text, resolves active handles and builds every facet record automatically.
Automatic website link cards
Supply settings.
website_cardwith a URI on a text-only first post; if you leave out title or description, PostSyncer reads the page’s metadata and preview image and uploads the blob for you.Threadgates & quote controls
Restrict who can reply across an entire thread via
reply_rules(mentioned, followers, following or ["nobody"]), and disable quote posts across every item withallow_quotes: false.Automatic photo compression & MP4 conversion
Bluesky enforces strict blob limits on images and MP4 video uploads. PostSyncer compresses images over 1.5 MB, transcodes MOV and WebM into MP4, and sends standalone GIFs as video so animations play.
Quote posts by URL or at:// URI
Pass any bsky.app post link (with handle or DID) or raw at:// URI in
quote_post_url; PostSyncer verifies the target post exists before publishing so broken links fail cleanly.Self-labels & multi-language tagging
Tag up to 3 ISO 639-1 language codes across your thread for Bluesky’s language feeds, and apply sexual, nudity, porn or graphic-media warnings on media posts and link cards.
Bluesky per-post settings keys
Pass any of these optional keys inside accounts[].settings on POST /posts or PATCH /posts/{id}. Keys for other networks are ignored when cross-posting.
| Setting key | Value | What it controls |
|---|---|---|
title | string (cut at 300 chars) | Bluesky-specific copy for the first post, overriding content[0].text. |
website_card | { uri, title?, description? } | Rich link card on a media-free first post; missing metadata and image are fetched from the page. |
quote_post_url | string (URL or at://) | bsky.app URL or at:// URI of a Bluesky post to quote alongside media or a website card. |
languages | string[] (max 3) | Up to 3 ISO 639-1 codes (for example en, pt-BR) applied across every post in the thread. |
reply_rules | string[] | Threadgate rules: any mix of mentioned, followers, following, or ["nobody"] to close replies. |
allow_quotes | boolean | Set false to attach a postgate preventing other users from quoting the thread or first comment. |
content_labels | string[] | Content warning on media/cards: sexual, nudity or porn, and/or graphic-media. |
media | number[] | Replace the first item’s media with Bluesky-specific media library IDs. |
Why teams wrap AT Protocol instead of hand-coding facets and blobs
Bluesky’s AT Protocol is open and well documented, yet shipping reliable cross-posting on top of it introduces subtle failure modes: facets are indexed by UTF-8 byte offsets rather than JavaScript UTF-16 code units (meaning a single emoji shifts every downstream link offset), website cards require scraping Open Graph tags and uploading a separate image blob before creating the record, and images above about 2 MB fail unless resized.
PostSyncer runs that entire pipeline reliably behind POST /api/v1/posts. Your application sends plain text, media URLs and high-level settings while PostSyncer handles DID resolution, byte-accurate facets, blob compression, MOV/WebM transcoding and automatic app-password session renewal.
How reply_rules, allow_quotes and quote_post_url behave in production
Bluesky applies threadgates (reply_rules) and postgates (allow_quotes: false) via follow-up records right after creating the post. If the Bluesky PDS refuses a gate record, your post remains published and PostSyncer returns a setting_not_applied diagnostic naming the exact rule and reason so nothing fails silently.
By contrast, quote_post_url is checked twice. A link that is not a Bluesky post link or at:// address is refused with 422 when you save the post, and at publish PostSyncer finds the quoted post before any record is created: if it was deleted, the post fails with that reason instead of going out as a broken empty quote.
Replies, self-labels and analytics on Bluesky
PostSyncer reads Bluesky replies an hour after publishing, every 6 hours on day one, and daily through day seven (plus on-demand POST /comments/sync). Replies sent through POST /comments can attach up to 4 photos or one video. Because Bluesky has no hide-reply feature, PATCH /comments/{id}/hide returns 422 telling you to delete the comment instead (Bluesky removes only replies your account wrote).
For metrics, Bluesky exposes likes, comments, shares (reposts), quotes and saves — because Bluesky does not publish impression counts, engagement_rate stays null rather than being fabricated.
05 Response and MCP
Same Bluesky rules over REST and MCP
Use the REST API from your backend or connect an AI agent to the Bluesky MCP server using the same accounts, permissions and rate limits.
AI agent alternative
Write Bluesky threads and website cards from an AI agent via MCP
Connect ChatGPT, Claude, Claude Code or Cursor to PostSyncer’s MCP server so your agent splits long posts into 300-character Bluesky threads, attaches website cards and answers replies.
“Split this product update into a 3-post Bluesky thread in English for Wednesday at 10:30 AM with our changelog link as a website card.”
PostSyncer MCP server
https:// postsyncer.com/ mcpCross-posting
Ship Bluesky plus all 12 networks from one schema
Add more account IDs to the same POST /posts request to publish to Bluesky, Instagram, YouTube, LinkedIn, X and the rest together. Each account reads its own settings block while sharing the media upload and schedule.
Limits and plans
What each plan allows
The Bluesky REST API is available on every PostSyncer plan, Free included. Paid plans remove the monthly post cap; every plan shares 60 requests a minute.
| Plan | Social accounts | Posts | API posts a day, per network |
|---|---|---|---|
| Free | 2 | 20 a month | Within the 20 |
| Starter$29 a month | 10 | Unlimited | Unlimited |
| Pro$49 a month | 30 | Unlimited | Unlimited |
| Agency$99 a month | 100, then $1/mo each | Unlimited | Unlimited |
Every plan: 60 requests a minute for each PostSyncer user, across all their keys, the API and the MCP server together.
401The API key is missing, wrong or past its end date.403The key lacks the resource:action permission, or the plan limit was reached (plan_limit_reached).422A field failed validation or the network’s rules refused a file, setting or text length.429Too many requests: more than 60 in a minute across your user’s keys, API and MCP together.
Docs
Read more in the docs
- Bluesky platform guideMedia limits, settings, comments and analytics on Bluesky
- Create a postFull POST /posts request schema and platform settings
- QuickstartAPI keys, workspace IDs and your first scheduled post
- Authentication and permissionsBearer API keys and resource:action permissions
- Media uploads and video coversURL imports, file uploads and cover frames
- Compare all 12 networksSide-by-side matrix of media, threads, comments and deletes
All 12 networks
Explore every platform API on PostSyncer
FAQ
Bluesky API questions
Need help with a specific endpoint or webhook? Ask us in live chat.
Chat with usHow does a Bluesky account authenticate with PostSyncer?
Bluesky connects using the account handle and a Bluesky app password created in Bluesky settings. PostSyncer renews expired sessions automatically unless that app password is deleted.
Do I have to build AT Protocol facets for links, mentions and hashtags?
No. PostSyncer automatically detects URLs, valid @handles and #hashtags in your text and generates byte-accurate AT Protocol facets before publishing.
Can I attach a website link preview card on Bluesky?
Yes. Pass settings.website_card with a uri (plus optional title and description) on a media-free first post. PostSyncer fetches missing metadata and preview images automatically.
Can I publish animated GIFs and videos to Bluesky?
Yes. A standalone GIF is uploaded as a video so it plays automatically, and MOV or WebM videos up to 100 MB are converted to MP4 before upload.
How do Bluesky threads and first comments work?
Multiple items in content[] publish as chained replies on Bluesky, and an is_first_comment item posts at the end of the thread (immediately when first_comment_delay is 0).
Why does Bluesky analytics omit impressions?
Bluesky does not expose impression counts through its API. PostSyncer returns likes, comments, reposts (shares), quotes and saves, leaving impressions and engagement_rate as null.
Publish Bluesky threads and cards without AT Protocol friction.
Create a Bearer API key in Settings → API and ship Bluesky publishing alongside all 12 networks.
- No card for free
- Cancel anytime
- Unlimited posts on paid plans