Bluesky Server API

Operations for server management and authentication.

GitHub OpenAPI
Business capability
Customer Sign-In AE-160.10

Operations 25

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /xrpc/com.atproto.server.activateAccount Reactivate a deactivated account · Bluesky Activates a currently deactivated account #
Ask an LLM
“How do I reactivate an account I deactivated on my own PDS?”
“Can I bring a deactivated account back online after migrating it?”
Tell an agent
Reactivate my deactivated account.
Bring my deactivated account back online.
GET /xrpc/com.atproto.server.checkAccountStatus Check an account's status during migration · Bluesky Returns the status of an account, especially as pertaining to import or… #
Ask an LLM
“Is my account still being imported or recovered?”
“What status does an account have during a migration?”
Tell an agent
Check the status of my account.
Tell me whether my account is still being imported.
POST /xrpc/com.atproto.server.confirmEmail Confirm an email address with a token · Bluesky Confirm an email using a token from… #
Ask an LLM
“How do I confirm an email address on my account?”
“Can I verify an email address with a code from a confirmation email?”
Tell an agent
Confirm the email {email} with token {token}.
Verify my email address using the confirmation code {token}.
POST /xrpc/com.atproto.server.createAccount Create a new account on a PDS · Bluesky Create an account #
Ask an LLM
“How do I create a new account on a Bluesky PDS instance?”
“Can I create an account with a handle and invite code?”
Tell an agent
Create an account with handle {handle}.
Create account {handle} using invite code {inviteCode}.
POST /xrpc/com.atproto.server.createAppPassword Create an app password · Bluesky Create an App Password #
Ask an LLM
“How do I create an app password for my account?”
“Can I make an app password that has privileged access?”
Tell an agent
Create an app password named {name}.
Create app password {name} with privileged access {privileged}.
POST /xrpc/com.atproto.server.createInviteCode Create one invite code · Bluesky Create an invite code #
Ask an LLM
“How do I create a single invite code for my account?”
“Can I limit how many times one invite code can be used?”
Tell an agent
Create one invite code that can be used {useCount} times.
Create an invite code for account {forAccount} with {useCount} uses.
POST /xrpc/com.atproto.server.createInviteCodes Create several invite codes at once · Bluesky Create invite codes #
Ask an LLM
“How do I generate a batch of invite codes?”
“Can I create many invite codes with the same usage limit?”
Tell an agent
Create {codeCount} invite codes, each usable {useCount} times.
Generate {codeCount} invite codes for accounts {forAccounts} with {useCount} uses each.
POST /xrpc/com.atproto.server.createSession Log in to an account · Bluesky Create an authentication session #
Ask an LLM
“How do I log in to my account with a handle and password?”
“Can I log in with a second factor token?”
Tell an agent
Log in to {identifier} with password {password}.
Log in to {identifier} with password {password} and second factor {authFactorToken}.
POST /xrpc/com.atproto.server.deactivateAccount Deactivate an active account · Bluesky Deactivates a currently active account #
Ask an LLM
“How do I deactivate an account on my own PDS?”
“Can I stop serving a repo until I reactivate the account?”
Tell an agent destructive · confirm first
Deactivate my active account.
Deactivate my account and delete it after {deleteAfter}.
POST /xrpc/com.atproto.server.deleteAccount Delete an account with a deletion token · Bluesky Delete an actor's account with a token and password #
Ask an LLM
“How do I permanently delete my account using a token and password?”
“Can I delete an account I no longer use?”
Tell an agent destructive · confirm first
Delete account {did} with password {password} and token {token}.
Permanently remove my account {did} using deletion token {token} and password {password}.
POST /xrpc/com.atproto.server.deleteSession End the current auth session · Bluesky Delete the current session #
Ask an LLM
“How do I log out of my current session?”
“Can I end my own auth session?”
Tell an agent destructive · confirm first
Delete my current session.
Log me out of this session.
GET /xrpc/com.atproto.server.describeServer Get account creation requirements · Bluesky Describes the server's account creation requirements and capabilities #
Ask an LLM
“What account creation requirements does my PDS instance have?”
“Can I see the server's account creation capabilities?”
Tell an agent
Describe my server's account creation requirements.
Show the account creation capabilities of this PDS.
GET /xrpc/com.atproto.server.getAccountInviteCodes List my account's invite codes · Bluesky Get all invite codes for the current account #
Ask an LLM
“What invite codes have I created for my account?”
“Can I include invite codes that have already been used?”
Tell an agent
List all invite codes for my account.
List my invite codes including used ones: {includeUsed}.
GET /xrpc/com.atproto.server.getServiceAuth Get a signed token for a service · Bluesky Get a signed token on behalf of the requesting DID for the requested… #
Ask an LLM
“How do I get a signed token for a service on behalf of my DID?”
“Can I set an expiration time on a service auth token?”
Tell an agent
Get a signed token for service {aud}.
Get a service token for {aud} that expires at {exp}.
GET /xrpc/com.atproto.server.getSession Get information about the current session · Bluesky Get information about the current auth session #
Ask an LLM
“Which session am I currently logged in with?”
“What details does the current auth session report?”
Tell an agent
Show my current session.
Get the details of the session I'm logged in with.
GET /xrpc/com.atproto.server.listAppPasswords List all app passwords · Bluesky List all App Passwords #
Ask an LLM
“Which app passwords have I created?”
“Can I see every app password on my account?”
Tell an agent
List all app passwords.
Show every app password I've made.
POST /xrpc/com.atproto.server.refreshSession Refresh an authentication session · Bluesky Refresh an authentication session #
Ask an LLM
“How do I refresh my auth session without logging in again?”
“Can I renew my session using the refresh JWT?”
Tell an agent
Refresh my current session.
Renew my auth session so I don't have to log in again.
POST /xrpc/com.atproto.server.requestAccountDelete Request an email to delete an account · Bluesky Initiate a user account deletion via email #
Ask an LLM
“How do I start the process of deleting my account by email?”
“Can I request an account deletion and get a token?”
Tell an agent
Request an email to delete my account.
Start the account deletion process for me.
POST /xrpc/com.atproto.server.requestEmailConfirmation Request an email confirmation code · Bluesky Request an email with a code to confirm ownership of email #
Ask an LLM
“How do I get a code to confirm my email address?”
“Can I request a new email confirmation code?”
Tell an agent
Request an email confirmation code for my account.
Send me a code to confirm my email address.
POST /xrpc/com.atproto.server.requestEmailUpdate Request a token to change an email · Bluesky Request a token in order to update email #
Ask an LLM
“How do I get a token to change my account's email address?”
“Can I request an email update token?”
Tell an agent
Request a token to update my email address.
Get an email update token so I can change my email.
POST /xrpc/com.atproto.server.requestPasswordReset Request a password reset by email · Bluesky Initiate a user account password reset via email #
Ask an LLM
“How do I send a password reset email to a user's account?”
“Can I trigger a password reset for a user who forgot their password?”
Tell an agent
Send a password reset email to {email}.
Start a password reset for {email} via email.
POST /xrpc/com.atproto.server.reserveSigningKey Reserve a signing key for account creation · Bluesky Reserve a repo signing key, for use with account creation #
Ask an LLM
“How do I reserve a signing key before creating a new account?”
“Can I reserve a signing key for a specific DID?”
Tell an agent
Reserve a signing key for account creation.
Reserve a signing key for DID {did}.
POST /xrpc/com.atproto.server.resetPassword Reset a password with a reset token · Bluesky Reset a user account password using a token #
Ask an LLM
“How do I set a new password using a password reset token?”
“Can I complete a password reset once I have the token?”
Tell an agent
Reset the password to {password} using token {token}.
Complete the password reset with {token} and new password {password}.
POST /xrpc/com.atproto.server.revokeAppPassword Revoke an app password · Bluesky Revoke an App Password by name #
Ask an LLM
“How do I revoke an app password I no longer use?”
“Can I revoke an app password by its name?”
Tell an agent destructive · confirm first
Revoke the app password named {name}.
Revoke app password {name} from my account.
POST /xrpc/com.atproto.server.updateEmail Change an account's email address · Bluesky Update an account's email #
Ask an LLM
“How do I change the email address on my account?”
“Can I update my account email with a confirmation token?”
Tell an agent
Change my account email to {email}.
Update the account email to {email} using token {token}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bluesky:bluesky-server-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bluesky-server-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bluesky Social Server API
  description: The Bluesky Social API provides programmatic access to the Bluesky social network built on the AT Protocol.
  version: 1.0.0
  contact:
    name: Bluesky Support
    url: https://bsky.app
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
- url: https://bsky.social/xrpc
  description: Bluesky Social PDS
- url: https://public.api.bsky.app/xrpc
  description: Public Bluesky AppView API (unauthenticated endpoints)
tags:


# --- truncated at 32 KB (70 KB total) ---
# Full source: https://artifacts.apis.io/bluesky/openapi/bluesky-server-api-openapi.yml