com.atproto.server.createAccount
POSTcom.atproto.server.createAccount
Create an account. Implemented by PDS.
Request
- application/json
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
- 200
- 400
OK
- application/json
- Schema
- Example (from schema)
Schema
accessJwt stringrequired
refreshJwt stringrequired
handle handlerequired
did didrequired
The DID of the new account.
didDoc
{
"accessJwt": "string",
"refreshJwt": "string",
"handle": "string",
"did": "string",
"didDoc": {}
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
Possible values: [InvalidRequest
, InvalidHandle
, InvalidPassword
, InvalidInviteCode
, HandleNotAvailable
, UnsupportedDomain
, UnresolvableDid
, IncompatibleDidDoc
]
message stringrequired
{
"error": "InvalidRequest",
"message": "string"
}
Loading...