Skip to main content

Webhooks

Webhooks sends a notification to your endpoint when API keys or subscriptions change in this organization.

  1. Sign in to the API Portal & AI Hub as an administrator.
  2. Open Settings.
  3. Under INTEGRATIONS, select Webhooks.

The list columns are Name, Target URL, Events, Secret, and Enabled. The secret is masked in the list.

Add a webhook​

Click Add webhook.

FieldDescription
NameRequired.
Target URLRequired. The endpoint that receives the events.
SecretRequired for a new webhook. It signs every payload with HMAC so you can verify the sender, and it encrypts the API key or token delivered with apikey.* and subscription.* events. When a secret is already set, leave the field blank to keep it, or enter a new value to replace it.
Timeout (ms)How long the portal waits for your endpoint.
EventsAll events, or Select events.
EnabledWhether this webhook sends notifications.

The event groups are:

GroupEvents
SubscriptionsCreated, Updated, Deleted, Plan changed, Token regenerated, Billing updated
API keysGenerated, Regenerated, Revoked, Application updated
ApplicationsCreated, Updated, Deleted
Subscription plansCreated, Updated, Deleted
MetersCreated, Updated, Deleted

Click Add webhook to save. Click Cancel to leave the form, or Back to webhooks to return to the list.

Was this page helpful?