Skip to main content
GET
/
users
/
me
Get current user
curl --request GET \
  --url https://app.usechar.ai/api/users/me \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "email": "<string>",
  "name": "<string>",
  "avatar_url": "<string>",
  "organizations": [
    {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "role": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.usechar.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.

Response

OK

User profile including organization memberships and roles

id
string
required

WorkOS user ID for the account (e.g., user_01ABC...)

email
string
required

Primary email address for the user.

name
string | null
required

Display name from WorkOS, if available.

avatar_url
string | null
required

URL to the user's avatar image, if provided.

organizations
object[]
required

List of organizations the user is a member of