Skip to main content

com.atproto.server.createSession

#main​

Create an authentication session.

Input​

  • Encoding: application/json
PropertyTypeKnown ValuesRequiredDescription
identifierstring-✅Handle or other identifier supported by the server for the authenticating user.
passwordstring-✅-
authFactorTokenstring-❌-
allowTakendownboolean-❌When true, instead of throwing error for takendown accounts, a valid response with a narrow scoped token will be returned

Output​

  • Encoding: application/json
PropertyTypeKnown ValuesRequiredDescription
accessJwtstring-✅-
refreshJwtstring-✅-
handlestring (handle)-✅-
didstring (did)-✅-
didDocunknown-❌-
emailstring-❌-
emailConfirmedboolean-❌-
emailAuthFactorboolean-❌-
activeboolean-❌-
statusstringtakendown
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.