Fetching data...
Developer API Reference
Build powerful integrations with our platform APIs.
Fetching data...
Build powerful integrations with our platform APIs.
Build powerful integrations with our platform APIs.
Dynamic API reference synchronized with our latest backend endpoints.
/api/auth/meReturns the active user profile, tenant context, and role.
Example Request
bashcurl -X GET "https://your-tenant.peoplelensai.com/api/auth/me" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" Example Response
json{
"authenticated": true,
"user": {
"id": "string",
"email": "string",
"user_metadata": {},
"app_metadata": {}
},
"context": {
"tenantId": "string",
"subdomain": "string",
"role": "string",
"isGlobalAdmin": true
}
}