Skip to main content
GET
/
webhooks
/
{webhook_id}
Get a webhook endpoint
curl --request GET \
  --url https://api.billing.io/v1/webhooks/{webhook_id} \
  --header 'Authorization: Bearer <token>'
{
  "webhook_id": "<string>",
  "url": "<string>",
  "events": [],
  "secret": "<string>",
  "description": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}
Retrieve details for a specific webhook endpoint.
curl https://api.billing.io/v1/webhooks/we_a1b2c3d4e5f6a7b8c9d0e1f2 \
  -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).

Path Parameters

webhook_id
string
required

The webhook endpoint identifier (prefixed we_)

Response

Webhook endpoint details

webhook_id
string

Unique identifier (prefixed we_)

url
string<uri>
events
enum<string>[]
Available options:
checkout.created,
checkout.payment_detected,
checkout.confirming,
checkout.completed,
checkout.expired,
checkout.failed
secret
string

HMAC signing secret (prefixed whsec_). Only returned on creation — store it securely.

description
string | null
status
enum<string>
Available options:
active,
disabled
created_at
string<date-time>