List Webhook Endpoints
curl --request GET \
--url https://api.hopnow.io/ads/v1/customers/{customer_id}/webhook-endpoints \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.hopnow.io/ads/v1/customers/{customer_id}/webhook-endpoints"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.hopnow.io/ads/v1/customers/{customer_id}/webhook-endpoints', 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.hopnow.io/ads/v1/customers/{customer_id}/webhook-endpoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.hopnow.io/ads/v1/customers/{customer_id}/webhook-endpoints"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.hopnow.io/ads/v1/customers/{customer_id}/webhook-endpoints")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hopnow.io/ads/v1/customers/{customer_id}/webhook-endpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": "wh_3f8a2b1c9d4ex0y1z2a3b4c5",
"object": "webhook_endpoint",
"url": "https://platform.example/hooks/inbound",
"events": ["account.created", "virtual_account.updated", "payment.completed"],
"secret": null,
"description": "prod",
"last_used_at": "2026-06-09T17:42:11Z",
"disabled_at": null,
"created": "2026-06-10T08:00:00Z",
"updated": "2026-06-10T08:00:00Z",
"created_by": "ak_x7k2m9p4q1w8e5r3t6y0u2i4",
"updated_by": "ak_x7k2m9p4q1w8e5r3t6y0u2i4"
}
],
"page": 1,
"size": 10,
"total": 1,
"pages": 1
}
Webhook Endpoints
List Webhook Endpoints
Retrieve a paginated list of registered webhook endpoints
GET
/
ads
/
v1
/
customers
/
{customer_id}
/
webhook-endpoints
List Webhook Endpoints
curl --request GET \
--url https://api.hopnow.io/ads/v1/customers/{customer_id}/webhook-endpoints \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.hopnow.io/ads/v1/customers/{customer_id}/webhook-endpoints"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.hopnow.io/ads/v1/customers/{customer_id}/webhook-endpoints', 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.hopnow.io/ads/v1/customers/{customer_id}/webhook-endpoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.hopnow.io/ads/v1/customers/{customer_id}/webhook-endpoints"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.hopnow.io/ads/v1/customers/{customer_id}/webhook-endpoints")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hopnow.io/ads/v1/customers/{customer_id}/webhook-endpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": "wh_3f8a2b1c9d4ex0y1z2a3b4c5",
"object": "webhook_endpoint",
"url": "https://platform.example/hooks/inbound",
"events": ["account.created", "virtual_account.updated", "payment.completed"],
"secret": null,
"description": "prod",
"last_used_at": "2026-06-09T17:42:11Z",
"disabled_at": null,
"created": "2026-06-10T08:00:00Z",
"updated": "2026-06-10T08:00:00Z",
"created_by": "ak_x7k2m9p4q1w8e5r3t6y0u2i4",
"updated_by": "ak_x7k2m9p4q1w8e5r3t6y0u2i4"
}
],
"page": 1,
"size": 10,
"total": 1,
"pages": 1
}
Returns a paginated list of registered webhook endpoints. Secrets are not included in list responses.
Path Parameters
string
required
Id of the owning customer (
cus_…).Query Parameters
integer
default:"1"
Page number. Default 1, minimum 1.
integer
default:"10"
Page size. Default 10, range 1–100.
Response
A paginated list of webhook-endpoint objects.object[]
The webhook endpoints on this page.
Show webhook-endpoint attributes
Show webhook-endpoint attributes
string
Id of the endpoint (
wh_…).string
Always
webhook_endpoint.string
Delivery URL.
string[]
Subscribed event types.
string | null
Always
null in list responses — the signing secret is returned only on create.string | null
Free-text label for the endpoint.
datetime | null
When the endpoint last received a delivery.
datetime | null
When the endpoint was disabled;
null while active.datetime
When the endpoint was created.
datetime | null
When the endpoint was last updated.
string
Actor that created the endpoint.
string | null
Actor that last updated the endpoint.
integer
Current page number.
integer
Items per page.
integer
Total number of items.
integer
Total number of pages.
{
"items": [
{
"id": "wh_3f8a2b1c9d4ex0y1z2a3b4c5",
"object": "webhook_endpoint",
"url": "https://platform.example/hooks/inbound",
"events": ["account.created", "virtual_account.updated", "payment.completed"],
"secret": null,
"description": "prod",
"last_used_at": "2026-06-09T17:42:11Z",
"disabled_at": null,
"created": "2026-06-10T08:00:00Z",
"updated": "2026-06-10T08:00:00Z",
"created_by": "ak_x7k2m9p4q1w8e5r3t6y0u2i4",
"updated_by": "ak_x7k2m9p4q1w8e5r3t6y0u2i4"
}
],
"page": 1,
"size": 10,
"total": 1,
"pages": 1
}
⌘I