---
title: "Connect Bluesky account using app password"
method: POST
path: "/accounts/bluesky/login"
tags: ["Accounts"]
---

# Connect Bluesky account using app password

`POST /accounts/bluesky/login`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/accounts/bluesky/login`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Request body

- BlueskyLoginInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `app_password` string, required: Bluesky app password (Settings > App Passwords)
  - `handle` string, required: Bluesky handle (e.g. user.bsky.social)
  - `intent` 'production' | 'certification_test': Typed execution intent; certification_test requires an unscoped instance administrator
  - `workspace_id` string, required: Workspace ID

## Response `200`

OK

- AccountConnectionResponse
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `account_id` string, required: OpenPost destination account ID
  - `account_ids` string[], nullable, required: All connected OpenPost account IDs
  - `open_fresh_composer` boolean, required: Whether this is the Workspace's first connected destination
  - `workspace_id` string, required: Workspace receiving the connected destination

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `422`: Unprocessable Entity
- `500`: Internal Server Error
- `502`: Bad Gateway

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
