Bluesky Administration API

Administrative operations for managing accounts and invites.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 14

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.admin.deleteAccount Delete a user account · Bluesky Delete a user account as an administrator #
Ask an LLM
“How do I permanently delete a user's account?”
“Can an admin remove a user's account entirely?”
Tell an agent destructive · confirm first
Delete the account with DID {did}.
Permanently remove user {did} from the instance.
POST /xrpc/com.atproto.admin.disableAccountInvites Stop an account from receiving invite codes · Bluesky Disable an account from receiving new invite codes, but does not… #
Ask an LLM
“How do I stop a user from getting new invite codes?”
“Does disabling invites invalidate codes users already have?”
Tell an agent
Disable invite codes for account {account}.
Stop {account} from receiving new invite codes because {note}.
POST /xrpc/com.atproto.admin.disableInviteCodes Disable invite codes for users · Bluesky Disable some set of codes and/or all codes associated with a set of… #
Ask an LLM
“How do I disable specific invite codes for a set of users?”
“Can I disable all invite codes for several accounts at once?”
Tell an agent
Disable invite codes {codes} for accounts {accounts}.
Turn off invite codes {codes} for {accounts}.
POST /xrpc/com.atproto.admin.enableAccountInvites Re-enable invite codes for an account · Bluesky Re-enable an account's ability to receive invite codes #
Ask an LLM
“How do I let an account receive invite codes again?”
“Can I turn invite codes back on for a user?”
Tell an agent
Re-enable invite codes for account {account}.
Allow {account} to receive invite codes again because {note}.
GET /xrpc/com.atproto.admin.getAccountInfo Get details about a user account · Bluesky Get details about an account #
Ask an LLM
“What are the details of a particular user account?”
“Can I look up one Bluesky account by its DID?”
Tell an agent
Get account info for user {did}.
Show details of account {did}.
GET /xrpc/com.atproto.admin.getAccountInfos Get details about several user accounts · Bluesky Get details about some accounts #
Ask an LLM
“How do I look up multiple user accounts at once?”
“Can I fetch account details for a list of DIDs?”
Tell an agent
Get account info for {dids}.
Look up the accounts {dids} in one request.
GET /xrpc/com.atproto.admin.getInviteCodes List invite codes · Bluesky Get an admin view of invite codes #
Ask an LLM
“Which invite codes are still active?”
“Can I sort and page through invite codes?”
Tell an agent
List invite codes sorted by {sort}.
Show {limit} invite codes starting at {cursor}.
GET /xrpc/com.atproto.admin.getSubjectStatus Check the admin status of an account or record · Bluesky Get the service-specific admin status of a subject (account, record, or… #
Ask an LLM
“Is a user account suspended or a record taken down?”
“Can I check the admin status of a blob?”
Tell an agent
Get the admin status of account {did}.
Check whether record {uri} or blob {blob} is taken down.
GET /xrpc/com.atproto.admin.searchAccounts Search user accounts · Bluesky Get list of accounts that matches your search query #
Ask an LLM
“How do I find a user account by email?”
“Can I search accounts and page through the results?”
Tell an agent
Search accounts for email {email}.
Find accounts matching {email}, {limit} at a time.
POST /xrpc/com.atproto.admin.sendEmail Send an email to a user · Bluesky Send email to a user's account email address #
Ask an LLM
“How do I email a user from the admin console?”
“Can I send a message to a user's account email address?”
Tell an agent
Send {content} to {recipientDid} from {senderDid}.
Email {recipientDid} with subject {subject} and content {content}, sent by {senderDid}.
POST /xrpc/com.atproto.admin.updateAccountEmail Change a user's email address · Bluesky Administrative action to update an account's email #
Ask an LLM
“How do I change a user's email address as an admin?”
“Can I update a user's account email?”
Tell an agent
Change the email of account {account} to {email}.
Update user {account}'s email to {email}.
POST /xrpc/com.atproto.admin.updateAccountHandle Change a user's handle · Bluesky Administrative action to update an account's handle #
Ask an LLM
“How do I change a user's handle?”
“Can an admin rename a user's account handle?”
Tell an agent
Change the handle of account {did} to {handle}.
Rename user {did} to handle {handle}.
POST /xrpc/com.atproto.admin.updateAccountPassword Reset a user's password · Bluesky Update the password for a user account as an administrator #
Ask an LLM
“How do I reset a user's password?”
“Can an admin set a new password for a user account?”
Tell an agent
Set the password of account {did} to {password}.
Reset user {did}'s password to {password}.
POST /xrpc/com.atproto.admin.updateSubjectStatus Suspend or take down an account or record · Bluesky Update the service-specific admin status of a subject (account, record… #
Ask an LLM
“How do I suspend a user account?”
“Can I take down a record or blob?”
Tell an agent
Set the admin status of {subject} to deactivated {deactivated}.
Take down {subject} with takedown {takedown}.

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-administration-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-administration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bluesky Social Administration 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 (42 KB total) ---
# Full source: https://artifacts.apis.io/bluesky/openapi/bluesky-administration-api-openapi.yml