Get updates
curl --request GET \
--url https://api.debbiecollect.com/v1/{tenantId}/updates \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.debbiecollect.com/v1/{tenantId}/updates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.debbiecollect.com/v1/{tenantId}/updates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.debbiecollect.com/v1/{tenantId}/updates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.debbiecollect.com/v1/{tenantId}/updates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.debbiecollect.com/v1/{tenantId}/updates")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.debbiecollect.com/v1/{tenantId}/updates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"meta": {
"currentPage": 0,
"pageSize": 100
},
"items": [
{
"updateId": "9b2e4c7a-1f3d-4a2b-8c5e-6d7f8a9b0c1d",
"referenceId": "3f1c2d4e-5a6b-7c8d-9e0f-1a2b3c4d5e6f",
"updateTypeId": "7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d",
"label": "Reminder",
"description": "A reminder was sent to the debtor",
"priority": 3,
"update": "Reminder sent to debtor",
"data": null,
"refId": null,
"taskId": null,
"byWorkflowId": null,
"intention": null,
"state": null,
"procedure": null,
"createdAt": "2025-01-01T20:00:00.000Z",
"pausedAt": "2025-01-01T20:00:00.000Z",
"continuedAt": null,
"remindedAt": "2025-01-08T20:00:00.000Z",
"responsibleType": null,
"responsibleReferenceId": null,
"responsiblePermissionLevel": null,
"hiddenPermissionLevel": null,
"pauseWithUpdateOnCaseExit": null,
"continueOnCaseExit": false,
"createdBy": {
"type": "KEY",
"id": "2c3d4e5f-6a7b-8c9d-0e1f-2a3b4c5d6e7f",
"name": "Warehouse sync"
},
"continuedBy": null
}
]
}Updates
Get updates
Get a list of every update on the tenant, paginated. Updates are returned oldest first, so a consumer paging through the whole set is not shifted by updates created while it iterates. Only updates on cases are returned.
This endpoint is tenant wide and is not available to creditor scoped credentials, which read updates through the case they belong to.
Required scope: read:updates
GET
/
v1
/
{tenantId}
/
updates
Get updates
curl --request GET \
--url https://api.debbiecollect.com/v1/{tenantId}/updates \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.debbiecollect.com/v1/{tenantId}/updates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.debbiecollect.com/v1/{tenantId}/updates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.debbiecollect.com/v1/{tenantId}/updates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.debbiecollect.com/v1/{tenantId}/updates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.debbiecollect.com/v1/{tenantId}/updates")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.debbiecollect.com/v1/{tenantId}/updates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"meta": {
"currentPage": 0,
"pageSize": 100
},
"items": [
{
"updateId": "9b2e4c7a-1f3d-4a2b-8c5e-6d7f8a9b0c1d",
"referenceId": "3f1c2d4e-5a6b-7c8d-9e0f-1a2b3c4d5e6f",
"updateTypeId": "7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d",
"label": "Reminder",
"description": "A reminder was sent to the debtor",
"priority": 3,
"update": "Reminder sent to debtor",
"data": null,
"refId": null,
"taskId": null,
"byWorkflowId": null,
"intention": null,
"state": null,
"procedure": null,
"createdAt": "2025-01-01T20:00:00.000Z",
"pausedAt": "2025-01-01T20:00:00.000Z",
"continuedAt": null,
"remindedAt": "2025-01-08T20:00:00.000Z",
"responsibleType": null,
"responsibleReferenceId": null,
"responsiblePermissionLevel": null,
"hiddenPermissionLevel": null,
"pauseWithUpdateOnCaseExit": null,
"continueOnCaseExit": false,
"createdBy": {
"type": "KEY",
"id": "2c3d4e5f-6a7b-8c9d-0e1f-2a3b4c5d6e7f",
"name": "Warehouse sync"
},
"continuedBy": null
}
]
}Authorizations
Authentication can be done by using a bearer token in the Authorization header. This is done using the following format Authorization: Bearer {token}.
Path Parameters
Id of the tenant the updates belong to
Query Parameters
Page to get. Starting from 0.
Number of items per page.
Required range:
x <= 500