RelayAPI

Bluesky API

Posting to Bluesky via RelayAPI — features, limits, and platform-specific settings.

Overview

RelayAPI supports publishing to Bluesky through the unified API. Connect your Bluesky account and start posting programmatically.

Getting Started

  1. Connect your Bluesky account via the dashboard or Connect Account API
  2. Use the account ID as a target when creating posts
curl -X POST https://api.relayapi.dev/v1/posts \
  -H "Authorization: Bearer rlay_live_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Hello from RelayAPI!",
    "targets": ["acc_bluesky_123"]
  }'

Content Limits

PropertyLimit
Character limit300
Supported mediaImages (4)
Media size limits1 MB images

Platform-Specific Settings

Use platform_overrides to customize content for Bluesky:

{
  "content": "Default content for all platforms",
  "platform_overrides": {
    "bluesky": {
      "content": "Custom content for Bluesky"
    }
  }
}

Rate Limits

Bluesky enforces its own rate limits. RelayAPI automatically queues and retries posts when platform rate limits are reached. See Rate Limits for details.

On this page