CyberRXN Docs
APIAPI reference

Signed-in user and account

GET /v1/me

GET /v1/me

API overview · OpenAPI

Web-app session only. The account is the token's organization (Better Auth's active one).

Authorization

This operation requires a bearer credential. The description defines additional role, scope or first-party-session restrictions; an API key does not grant those permissions by itself.

Request body

No request body.

Responses

HTTPDetailsType
200Successful Responseapplication/json: Me
401Unauthorizedapplication/problem+json: ProblemDetails
403Forbiddenapplication/problem+json: ProblemDetails
404Not Foundapplication/problem+json: ProblemDetails
422Unprocessable Entityapplication/problem+json: ProblemDetails

Response: Me

PropertyTypeRequiredDetails
userUseryes
accountAccountyesThe account the token acts on: the active organization.
Full schema
{
  "properties": {
    "user": {
      "$ref": "#/components/schemas/User"
    },
    "account": {
      "$ref": "#/components/schemas/Account",
      "description": "The account the token acts on: the active organization."
    }
  },
  "type": "object",
  "required": [
    "user",
    "account"
  ],
  "title": "Me"
}

This page is generated from OpenAPI; examples are schemas, not a fabricated successful response.

Usage and billing · Structured errors

On this page