Skip to content
Black Friday: 40% off the first year, until December 1
Bluesky REST APIBluesky handles via app password

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
Free plan: 2 accounts, 20 posts a month, no cardNeed AI agents? Bluesky MCP
  • 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. 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-links with provider: bluesky.

  2. 2

    Send threads, cards, quotes or media

    Call POST /posts with text, up to 4 photos or one video, optional website_card, quote_post_url, reply_rules, languages and content_labels.

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

Bluesky endpoints on one REST API
EndpointPermissionWhat it does
POST/api/v1/postsposts:create / schedule / publishPublish Bluesky single posts, threads, website cards, quote posts, photos and videos.
POST/api/v1/accounts/connect-linksaccounts:createCreate a hosted connect link with provider: bluesky for handle and app-password setup.
DELETE/api/v1/posts/{id}posts:deleteCancel scheduled posts or ask Bluesky to delete the first post of a published thread.
GET/api/v1/commentscomments:readRead Bluesky replies synced on schedule or on demand via POST /comments/sync.
POST/api/v1/commentscomments:createReply to a Bluesky comment with text, up to 4 photos or one video.
GET/api/v1/analytics/posts/{id}analytics:readRead likes, comments, shares (reposts), quotes and saves for a Bluesky post.

Read the full Bluesky reference

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.

Bluesky media and text limits
TypeFormatsLimitNotes
PhotosJPG, PNG, GIF, WebPUp to 4 · 5 MB uploadPhotos over 1.5 MB are compressed automatically to fit Bluesky’s blob size ceiling.
Video & solo GIFMP4, MOV, WebM · GIF1 video · up to 100 MBMOV and WebM convert to MP4 automatically; a lone GIF uploads as a looping video so it animates.
Text & facetsPlain text + auto facets300 characters per postLinks, valid @handles and #hashtags auto-convert to AT Protocol facets; split longer text into content[] items.
Website carduri + optional title/descFirst post without mediaMissing card title, description and thumbnail image are scraped automatically from the target URL.
Languages & labelsISO 639-1 · content_labelsUp to 3 languagescontent_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_comment posts 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_rate is 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_card with 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 with allow_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.

Bluesky accounts[].settings keys
Setting keyValueWhat it controls
titlestring (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_urlstring (URL or at://)bsky.app URL or at:// URI of a Bluesky post to quote alongside media or a website card.
languagesstring[] (max 3)Up to 3 ISO 639-1 codes (for example en, pt-BR) applied across every post in the thread.
reply_rulesstring[]Threadgate rules: any mix of mentioned, followers, following, or ["nobody"] to close replies.
allow_quotesbooleanSet false to attach a postgate preventing other users from quoting the thread or first comment.
content_labelsstring[]Content warning on media/cards: sexual, nudity or porn, and/or graphic-media.
medianumber[]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/mcp

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

Limits by plan
PlanSocial accountsPostsAPI posts a day, per network
Free220 a monthWithin the 20
Starter$29 a month10UnlimitedUnlimited
Pro$49 a month30UnlimitedUnlimited
Agency$99 a month100, then $1/mo eachUnlimitedUnlimited

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.

Compare plans and prices

FAQ

Bluesky API questions

Need help with a specific endpoint or webhook? Ask us in live chat.

Chat with us

How 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