Skip to main content
GET
https://apis.hopnow.io
/
v1
/
customers
/
{customer_id}
/
webhook-endpoints
List Webhook Endpoints
curl --request GET \
  --url https://apis.hopnow.io/v1/customers/{customer_id}/webhook-endpoints \
  --header 'Authorization: Bearer <token>'
{
  "object": "<string>",
  "data": [
    {}
  ],
  "has_more": true,
  "total_count": 123
}

Path Parameters

customer_id
string
required
The customer’s external ID (starts with cus_)

Query Parameters

is_active
boolean
Filter by endpoint status (active/inactive)
limit
integer
default:"10"
Number of endpoints to return (1-100)
starting_after
string
Endpoint ID to start pagination after

Response

object
string
Always returns "list"
data
array
Array of webhook endpoint objects (excludes secrets)
has_more
boolean
Whether more endpoints are available
total_count
integer
Total number of endpoints

Response Example

{
  "object": "list",
  "data": [
    {
      "id": "whep_1234567890abcdef",
      "object": "webhook_endpoint",
      "url": "https://api.mycompany.com/webhooks/hopnow",
      "events": ["payin.completed", "payout.completed"],
      "is_active": true,
      "description": "Production webhook",
      "created": "2024-01-01T00:00:00Z",
      "last_used_at": "2024-01-15T12:30:00Z"
    },
    {
      "id": "whep_fedcba0987654321",
      "object": "webhook_endpoint",
      "url": "https://staging.mycompany.com/webhooks",
      "events": ["account.created"],
      "is_active": false,
      "description": "Staging webhook",
      "created": "2023-12-01T00:00:00Z",
      "last_used_at": null
    }
  ],
  "has_more": false,
  "total_count": 2
}