Skip to main content
GET/users/:id/timeline/

Get user timeline

You can return a whole timeline for a specific user.

Attributes

Optional unless marked required

idinteger
A unique identifier for the user which is given by User automatically.

Request​

curl -X GET "https://<your_app_subdomain>.user.com/api/public/users/:id/timeline/" \
-H "Authorization: Token <your_64_char_api_key>" \
-H "Accept: */*; version=2"

Response examples​

{
"count": 3,
"next": null,
"previous": null,
"results": [
{
"timestamp": "2026-11-17T15:03:21.085862Z",
"id": 43384,
"data": ,3 fields
"type": "pageviewoccurrence",
"type_id": 103
},
{
"timestamp": "2026-11-17T15:03:20Z",
"id": 43382,
"data": ,3 fields
"type": "productevent",
"type_id": 247
},
{
"timestamp": "2026-11-17T15:03:17Z",
"id": 43380,
"data": ,4 fields
"type": "eventoccurrence",
"type_id": 344
}
]
}

Response fields​

Fields returned in the 200 OK response body.

countinteger
Number of results across all pages. It can lag behind recent changes; see Response pagination.
nextstring (URL)nullable
URL of the next page of results. null on the last page.
previousstring (URL)nullable
URL of the previous page of results. null on the first page.
resultsarray of objects
Results on this page.
results[].timestampstring (date-time)
When it happened, ISO 8601.
results[].idinteger
ID of the timeline entry.
results[].dataobject (map)
Details of the record; the fields depend on type. title is a fixed label for the kind of entry (page view occurrence, event occurrence, Product event occurrence - <product name>). For a page view, data.id is the ID of the ping hit and content is the page URL.
results[].typestring
Kind of record the entry is about, for example pageviewoccurrence (a page view, the same record as a ping hit), eventoccurrence or productevent.
results[].type_idinteger
Internal ID of that kind of record; the same for every entry of one type in a workspace.
note

Errors that can come from any endpoint (401, 429, 500, 502, 504) are described in HTTP response codes.