List subscriptions
curl --request GET \
--url https://api.example.com/v1/public/webhook/subscriptions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/v1/public/webhook/subscriptions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/v1/public/webhook/subscriptions', 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.example.com/v1/public/webhook/subscriptions",
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.example.com/v1/public/webhook/subscriptions"
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.example.com/v1/public/webhook/subscriptions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/public/webhook/subscriptions")
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{
"data": [
{
"id": "6a27a76692d9e3a8ffd7e62d",
"organization_id": "ddd6f1d8-b232-497e-bf1e-ea7317622d17",
"scope": "ORGANIZATION",
"created_user_id": "google-oauth2|101090478854418701727",
"name": "Payment Events Webhook",
"url": "https://api.example.com/webhooks/payments",
"events": [],
"active": true,
"request_timeout_ms": 1000,
"retry_policy": {
"retryStrategy": "FIXED_DELAY",
"maxRetryAttempts": 3,
"maxRetryDelayMs": 10000
},
"signing_enabled": true,
"created_at": "2026-06-09T10:15:00.000Z",
"updated_at": "2026-06-09T10:15:00.000Z"
}
],
"next_page_token": null,
"total_count": 1
}{
"status": 400,
"type": "VALIDATION_ERROR",
"message": "Validation failed",
"details": {},
"timestamp": "2023-11-07T05:31:56Z",
"path": "/v1/public/webhook/subscription",
"trace_id": "341b5325-a0be-4533-85dd-6f697476dfc3"
}{
"error": "Authentication",
"message": "Authentication failed",
"traceId": "e679120f-1d1c-41d2-947c-34e194d5a4a1"
}{
"status": 400,
"type": "VALIDATION_ERROR",
"message": "Validation failed",
"details": {},
"timestamp": "2023-11-07T05:31:56Z",
"path": "/v1/public/webhook/subscription",
"trace_id": "341b5325-a0be-4533-85dd-6f697476dfc3"
}Webhook Subscriptions
List subscriptions
Lists the subscriptions in your organization (cursor-paginated). Note the plural subscriptions path - distinct from the singular get-by-id. secret is never included.
GET
/
v1
/
public
/
webhook
/
subscriptions
List subscriptions
curl --request GET \
--url https://api.example.com/v1/public/webhook/subscriptions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/v1/public/webhook/subscriptions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/v1/public/webhook/subscriptions', 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.example.com/v1/public/webhook/subscriptions",
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.example.com/v1/public/webhook/subscriptions"
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.example.com/v1/public/webhook/subscriptions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/public/webhook/subscriptions")
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{
"data": [
{
"id": "6a27a76692d9e3a8ffd7e62d",
"organization_id": "ddd6f1d8-b232-497e-bf1e-ea7317622d17",
"scope": "ORGANIZATION",
"created_user_id": "google-oauth2|101090478854418701727",
"name": "Payment Events Webhook",
"url": "https://api.example.com/webhooks/payments",
"events": [],
"active": true,
"request_timeout_ms": 1000,
"retry_policy": {
"retryStrategy": "FIXED_DELAY",
"maxRetryAttempts": 3,
"maxRetryDelayMs": 10000
},
"signing_enabled": true,
"created_at": "2026-06-09T10:15:00.000Z",
"updated_at": "2026-06-09T10:15:00.000Z"
}
],
"next_page_token": null,
"total_count": 1
}{
"status": 400,
"type": "VALIDATION_ERROR",
"message": "Validation failed",
"details": {},
"timestamp": "2023-11-07T05:31:56Z",
"path": "/v1/public/webhook/subscription",
"trace_id": "341b5325-a0be-4533-85dd-6f697476dfc3"
}{
"error": "Authentication",
"message": "Authentication failed",
"traceId": "e679120f-1d1c-41d2-947c-34e194d5a4a1"
}{
"status": 400,
"type": "VALIDATION_ERROR",
"message": "Validation failed",
"details": {},
"timestamp": "2023-11-07T05:31:56Z",
"path": "/v1/public/webhook/subscription",
"trace_id": "341b5325-a0be-4533-85dd-6f697476dfc3"
}Authorizations
API key passed as a Bearer token in the Authorization header: Authorization: Bearer <YOUR_API_KEY>.
Query Parameters
Max items per page, 1-100. Omitting it returns 400; a value > 100 returns 400.
Required range:
1 <= x <= 100Cursor from a previous response's next_page_token; omit for the first page.
⌘I

