com.atproto.server.createAccount

Domain Index: atproto.com

Crawl History

#main - procedure

Create an account. Implemented by PDS.

Query Parameters

No fields defined

Request Body

Content Type: application/json

Data Fields

Name Type Details
did string

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

Syntax Format: did

email string
handle string (required)

Requested handle for the account.

Syntax Format: handle

inviteCode string
password string

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

plcOp unknown

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.

Field can contain arbitrary JSON/CBOR object data
recoveryKey string

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

verificationCode string
verificationPhone string

Response Body

Content Type: application/json

Data Fields

Name Type Details
accessJwt string (required)
did string (required)

The DID of the new account.

Syntax Format: did

didDoc unknown

Complete DID document.

Field can contain arbitrary JSON/CBOR object data
handle string (required)

Syntax Format: handle

refreshJwt string (required)

Errors

Name Description
InvalidHandle
InvalidPassword
InvalidInviteCode
HandleNotAvailable
UnsupportedDomain
UnresolvableDid
IncompatibleDidDoc