Skip to main content

com.atproto.server.createAccount

POST 

/xrpc/com.atproto.server.createAccount

This endpoint is part of the atproto PDS server and account management APIs. Requests often require authentication and are made directly to the user's own PDS instance.

To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.

Create an account. Implemented by PDS.

Request

Body

required

    email string
    handle handlerequired

    Requested handle for the account.

    did did

    Pre-existing atproto DID, being imported to a new account.

    inviteCode string
    verificationCode string
    verificationPhone string
    password string

    Initial account password. May need to meet instance-specific password strength requirements.

    recoveryKey string

    DID PLC rotation key (aka, recovery key) to be included in PLC creation operation.

    plcOp

Responses

OK

Schema

    accessJwt stringrequired
    refreshJwt stringrequired
    handle handlerequired
    did didrequired

    The DID of the new account.

    didDoc
Loading...