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 OR user_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.
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 or user_id.
1 <= lengthThe user_id as sent to Logspot via identify/track. Provide exactly one of email or user_id.
1 <= lengthInclusive 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://api.logspot.io/v1/identities/profile"