Get a unit
curl --request GET \
--url https://api.getlurk.com/v1/units/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/units/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/units/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "unit_01m1e34qm0ejgrs7g7pf9fb9m1",
"key": "points",
"name": "Points",
"singular": "Point",
"group": "points",
"shows_as": "amount",
"color": "amber",
"switches": {
"goes_up": true,
"goes_down": true,
"spendable": true,
"usable": false,
"sendable": true,
"send_cap_per_day": 100,
"resets": false,
"starts_at": 0,
"held_by": null,
"cap": null,
"min_balance": 0,
"visible": true,
"supply": null,
"expires_after_days": null,
"expires_at": null
},
"stats": {
"held": 294,
"holders": 3,
"given_30d": 294,
"spent_30d": 0,
"issued": 0
},
"created_at": "2026-09-01T09:00:00.000Z",
"updated_at": "2026-10-15T08:00:00.000Z"
}{
"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>"
}
}{
"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>"
}
}Units
Get a unit
By ID or key: its settings and what it holds across everyone.
GET
/
v1
/
units
/
{id}
Get a unit
curl --request GET \
--url https://api.getlurk.com/v1/units/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/units/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/units/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "unit_01m1e34qm0ejgrs7g7pf9fb9m1",
"key": "points",
"name": "Points",
"singular": "Point",
"group": "points",
"shows_as": "amount",
"color": "amber",
"switches": {
"goes_up": true,
"goes_down": true,
"spendable": true,
"usable": false,
"sendable": true,
"send_cap_per_day": 100,
"resets": false,
"starts_at": 0,
"held_by": null,
"cap": null,
"min_balance": 0,
"visible": true,
"supply": null,
"expires_after_days": null,
"expires_at": null
},
"stats": {
"held": 294,
"holders": 3,
"given_30d": 294,
"spent_30d": 0,
"issued": 0
},
"created_at": "2026-09-01T09:00:00.000Z",
"updated_at": "2026-10-15T08:00:00.000Z"
}{
"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>"
}
}{
"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
Response
Get a unit