Skip to main content
GET
/
users
/
me
Get current authenticated user
curl --request GET \
  --url http://sandbox.mintlify.com/users/me \
  --header 'X-API-Key: <api-key>'
Retrieves the authenticated user’s profile information.

Response

Returns user details including:
  • User ID, email, name
  • Profile metadata
  • Account creation date

Example

curl -X GET http://localhost:3001/api/users/me \
  -H "Authorization: Bearer <token>"

Use Cases

  • Display user profile in application
  • Verify authentication status
  • Get user details for personalization

Authorizations

X-API-Key
string
header
required

API Key for authentication (format: sk_...)

Response

User retrieved successfully. Returns user profile with email and metadata.