Webhook
A signed HTTP POST that AIPricingLab fires to your URL when something happens - a user crosses 80% of quota, a plan changes, a limit is hit. Idempotent, with replay.
Last updated: 2026-05-10
Definition
Webhooks let you react to AIPricingLab events in your own systems - fire upgrade prompts, send email notifications, trigger Stripe meter syncs. Signed payloads (HMAC), automatic replay on 5xx, idempotency keys. Verify signatures before trusting payloads.
Example
Wire a webhook on lg_renders crossing 80% to fire an email: "You have used 80% of your monthly renders - upgrade for unlimited."
Related terms
API key (sk_live_ vs pk_live_)
AIPricingLab apps have two key types. sk_live_… is a secret server-side key with full access. pk_live_… is a public client-side key that can ONLY read the calling user's own usage.
GlossaryQuota
A hard or soft cap on a usage unit (tokens, renders, seconds, cents) over a period (daily, monthly, lifetime). The "100 / month" in "100 image renders / month".