com.atproto.server.createSession
POST/com.atproto.server.createSession
Create an authentication session.
Request
- application/json
Body
required
identifier stringrequired
Handle or other identifier supported by the server for the authenticating user.
password stringrequired
authFactorToken string
Responses
- 200
- 400
OK
- application/json
- Schema
- Example (from schema)
Schema
accessJwt stringrequired
refreshJwt stringrequired
handle handlerequired
did didrequired
didDoc
email string
emailConfirmed boolean
emailAuthFactor boolean
active boolean
status string
Possible values: [takendown
, suspended
, deactivated
]
If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.
{
"accessJwt": "string",
"refreshJwt": "string",
"handle": "string",
"did": "string",
"didDoc": {},
"email": "string",
"emailConfirmed": true,
"emailAuthFactor": true,
"active": true,
"status": "takendown"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
Possible values: [InvalidRequest
, AccountTakedown
, AuthFactorTokenRequired
]
message stringrequired
{
"error": "InvalidRequest",
"message": "string"
}
Loading...