Skip to main content
GET

Retrieve a webhook subscription

Method: GET | Endpoint: /v1/webhooks/{subscription_id} Description: Fetch one webhook subscription by its ID. Authentication: API key in the Authorization header: Authorization: Bearer ib_pk_<64 hex>. Create keys in the dashboard under Settings → API access.

Request Body

None. The path parameter subscription_id is the subscription’s ID (a UUID), from Create a webhook subscription.

Responses

200 OK
A revoked subscription has revoked_at set. 401 Unauthorized
Other message values: Authorization Bearer token required, API key required (use Authorization: Bearer ib_pk_…), Invalid API key format, Customer account not found. 403 Forbidden
Your iBubbl account is suspended or cancelled (message is then Account is cancelled). Every API-key endpoint returns this. 404 Not Found
Also returned for a malformed ID and for a subscription that belongs to another account.

Authorizations

Authorization
string
header
required

Bearer API key. Format: Authorization: Bearer ib_pk_<64 hex> (70 characters). Generate keys from Dashboard → Settings → API Access.

Path Parameters

subscription_id
string
required

Response

The subscription.

id
string
required

Unique subscription identifier (UUID).

url
string
required

The HTTPS URL receiving events.

secret_prefix
string
required

First 14 characters of the signing secret (whsec_ + 8 hex). Useful for identifying which subscription's secret is in use without revealing the full value. The full secret is returned only once, at creation time.

Example:

"whsec_a3f2c8d9"

created_at
string
required

ISO 8601 UTC timestamp.

event_types
string[] | null

Event filter, or null if subscribed to all events.

last_delivered_at
string | null

ISO 8601 UTC timestamp of the most recent successful delivery to this subscription, or null if no event has been delivered yet.

revoked_at
string | null

ISO 8601 UTC timestamp the subscription was revoked, or null if active. Revoked subscriptions stop receiving events.