curl --request GET \
--url https://sandbox-api.polygon.technology/v0.11/webhooks \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox-api.polygon.technology/v0.11/webhooks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox-api.polygon.technology/v0.11/webhooks', 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://sandbox-api.polygon.technology/v0.11/webhooks",
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://sandbox-api.polygon.technology/v0.11/webhooks"
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://sandbox-api.polygon.technology/v0.11/webhooks")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.polygon.technology/v0.11/webhooks")
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": [
{
"webhook": {
"id": "whk_01H9Xa8F5dN6mP3q",
"object": "webhook",
"url": "https://partner.example/webhooks",
"statusReason": "<string>",
"subscriptions": [
"transaction.settled",
"*"
],
"timeoutMs": 5000,
"notifyThresholdSecs": 123,
"successCount": 123,
"failureCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"deliveryCount": 123,
"successCount": 123,
"failureCount": 123,
"failureRate": 123,
"lastDelivery": {
"eventType": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
}
],
"hasMore": true,
"cursor": "<string>"
}{
"error": "Unauthorized",
"code": 1000,
"msg": "unauthorized access",
"status": 401,
"cause": "signature"
}List webhooks
Returns a paginated list of webhooks registered under the current Project.
curl --request GET \
--url https://sandbox-api.polygon.technology/v0.11/webhooks \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox-api.polygon.technology/v0.11/webhooks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox-api.polygon.technology/v0.11/webhooks', 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://sandbox-api.polygon.technology/v0.11/webhooks",
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://sandbox-api.polygon.technology/v0.11/webhooks"
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://sandbox-api.polygon.technology/v0.11/webhooks")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.polygon.technology/v0.11/webhooks")
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": [
{
"webhook": {
"id": "whk_01H9Xa8F5dN6mP3q",
"object": "webhook",
"url": "https://partner.example/webhooks",
"statusReason": "<string>",
"subscriptions": [
"transaction.settled",
"*"
],
"timeoutMs": 5000,
"notifyThresholdSecs": 123,
"successCount": 123,
"failureCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"deliveryCount": 123,
"successCount": 123,
"failureCount": 123,
"failureRate": 123,
"lastDelivery": {
"eventType": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
}
],
"hasMore": true,
"cursor": "<string>"
}{
"error": "Unauthorized",
"code": 1000,
"msg": "unauthorized access",
"status": 401,
"cause": "signature"
}Authorizations
Token from POST /auth/token
Query Parameters
Filter by webhook status.
Webhook lifecycle state. suspended is set only by the service when the endpoint is unhealthy.
enabled, disabled, suspended x <= 100Response
List of webhooks
Hide child attributes
Hide child attributes
A partner-configured webhook endpoint. The signing key is never serialized back; it is returned in cleartext only from create/rotate-key.
Hide child attributes
Hide child attributes
"whk_01H9Xa8F5dN6mP3q"
"webhook"
"https://partner.example/webhooks"
Webhook lifecycle state. suspended is set only by the service when the endpoint is unhealthy.
enabled, disabled, suspended Set on transition to suspended; describes the down/suspend cause.
["transaction.settled", "*"]
Per-webhook HTTP timeout. Default 5000, hard cap 10000.
5000
Down-notification threshold (10 min – 1 day; default 1 h).
live, sandbox Failure rate in basis points (0..10000); 250 = 2.50%. 0 when deliveryCount is 0.
Opaque pagination cursor — pass back as the cursor query param to fetch the next page. Absent on the last page.
Was this page helpful?