Skip to main content

com.atproto.server.createAccount

#main

Create an account. Implemented by PDS.

Input

  • Encoding: application/json
PropertyTypeKnown ValuesRequiredDescription
emailstring--
handlestring (handle)-Requested handle for the account.
didstring (did)-Pre-existing atproto DID, being imported to a new account.
inviteCodestring--
verificationCodestring--
verificationPhonestring--
passwordstring-Initial account password. May need to meet instance-specific password strength requirements.
recoveryKeystring-DID PLC rotation key (aka, recovery key) to be included in PLC creation operation.
plcOpunknown-A signed DID PLC operation to be submitted as part of importing an existing account to this instance. NOTE: this optional field may be updated when full account migration is implemented.

Output

  • Encoding: application/json

Account login session returned on successful account creation.

PropertyTypeKnown ValuesRequiredDescription
accessJwtstring--
refreshJwtstring--
handlestring (handle)--
didstring (did)-The DID of the new account.
didDocunknown-Complete DID document.