viakite
Dashboard

API/Reports/One identified user's profile

One identified user's profile

GET/v1/projects/{project}/analytics/users/{user}

Sums up every day the project saw the user id sent with identify(), with the visitor's anonymous events of the same day linked to the user.

Secret keyNeeds analytics.viewus.api.vk.viabio.me

Path parameters

projectstringrequired
The project's id (prj_…).
userstringrequiredup to 120 chars
The user id the project sent with identify(), URL-encoded.

Responses

The user's profile.

user_idstringrequired
first_seenstring · date-timerequired
A time in UTC, ISO 8601.
last_seenstring · date-timerequired
A time in UTC, ISO 8601.
pageviewsintegerrequired
eventsintegerrequired
Custom events.
active_daysintegerrequired
Days with an event, in the project's time zone.
visitorsintegerrequired
Visitor ids linked to the user: one per day and device.
traitsobjectrequired
The latest traits sent with identify().
countrystringrequired
The latest country seen.
device_typestringrequired
browserstringrequired
osstringrequired
Example response
1{
2 "user_id": "id_01JD8Q2M4W9XK3T7B5",
3 "first_seen": "2026-11-21T09:30:00Z",
4 "last_seen": "2026-11-21T09:30:00Z",
5 "pageviews": 1,
6 "events": 1,
7 "active_days": 1,
8 "visitors": 1,
9 "traits": {
10 "key": "string"
11 },
12 "country": "IN",
13 "device_type": "string",
14 "browser": "string",
15 "os": "string"
16}

Errors

Every error has the same shape: error.code, a message for people and details.

StatusCode
404user_not_found
503clickhouse_not_configured