Get a person's history
curl --request GET \
--url https://api.getlurk.com/v1/users/{id}/history \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/users/{id}/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/users/{id}/history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"kind": "event",
"id": "<string>",
"name": "<string>",
"at": "2023-11-07T05:31:56Z",
"recorded_at": "2023-11-07T05:31:56Z",
"properties": {},
"source": "trusted",
"session": "<string>",
"seen_as": {
"id": "<string>",
"external_id": "<string>"
}
}
],
"has_more": true,
"next_cursor": "<string>",
"includes": [
{
"id": "<string>",
"external_id": "<string>"
}
]
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}People
Get a person's history
A person’s events and receipts, newest first, including merged people’s and aliases’ (seen_as). event also returns the receipts it caused, and a page filtered by it can hold fewer than limit items, even none, and still have has_more. People
GET
/
v1
/
users
/
{id}
/
history
Get a person's history
curl --request GET \
--url https://api.getlurk.com/v1/users/{id}/history \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/users/{id}/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/users/{id}/history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"kind": "event",
"id": "<string>",
"name": "<string>",
"at": "2023-11-07T05:31:56Z",
"recorded_at": "2023-11-07T05:31:56Z",
"properties": {},
"source": "trusted",
"session": "<string>",
"seen_as": {
"id": "<string>",
"external_id": "<string>"
}
}
],
"has_more": true,
"next_cursor": "<string>",
"includes": [
{
"id": "<string>",
"external_id": "<string>"
}
]
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}Authorizations
Query Parameters
Only the events with this name, and the receipts they caused. A page then looks through at most 1,000 of each person's events and receipts, so it can hold fewer than limit items, even none, with has_more and a next_cursor to look further
Maximum string length:
100Pattern:
^[a-z][a-z0-9_]*(\.[a-z][a-z0-9_]*)+$Response
Get a person's history