List holds
curl --request GET \
--url https://api.getlurk.com/v1/holds \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/holds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/holds"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "<string>",
"status": "held",
"user": {
"id": "<string>",
"external_id": "<string>"
},
"rule": {
"id": "<string>",
"key": "<string>",
"name": "<string>"
},
"event": {
"id": "<string>",
"name": "<string>"
},
"changes": [
{
"unit": "<string>",
"change": 123
}
],
"reason": "<string>",
"held_at": "2023-11-07T05:31:56Z",
"decided_at": "2023-11-07T05:31:56Z",
"decided_by": "<string>",
"note": "<string>",
"activity": "<string>"
}
],
"has_more": true,
"next_cursor": "<string>",
"waiting": 1
}{
"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>"
}
}Holds
List holds
Changes a rule parked for a person, newest first. By default the ones still waiting; waiting counts them. Nothing has changed for the person until a hold is given.
GET
/
v1
/
holds
List holds
curl --request GET \
--url https://api.getlurk.com/v1/holds \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/holds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/holds"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "<string>",
"status": "held",
"user": {
"id": "<string>",
"external_id": "<string>"
},
"rule": {
"id": "<string>",
"key": "<string>",
"name": "<string>"
},
"event": {
"id": "<string>",
"name": "<string>"
},
"changes": [
{
"unit": "<string>",
"change": 123
}
],
"reason": "<string>",
"held_at": "2023-11-07T05:31:56Z",
"decided_at": "2023-11-07T05:31:56Z",
"decided_by": "<string>",
"note": "<string>",
"activity": "<string>"
}
],
"has_more": true,
"next_cursor": "<string>",
"waiting": 1
}{
"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
Response
List holds