Gets the currently authenticated user.
Documentation Index
Fetch the complete documentation index at: https://stackauth-e0affa27-apps-support.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Successful response
The unique identifier of the user
"3241a285-8329-4d69-8f3d-316e08cf140c"
Whether the primary email has been verified to belong to this user
true
The time the user signed up (identify) => (the number of milliseconds since epoch, January 1, 1970, UTC)
1630000000000
Whether the user is in restricted state (has signed up but not completed onboarding requirements)
false
Whether the user is restricted by an administrator. Can be set manually or by sign-up rules.
false
Primary email
"johndoe@example.com"
Human-readable user display name. This is not a unique identifier.
"John Doe"
Client metadata. Used as a data store, accessible from the client side. Do not store information that should not be exposed to the client.
{ "key": "value" }Client read-only, server-writable metadata. Used as a data store, accessible from the client side. Do not store information that should not be exposed to the client. The client can read this data, but cannot modify it. This is useful for things like subscription status.
{ "key": "value" }URL of the profile image for user. Can be a Base64 encoded image. Must be smaller than 100KB. Please compress and crop to a square before passing in.
"https://example.com/image.jpg"
ID of the team currently selected by the user
"team-id"
The reason why the user is restricted (e.g., type: "email_not_verified", "anonymous", or "restricted_by_administrator"), null if not restricted
null
Public reason shown to the user explaining why they are restricted. Optional.
null