cafe.dummy.lsky.getSession

lsky-publisher.dummy.to

Documentation

Get the authenticated user's lsky-specific state: profile, onboarding status. The user's DID and handle are resolved from the inter-service auth JWT. This is the first call the app should make after login to hydrate lsky user context.

main query

Get the authenticated user's lsky-specific state: profile, onboarding status. The user's DID and handle are resolved from the inter-service auth JWT. This is the first call the app should make after login to hydrate lsky user context.

Output

Encodingapplication/json
did stringdid Required

A decentralized identifier (DID).

handle string Required

No description available.

onboarded boolean Required

No description available.

Errors

AuthenticationRequired No valid inter-service auth JWT was provided.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
View raw schema
{
  "type": "query",
  "errors": [
    {
      "name": "AuthenticationRequired",
      "description": "No valid inter-service auth JWT was provided."
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "did",
        "handle",
        "onboarded"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "handle": {
          "type": "string"
        },
        "person": {
          "ref": "cafe.dummy.lsky.defs#profileView",
          "type": "ref",
          "description": "The user's profile, if they have onboarded."
        },
        "onboarded": {
          "type": "boolean"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Get the authenticated user's lsky-specific state: profile, onboarding status. The user's DID and handle are resolved from the inter-service auth JWT. This is the first call the app should make after login to hydrate lsky user context."
}

Lexicon Garden

@