Skip to main content
Registering a webhook subscription tells Diameter where to deliver event notifications for your tenant. You provide a target HTTPS URL and an optional list of event types to filter; if you omit eventTypes (or pass an empty array), the subscription receives every event. On successful creation the API returns a one-time secret — a 64-character hex string you must immediately store in a secure vault, as it cannot be retrieved again.
The secret field is only present in the 201 Created response. If you lose it, you must rotate the secret by calling the Update Subscription endpoint.

Endpoint

Required scope: webhooks.write

Request Headers

Request Body

string
required
A human-readable label for this subscription, e.g. "Payment Notifications". Used for display purposes only.
string
required
The HTTPS endpoint that will receive event payloads. Must use https://, must not rely on redirects, and must be reachable from the public internet. The domain must be on your tenant’s validDomains list.
array
An array of event type strings to subscribe to. Omit or pass an empty array [] to subscribe to all events. Accepted values:

Response — 201 Created

string
UUID of the newly created webhook subscription.
string
The friendly name provided in the request.
string
The HTTPS endpoint URL.
array
The event types this subscription is configured to receive. An empty array indicates a subscription to all events.
boolean
true when the subscription is actively delivering events.
string
A 64-character hex string used to verify the X-Diameter-Signature header on incoming webhook requests. Present only on creation — store it immediately.
string
ISO 8601 timestamp of when the subscription was created.
string
ISO 8601 timestamp of the most recent update.

Examples

Create a subscription for payment events

Subscribe to all events

Response

Save the secret value to your secrets manager immediately. Use it to compute and verify the X-Diameter-Signature HMAC-SHA256 header on every inbound webhook request.