Skip to main content

com.atproto.server.createSession

POST 

/xrpc/com.atproto.server.createSession

This endpoint is part of the atproto PDS server and account management APIs. Requests often require authentication and are made directly to the user's own PDS instance.

To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.

Create an authentication session.

Request

Body

required

    identifier stringrequired

    Handle or other identifier supported by the server for the authenticating user.

    password stringrequired
    authFactorToken string

Responses

OK

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.

Loading...