Get a hold
curl --request GET \
--url https://api.getlurk.com/v1/holds/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/holds/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/holds/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"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>"
}{
"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
Get a hold
One hold with the changes it would make, why it waits, and how it was decided.
GET
/
v1
/
holds
/
{id}
Get a hold
curl --request GET \
--url https://api.getlurk.com/v1/holds/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/holds/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/holds/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"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>"
}{
"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 hold
A firing a rule parked for a person to give or refuse. Nothing has changed for the person until it is given.