Skip to main content
Connect

Connect a Bluesky account via app password

Bluesky has no OAuth redirect. Have the user generate an app password at https://bsky.app/settings/app-passwords, then submit it here.

POST/v1/connect/bluesky/auth

Authorization

accessKey
x-access-key<token>

In: header

Query Parameters

redirectUri?string

Final URL to redirect to after the connection completes. In headless mode, this URL also receives selection status query parameters when customer-owned account selection is required.

Formaturi
cancelRedirectUri?string

URL to redirect to when the user cancels or denies the OAuth prompt. Falls back to redirectUri when omitted.

Formaturi
headless?boolean

When true, platforms that require account selection redirect back to redirectUri with a short-lived selectionToken so you can build your own selection UI. When false, PostPeer hosts the selection UI.

Defaultfalse
profileId?string

Profile to associate the resulting integration with. Must belong to the same project. Omit to connect without a profile.

appId?string

Connect under your own OAuth app (Bring Your Own Keys). Pass the id of an OAuth app created via /v1/apps for this same platform. Omit to use postpeer's system app.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/connect/bluesky/auth" \  -H "Content-Type: application/json" \  -d '{    "identifier": "string",    "password": "string"  }'
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}