Skip to main content
GET
/
webhooks
List webhook endpoints
curl --request GET \
  --url https://api.billing.io/v1/webhooks \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "webhook_id": "<string>",
      "url": "<string>",
      "events": [],
      "secret": "<string>",
      "description": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "has_more": true,
  "next_cursor": "<string>"
}
List all registered webhook endpoints.
curl "https://api.billing.io/v1/webhooks?limit=10" \
  -H "Authorization: Bearer $BILLING_API_KEY"

Authorizations

Authorization
string
header
required

Use your secret API key as a Bearer token. Keys are prefixed: sk_live_ (production) or sk_test_ (sandbox).

Query Parameters

cursor
string

Opaque cursor for pagination. Omit for the first page.

limit
integer
default:25

Number of items per page.

Required range: 1 <= x <= 100

Response

Webhook endpoint list

data
object[]
has_more
boolean
next_cursor
string | null