---
title: "Create a new Bluesky post"
method: POST
path: "/bluesky/create"
tags: ["Schedulers"]
---

# Create a new Bluesky post

`POST /bluesky/create`

## Request

- Base URL: `https://socialrobot.io/api/v1`
- URL: `https://socialrobot.io/api/v1/bluesky/create`
- Auth: API key in header `x-api-key`

Create a new Bluesky post.

## Headers

- `x-api-key` string, required: The API key to use for the request

## Request body

- object
  - `scheduledFor` union, required
    - object
      - `publish` 'DRAFT', required
    - object
      - `publish` 'NOW', required
    - object
      - `publish` 'SCHEDULE', required
      - `date` union, required
        - string
        - string
  - `post` object, required
    - `accountId` string, required
    - `caption` string, required
    - `embed` union
      - object
        - `mediaType` 'IMAGE', required
        - `medias` object[], required
          - `alt` string
          - `url` string, uri, required
          - `transform` object
            - `crop` object, required
              - …
            - `aspect` string, required
            - `width` integer, required
            - `height` integer, required
            - `fit` 'cover' | 'contain', required
            - `userEdited` boolean, required
      - object
        - `mediaType` 'VIDEO', required
        - `medias` object[], required
          - `alt` string
          - `url` string, uri, required

## Response `200`

Post created successfully

- object
  - `id` string, required

## Other responses

- `400`: Invalid request data
- `401`: Unauthorized - Invalid or missing API key
- `403`: Forbidden - plan limit, ownership, or quota exceeded (see error message for upgrade link)
- `500`: Internal server error

---

[API](https://skmtc.dev/socialrobot/apis/socialrobot-io-scheduler-api.md) · [All operations](https://skmtc.dev/socialrobot/apis/socialrobot-io-scheduler-api/llms.txt) · [OpenAPI document](https://skmtc.dev/socialrobot/apis/socialrobot-io-scheduler-api/revisions/c2e9cdf5e75e?raw)
