Skip to main content

com.atproto.server.getSession

GET 

/xrpc/com.atproto.server.getSession

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.

Get information about the current auth session. Requires auth.

Request

Responses

OK

Schema

    handle handlerequired
    did didrequired
    email string
    emailConfirmed boolean
    emailAuthFactor boolean
    didDoc
    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...