1. Overview
A Bluesky post is published once Bluesky has accepted it. Publishing goes through the samePOST /v1/posts endpoint as every other platform. A post holds text, media, or both, where the media is up to 4 images or one video, never both. Bluesky has no way to edit a published post.
2. Supported media
Text limit: 300 characters, counted as Unicode characters. More returns
400 publishing.validation_failed.
Image limit: 4 images per post. More than 4 returns 400 publishing.validation_failed.
Video: one video per post, and a video cannot share a post with images. Two videos, or a video with an image, returns 400 publishing.validation_failed. Bluesky accepts MP4 only, up to 300 MB (300,000,000 bytes) and 10 minutes. A video target stays publishing while Bluesky processes the video, which can take a few minutes for a long video, and the post appears on Bluesky once the video is ready to play. Bluesky lets an account post video only after the account’s email address is verified, and limits how many videos and how many bytes each account uploads per day: see “Video refused or not processed” in section 7.
File limits apply to media you upload to SocialAPI (source_type: "media_id"). A file outside them fails validation with 400 publishing.validation_failed. For a url item, SocialAPI checks the file type against these limits, and the size when the host reports it. When the host does not report the size, SocialAPI downloads the file when it publishes, and an image over 2 MB, a video over 300 MB, or a video that is not MP4 fails the target with 400 validation.field_invalid, with meta.field set to media.
Alt text: SocialAPI publishes every image and video with empty alt text. There is no field to set it.
A platform_attachment_id item fails the Bluesky target with 422 publishing.media.unsupported_source: Bluesky has no uploaded media to reference by ID. Send images and videos as url or media_id.
3. Create post
UsePOST /v1/posts with targets that name a Bluesky account. publish_now: true publishes immediately. Without it and without scheduled_at, SocialAPI saves a draft.
http:// or https:// address in the text into a link and every #tag that starts the text or follows a space into a hashtag. It does not turn @handle into a mention: the text publishes as plain text and the mentioned account is not notified. SocialAPI attaches no link preview card.
Platform data fields
Bluesky has noplatform_data fields. SocialAPI forwards any additional keys in platform_data.bluesky only when a table in this section lists them. None does, so SocialAPI sends no key to Bluesky and returns no warning for an unlisted key.
Scheduling
Setscheduled_at to an ISO 8601 timestamp (UTC) to defer publishing:
4. Update post
Bluesky has no way to edit a published post.PATCH /v1/posts/{post_id} edits only a post in draft, scheduled, or failed status, and returns 409 post.state_invalid for a published post.
To correct a post, delete it and publish a new one.
5. Delete post
account_id. DELETE /v1/posts/{post_id} always removes every target.
6. Retrieve posts
UseGET /v1/posts to list posts. Filter by platform or account:
targets array with the per-platform status and engagement metrics:
likes is Bluesky’s like count, comments its reply count, and shares its repost count. Bluesky reports no saves, so saves stays 0. metrics_synced_at is when SocialAPI last read the counts from Bluesky.
Posts published outside SocialAPI: SocialAPI imports the 25 most recent posts of the account when you connect it and when you call POST /v1/accounts/{account_id}/sync.
7. Quirks, errors, and recovery
No post editing
Bluesky has no way to edit a published post.PATCH /v1/posts/{post_id} returns 409 post.state_invalid for a published post. Delete the post and publish a new one.
Video refused or not processed
A video target fails, and no post is created on Bluesky, when:422 platform.bluesky.video_rejected: Bluesky refused video from this account. The usual reasons are an email address not yet verified on Bluesky, an account too new to post video, or the daily video or upload size allowance used up.error.messagecarries Bluesky’s reason. Verify the email in Bluesky, or wait for the daily allowance to reset, then sendPOST /v1/posts/{post_id}/retry.422 platform.bluesky.video_processing_failed: Bluesky could not accept the file, for example because it is longer than Bluesky allows.error.messagecarries Bluesky’s reason. Fix the file and publish a new post.502 platform.bluesky.video_processing_failedor502 platform.bluesky.video_service_error: the failure was on Bluesky’s side. Retry later.504 platform.bluesky.video_processing_timeout: Bluesky did not finish processing the video within 8 minutes. Retry, or shorten or compress the video.
Mentions are plain text
An@handle in the text is not a mention. The mentioned account is not notified.
Media download failure
SocialAPI downloads eachurl image or video when it publishes. When the download fails, the target fails with 500 system.internal. Check that the URL is public and returns the file, then send POST /v1/posts/{post_id}/retry.
Posting caps
SocialAPI refuses a publish that would pass 25 posts in an hour or 50 posts in 24 hours for one account, with429 publishing.velocity_limit. A scheduled post is held and published when the window clears. Bluesky also limits writes per account to 5,000 points per hour and 35,000 per day, where a new post costs 3 points. When Bluesky refuses first, the target fails with 429 platform.bluesky.rate_limit. See Posting velocity caps.
Errors on a failed target
A publish that fails after the request returned puts a structured error on the target, intargets[].error:
401 platform.bluesky.auth: Bluesky rejected the saved credential. Connect the account again.403 platform.bluesky.account_takedown: Bluesky suspended the account. Connecting again does not restore access.429 platform.bluesky.rate_limit: Bluesky’s quota is used up. Wait, then retry.400 validation.platform_param: Bluesky rejected a parameter.error.messagecarries Bluesky’s reason.400 validation.field_invalid: an image sent as aurlis larger than 2 MB, or a video sent as aurlis larger than 300 MB or not MP4.422 platform.bluesky.video_rejected: Bluesky refused video from this account.error.messagecarries Bluesky’s reason.422or502 platform.bluesky.video_processing_failed: Bluesky could not process the video. With422the file is the problem, with502Bluesky is.502 platform.bluesky.video_service_error: Bluesky’s video service failed. Retry later.504 platform.bluesky.video_processing_timeout: the video was not processed within 8 minutes. Retry.
Recovery
- Auth error. Connect the account again with a working app password:
POST /v1/accounts/connectwith the sameplatformandbrand_id. See Connect accounts. - Rate limit. Wait for the
Retry-Afterheader, then sendPOST /v1/posts/{post_id}/retry. See Delivery. - Image too large. Resize the image to 2 MB or less, upload it again, and publish a new post.
- Video too large, too long, or not MP4. Convert the video to MP4 of at most 300 MB and 10 minutes, upload it again, and publish a new post.
- Video refused. Verify the account’s email address in Bluesky, or wait for its daily video allowance to reset, then send
POST /v1/posts/{post_id}/retry.