curl --request GET \
--url https://api.debbiecollect.com/v1/{tenantId}/webhooks/items \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.debbiecollect.com/v1/{tenantId}/webhooks/items"
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}/webhooks/items', 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}/webhooks/items",
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}/webhooks/items"
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}/webhooks/items")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.debbiecollect.com/v1/{tenantId}/webhooks/items")
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{
"items": [
{
"createdAt": "2026-09-22T09:00:00.000Z",
"data": {
"caseId": "3f1c2d4e-5a6b-4c8d-9e0f-1a2b3c4d5e6f",
"referenceId": "INV-2026-0042",
"customerId": "9b8a7c6d-5e4f-4a2b-9c0d-9e8f7a6b5c4d",
"creditorId": "0f6c7a3e-6e4e-4f0c-9a2a-2f6cba3f9a11"
},
"event": "cases.delete",
"id": "867ddc9d-ee15-4493-b7fe-f6fbd6bbe71b",
"internal": false,
"name": "ERP sync",
"hookId": "b963f219-255e-47b7-a3f2-0fe6180514a1",
"url": "https://example.com/debbie/webhooks",
"state": "PENDING",
"creditorId": "0f6c7a3e-6e4e-4f0c-9a2a-2f6cba3f9a11"
}
],
"meta": {
"currentPage": 0,
"pageSize": 25
}
}Get webhook items
Lists webhook items for the creditor the API key is issued for. Use state=PENDING to fetch unprocessed items, optionally limited to one webhook with webhookId. For polling, create the webhook with pull=true and mark each item SUCCESS after processing it. Fetch page 0 again after acknowledging a batch: acknowledged items leave the PENDING results, so increasing the page would skip items.
Required scope: read:webhooks
curl --request GET \
--url https://api.debbiecollect.com/v1/{tenantId}/webhooks/items \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.debbiecollect.com/v1/{tenantId}/webhooks/items"
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}/webhooks/items', 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}/webhooks/items",
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}/webhooks/items"
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}/webhooks/items")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.debbiecollect.com/v1/{tenantId}/webhooks/items")
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{
"items": [
{
"createdAt": "2026-09-22T09:00:00.000Z",
"data": {
"caseId": "3f1c2d4e-5a6b-4c8d-9e0f-1a2b3c4d5e6f",
"referenceId": "INV-2026-0042",
"customerId": "9b8a7c6d-5e4f-4a2b-9c0d-9e8f7a6b5c4d",
"creditorId": "0f6c7a3e-6e4e-4f0c-9a2a-2f6cba3f9a11"
},
"event": "cases.delete",
"id": "867ddc9d-ee15-4493-b7fe-f6fbd6bbe71b",
"internal": false,
"name": "ERP sync",
"hookId": "b963f219-255e-47b7-a3f2-0fe6180514a1",
"url": "https://example.com/debbie/webhooks",
"state": "PENDING",
"creditorId": "0f6c7a3e-6e4e-4f0c-9a2a-2f6cba3f9a11"
}
],
"meta": {
"currentPage": 0,
"pageSize": 25
}
}Authorizations
Authentication with an API key can be done by using a bearer token in the Authorization header. This is done using the following format Authorization: Bearer {token}. API keys are issued and revoked directly from the creditor portal under Developers > API.
Path Parameters
Id of the tenant
Query Parameters
Page to get. Starting from 0.
x >= 0Number of items per page.
1 <= x <= 1000Id of the webhook.
Filter by delivery state. Accepts a single state, such as PENDING, or a JSON array encoded as a query string, such as ["PENDING","SUCCESS"]. Valid states: PENDING, SUCCESS, FAILED_AND_NOTIFIED, FAILED_AWATING_NOTIFICATION, FAILED_NO_NOTIFICATION.
Only return items for webhooks scoped to this creditor. Must be a creditor the API key can access; omitting this filter still restricts results to the key's creditor.
Response
Successful operation