Get user profile
Get one user's profile metrics (events, pageviews, sessions, avg/p90 session duration, bounce rate, active days, first/last seen, revenue) over a window. Organization-wide; requires owner/admin. Identify the user by email, user_id, or identity_id (exactly one). Returns identity_id, events, pageviews, sessions, duration_avg_sec, duration_p90_sec, bounce_rate, active_days, first_seen, last_seen, and revenue. Revenue needs the revenue:read scope.
Organization API Token (prefixed sk_) sent as Authorization: Bearer sk_.... Create one in Settings and grant it scopes. Server-side only.
In: header
Query Parameters
The user's email address. Provide exactly one of email, user_id, or identity_id.
1 <= lengthThe user_id as sent to Leapio via identify/track. Provide exactly one of email, user_id, or identity_id.
1 <= lengthAn identity id from another tool, such as the resolved_identifier that company_top_users or group_top_users returns. Provide exactly one of email, user_id, or identity_id.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidInclusive start of the window (ISO-8601). Defaults to 30 days ago.
Inclusive end of the window (ISO-8601). Defaults to now.
Response Body
curl -X GET "https://example.com/identities/profile"