viakite
Dashboard

API/Reports/One identified user's events, newest first

One identified user's events, newest first

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

Page views, custom events and identify calls of the user, including the visitor's anonymous events of the same day (marked linked). Engagement events are left out.

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.

Query parameters

limitinteger1–200default 50
How many rows to return, 1 to 200.
cursorstring
The next_cursor of the previous page. Opaque.

Responses

A page of the user's events.

dataTimelineEvent[]required
One event of a user's timeline.
Show 15 fields
idstringrequired
typestringrequired
pagevieweventidentify
namestringrequired
The custom event's name; empty otherwise.
timestampstring · date-timerequired
A time in UTC, ISO 8601.
hostnamestringrequired
pagestringrequired
titlestringrequired
sourcestringrequired
countrystringrequired
device_typestringrequired
browserstringrequired
propertiesobjectrequired
revenuenumber
As sent, in currency.
currencystring
linkedbooleanrequired
True for an event sent without the user id (before identify(), or from a tab that didn't call it), linked to the user because its visitor identified as them that day.
next_cursorstring
Example response
1{
2 "data": [
3 {
4 "id": "id_01JD8Q2M4W9XK3T7B5",
5 "type": "pageview",
6 "name": "Production",
7 "timestamp": "2026-11-21T09:30:00Z",
8 "hostname": "example.com",
9 "page": "/pricing",
10 "title": "string",
11 "source": "string",
12 "country": "IN",
13 "device_type": "string",
14 "browser": "string",
15 "properties": {
16 "key": "string"
17 },
18 "revenue": 1.5,
19 "currency": "INR",
20 "linked": true
21 }
22 ],
23 "next_cursor": "string"
24}

Errors

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

StatusCode
404user_not_found
400invalid_cursor
400invalid_limit
503clickhouse_not_configured