Skip to content
Oclavex is in private preview, open to existing MonetizeIt users. New users who would like to evaluate Oclavex before the public launch can request access at info@revenusion.com.

Zapier

Zapier connects to Oclavex with nothing Oclavex-specific: outbound is plain signed webhooks, inbound is the plain REST API. This page ties the two into a working Zap.

This is the common direction — a licensing event kicks off a workflow (post to Slack when a trial is expiring, create a task when a customer nears their quota).

A Webhooks by Zapier → Catch Hook URL works from the portal’s New subscription button as it is: Oclavex sends your URL nothing but signed events, so the Catch Hook has no handshake to answer, and the subscription is Active as soon as you create it.

  1. In Zapier, start a Zap with the Webhooks by Zapier trigger, event Catch Hook. Copy the custom webhook URL Zapier gives you.
  2. In the portal, open Webhooks and choose New subscription. Paste the Zapier URL as the Receiver URL and pick the event types you care about — for example Entitlement.Activated or MeteredUsage.OverageStatusChanged.
  3. In the confirmation after Create, choose Send test event, or use Test-fire… in the subscription’s row menu later (or .../test-fire). Zapier captures the payload and you can map fields.

To create the subscription from code instead, see Manage subscriptions programmatically.

Each delivery is signed. If your Zap forwards the payload somewhere that needs to trust it, verify the webhook-signature header as shown in Receiving webhooks. Deliveries are at-least-once, so deduplicate on the webhook-id header if the downstream action isn’t idempotent.

If you are building a Zapier app or a partner integration rather than a one-off Zap, you can let the integration create and manage its own webhook subscriptions instead of doing it by hand in the portal.

  1. In Settings → API credentials, choose New integration credentials. You get a client ID (integration.…), a one-time secret, the token URL (https://<your-subdomain>/auth/connect/token) and the scope webhooks.own-subscription.*.
  2. Exchange them for a token with the OAuth client_credentials grant (see Authentication).
  3. Call the integrator endpoints under /api/v1/webhooks/integrator/… to list, create, enable, disable and rotate subscriptions. The integration only ever sees its own subscriptions, and the tenant is fixed by the token — no tenant header to set or spoof.
  4. A subscription you create is Active at once. Call POST …/{id}/test-fire to send a sample event and check that the receiver gets it.

To have a Zap do something in Oclavex — create an entitlement from a Stripe event, pause one on a support signal — a Webhooks by Zapier action makes the REST call. There are two ways to authorize it:

  • Reacting to a delivery — if the subscription requested callback scopes, every delivery carries a short-lived token in the webhook-callback-token header. Forward it as the Authorization: Bearer … on your callback. It is already scoped to exactly what you allowed, expires in minutes, and needs no stored secret. Callback tokens reach your catalog, licenses, sessions, usage, quotas, metrics and feature ratings only — never account administration, sign-up, privacy or connector settings, and never a delete or a wildcard.
  • Standalone actions — for a Zap that isn’t reacting to an Oclavex delivery, authenticate with admin or operational client credentials (Authentication) and call the API directly.

The Stripe page is a full worked example of this callback direction — a billing event in, an entitlement change out.