Webhook events
Oclavex delivers events to your HTTPS endpoints so your billing, CRM and automation stay in sync without polling. The contract follows two open standards: the payload is a CloudEvents 1.0 envelope, and delivery is signed per Standard Webhooks.
Subscribing
Section titled “Subscribing”Create a subscription from the portal’s Webhooks page. Register an endpoint URL,
the event types you want and a signing secret (the portal
generates one; one you supply through the API is whsec_ followed by the base64 of 24
to 64 random bytes); the subscription
is Active as soon as it is created, and Oclavex asks your endpoint to prove nothing.
To check that your receiver gets events, choose Send test event in the confirmation
after you create it, or use Test-fire later; both send a sample event to your endpoint. The portal does not set
filters: a subscription that needs them is created through the API.
To manage subscriptions programmatically, use the integrator API.
Every event type the platform emits is discoverable, unauthenticated, at
GET /api/v1/webhooks/schemas, except the Tenant events that only the platform operator can subscribe to.
Capture subscriptions
Section titled “Capture subscriptions”A subscription can be created as a capture subscription ("targetKind": "Capture")
instead of the default "Http". A capture subscription has no receiver: it carries no
URL and no signing secret, nothing is ever sent, and it is Active as soon as it is
created. Every matching event is recorded in the delivery history with the status
captured, so you can read the exact envelope your endpoint would have been sent, and
settle on event types and filters before you build anything.
Because a capture subscription has no receiver, the operations that act on one do not
apply: rotating the secret is refused
with 400 subscription.not_applicable (error 4022).
Callback scopes are refused the same way, on create and on update: nothing is sent, so
no delivery could carry a callback token.
Capture is not available on the integrator API — an integration
registers its own receiver.
Captured deliveries are kept for 7 days, or the 1,000 most recent per capture subscription, whichever limit is reached first. That is deliberately much shorter than the delivery history for real deliveries: a capture is a stepping stone, not a record.
A subscription’s kind is fixed when it is created: editing cannot turn a capture subscription into an HTTP one, because the two have different lifecycles (an HTTP subscription needs a receiver URL and a signing secret). The intended flow is:
- Watch with a capture subscription until the event types and filters are right.
- Create an HTTP subscription with the same settings. In the portal, Create HTTP subscription… on the capture subscription opens Create webhook subscription pre-filled with its name (with “(HTTPS)” added), events and filters, and a generated signing secret; add the receiver URL, and optionally callback scopes.
- Delete the capture subscription. The portal offers to once the HTTP subscription is created; until you do, it keeps capturing the same events.
Patterns and filters
Section titled “Patterns and filters”A subscription lists exact event types from the event catalog
(Entitlement.Activated), or * for every event, including types added later. There
are no family wildcards: a pattern such as Entitlement.*, or an unknown type is
refused with 400 subscription.invalid_event_type
(error 4035), on create and on update. You can narrow further by entity kind
(entitlement, monitored-asset, …), by severity (for overage events), and
by attribute equality. An event is delivered only if it passes every filter you set.
An attribute-equality filter names fields of the event’s data and the value each one
must hold. This subscription receives a reviewed plan-change request only when the
request was approved and asks for the PRO-2024 plan:
{ "eventTypePatterns": ["Entitlement.PlanChangeReviewed"], "filters": { "attributeEquality": { "approved": "true", "requestedPlanCode": "PRO-2024" } }}- Name a field inside a nested object by its path from
data, joined with dots:billing.providermatches theproviderinside an entitlement event’sbilling. The object itself, an array ornullnever matches, and neither does a field the event doesn’t carry. - Write each field name exactly as it appears in the delivered
data, including its case:requestedPlanCode, notRequestedPlanCode. A capture subscription or the test-fire preview shows you thedataan event carries. - Give each value as a JSON string. It is compared as exact, case-sensitive text: a text
field matches its text as it is, a number matches the way the payload writes it, such
as
"1000"or"0.25", and a boolean matches"true"or"false".
A filter that could never match is refused with 400 subscription.invalid_filter
(error 4034), on create and on update: an empty field name, a
null value, or a field name that none of the subscribed event types carries, which the error
names. Under *, any event type’s fields count. Changing a subscription’s event types checks
again the filters it keeps, so a filter can’t be left behind on events that lack its field.
filters.entityKinds takes entitlement, monitored-asset, credit-balance, feedback,
user, organization, data-subject-request and tenant, in any letter case; any other kind
is refused with the same error. filters.severities takes None, Normal, Warning,
Critical and OverUsage, and only matches MeteredUsage.OverageStatusChanged and
CreditBalance.StatusChanged, so a severity filter on a subscription to neither (and not to
*) is refused too.
Integrator API
Section titled “Integrator API”An integration manages its own subscriptions under /api/v1/webhooks/integrator/
with a machine credential holding webhooks.own-subscription.*, created under
Settings → API credentials → New integration credentials — see
Manage subscriptions programmatically
for the credential exchange. The environment comes from the token, so there is no
tenant header to set or spoof, and every route is scoped to the subscriptions that
credential created: another integration’s subscription returns 404, never 403.
Paths below are relative to /api/v1/webhooks/integrator/.
| Method | Path | Purpose |
|---|---|---|
GET |
subscriptions |
List your subscriptions; paged, optionally filtered by status (Active, Disabled or Suspended). |
POST |
subscriptions |
Register an endpoint. The subscription is Active as soon as it is created. |
GET |
subscriptions/{subscriptionId} |
Read one subscription. |
PATCH |
subscriptions/{subscriptionId} |
Change the URL, display name, event-type patterns, filters or callback scopes. A new URL keeps the subscription’s state: an Active one stays Active, a Disabled one stays Disabled. |
DELETE |
subscriptions/{subscriptionId} |
Remove the subscription and its pending deliveries. |
POST |
subscriptions/{subscriptionId}/enable · /disable |
Turn deliveries on or off. |
POST |
subscriptions/{subscriptionId}/rotate-secret |
Rotate the signing secret, with an overlap window. |
POST |
subscriptions/{subscriptionId}/test-fire |
Send one sample event. Body {"eventType": "…"} is optional; returns 202. |
GET |
subscriptions/{subscriptionId}/test-fire/preview?eventType= |
The exact envelope a test-fire would send. Enqueues nothing. |
POST |
subscriptions/{subscriptionId}/replay |
Re-deliver past events to this subscription; returns 202. |
GET |
deliveries |
Delivery history across your subscriptions. |
GET |
deliveries/{envelopeId} |
One delivery in full, with every attempt. |
Replay takes either an explicit envelopeIds list or a from/to window (from included, to excluded, like every date range) —
never both and never neither (400 replay.invalid_selection) — optionally narrowed
by eventType and entityId. It only ever re-sends envelopes that went to the
subscription named in the path, each under its original envelope id and with a
data._replay block, so a receiver that deduplicates on webhook-id skips the replay.
Replay has its own hourly ceiling of 200 envelopes, so one integration
can’t spend the whole environment’s replay budget; exceeding it returns
429 replay.rate_limited.
Delivery history carries the same fields the portal’s delivery list shows, with
one difference: the stored request body and the receiver’s response excerpt are
always omitted. Your own receiver already holds everything it was sent, and payload
access isn’t granted on this surface. When an envelope reached more than one subscription,
pass ?subscriptionId= to deliveries/{envelopeId} — otherwise it returns
400 delivery.ambiguous_envelope.
Suspend and resume, the dead-letter queue and capture subscriptions are not part of this surface.
Subscription states
Section titled “Subscription states”A subscription is Active as soon as it is created, from the portal, the admin API
and the integrator API. Oclavex does not ask your endpoint to prove anything first:
the only requests it sends are signed events. You can later set a subscription to
Disabled yourself; a platform operator can set it to Suspended. Giving a
subscription a new URL keeps its state, except that a Suspended subscription’s URL
cannot be changed (409 subscription.invalid_state, error 4020),
because the suspension may be about that URL.
A wrong URL does not block creating the subscription. Send a test event to check the receiver (Test-fire); a URL that keeps failing shows up under Failed deliveries.
The envelope
Section titled “The envelope”Every delivery is a CloudEvents 1.0 JSON document:
{ "specversion": "1.0", "id": "01J…", "source": "urn:oclavex:tenant:…", "type": "Entitlement.Activated", "time": "2026-06-16T10:00:00Z", "subject": "…", "datacontenttype": "application/json", "tenantid": "…", "entitykind": "entitlement", "entityid": "…", "eventversion": 1, "data": { }}The request is not the CloudEvents HTTP binding. Its Content-Type is application/json,
not application/cloudevents+json, and the request carries no ce-* headers, so the
HTTP-binding adapter of a CloudEvents SDK reads the request as binary mode and finds no
attributes. Parse the body with the SDK’s JSON event formatter instead, or read the
attributes straight from the JSON:
using System.Text.Json;
var envelope = JsonDocument.Parse(body).RootElement;var type = envelope.GetProperty("type").GetString();var id = envelope.GetProperty("id").GetString();var data = envelope.GetProperty("data");data is event-specific and non-strict — ignore fields you don’t recognize, so
new ones never break you. Every field an event type lists is in its data: a field with no
value is null and an empty list is []. Date-times are ISO 8601 in UTC, and a value from a
fixed set is its PascalCase name, such as Month. Test deliveries (sent from the portal or the test-fire
endpoint) carry "_test": true in data; gate on it so test events never touch
real state.
Entitlement events carry the keys to route them without looking the entitlement
up first: reference, externalReference, customerId, customerExternalReference,
planSetId, and billing with provider, providerSubscriptionReference and
providerCustomerReference — each null when the entitlement has none, and named as the
entitlement names them in the API.
User and organization events keep a CRM or helpdesk in sync with your customers: create
or update the record on Created and Updated, remove it on Deleted. Each carries the
id, externalReference (when the record came from a connected system) and origin —
admin (the portal or the admin API), self-service (sign-up or a profile edit),
privacy (an erasure), or the connected system’s scheme, such as sfdc or stripe. A
CRM can skip events whose origin is its own, so it never echoes its own changes back.
User.CreatedandUser.UpdatedcarryuserType(ConsumerorDevice),email,firstName,lastName,roles,organizationIds,isApprovedandisBlocked.Organization.CreatedandOrganization.UpdatedcarryparentId,organizationType(Company,DepartmentorTeam),name,emailDomainandcountry. Invoice details stay out: read the organization withGET /api/v1/identity/admin/organizations/{organizationId}in the Users and organizations API.UpdatedaddschangedFields, and a save that changes nothing sends nothing.User.DeletedcarriesuserId,externalReference,originanduserType;Organization.DeletedcarriesorganizationId,externalReferenceandorigin.
User events describe your customers: devices, members of an organization, and users
whose only role is license consumer. Your own staff emit them only while they are a member of an organization. A user who stops being a
customer is sent User.Deleted, and User.Created if they become one again, so a mirror
that upserts and deletes stays in sync.
Seat events
Section titled “Seat events”Entitlement.SeatActivated and Entitlement.SeatReleased tell you who holds your
customers’ seats without polling. Both carry the entitlement’s routing keys and:
sessionId— the session holding the seat, the same id the release endpoint and the admin API use.deviceFingerprintHash— the SHA-256 of the device fingerprint the license is bound to (itsdev_fpclaim), as lowercase hex. Hash a fingerprint you know the same way to match it; the fingerprint itself is never sent.nullwhen the activation carried none.productIds— the products the session licenses.activatedAtorreleasedAt— when the seat was taken or released.userId— the id of the signed-in user whose session took or released the seat, the same id the user events and the admin API use. An id only: no email, no name.nullwhen the activation had no signed-in user.
{ "type": "Entitlement.SeatActivated", "entitykind": "entitlement", "entityid": "5f0c2a1e-…", "data": { "entitlementId": "5f0c2a1e-…", "planCode": "PRO-2024", "sessionId": "a8d4e913-…", "deviceFingerprintHash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", "productIds": ["66666666-…"], "activatedAt": "2026-09-30T08:00:00Z", "userId": "3c9b1f6e-…", "reference": "PO-2026-0042", "externalReference": null, "customerId": null, "customerExternalReference": null, "planSetId": null, "billing": null }}To follow which devices use a license, key them by sessionId: add the session on
SeatActivated and remove it on SeatReleased. When two events about one session
disagree, the later activatedAt or releasedAt wins, whatever order they
arrived in. A seat whose lease runs out without a release sends nothing, so on a license
with leased seats a device can stop holding its seat without a SeatReleased; if it
comes back, you receive SeatActivated again for the same sessionId. When you need
the exact number of seats in use at a given moment, read the entitlement’s sessions
from the admin API. The same seat change sent twice keeps its envelope id, so
deduplicate on the id as for every event.
Device events
Section titled “Device events”Entitlement.DeviceReset, Entitlement.DeviceBlocked and Entitlement.DeviceUnblocked
report what you do to a device on a customer’s license, so a support desk, CRM or audit
trail follows without polling. All three carry the entitlement’s routing keys and:
deviceFingerprintHash— the SHA-256 of the device fingerprint, as lowercase hex, the same as in the seat events. The fingerprint itself and the name you gave the device are never sent.nullwhen there is no fingerprint.userId— the signed-in user’s id, as in the seat events. A deactivation names the user of the session you deactivated. A block or an unblock names the user of the device’s most recent activation on the entitlement.nullwhen that activation had no signed-in user.
Entitlement.DeviceReset — you deactivate a license, which the portal offers as
Deactivate (the event keeps its historical name). Its seat is freed, its license ends the
next time it contacts Oclavex and, if it activated with an activation code, it stops
counting against that code’s device limit. Activating again starts a new session. Each
license deactivated sends one event. When you deactivate every license on an entitlement,
only the licenses that still held a seat send one; the others end without an event. It also carries:
sessionId— the session that was deactivated, the same id as in the seat events.productIds— the products that session licensed.resetAt— when you deactivated the license.transferCount— the number of deactivations the entitlement has had so far, this one included. When one request deactivates several licenses, each event carries the total after all of them.
Entitlement.DeviceBlocked and Entitlement.DeviceUnblocked — you block a device so that
no activation admits it, or lift the block. Blocking also ends the device’s current
activations on that entitlement, as a deactivation does; unblocking does not bring them back, and
the device activates again as a new one. Both also carry:
deviceId— the id of the device’s entry in the entitlement’s device list, the id you use to unblock or remove it. It is not a session id.blockedAtorunblockedAt— when you blocked or unblocked the device.
{ "type": "Entitlement.DeviceReset", "entitykind": "entitlement", "entityid": "5f0c2a1e-…", "data": { "entitlementId": "5f0c2a1e-…", "planCode": "PRO-2024", "sessionId": "a8d4e913-…", "deviceFingerprintHash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", "productIds": ["66666666-…"], "resetAt": "2026-10-04T09:30:00Z", "transferCount": 1, "userId": null, "reference": "PO-2026-0042", "externalReference": null, "customerId": null, "customerExternalReference": null, "planSetId": null, "billing": null }}Deactivating or blocking a license that held its seat also sends Entitlement.SeatReleased
for its session, and so does releasing a seat yourself, so a receiver that follows seats
stays correct without these events. Blocking a device that is already blocked and
unblocking one that is not blocked send nothing, and neither does adding or removing a
pre-registered device. The same change sent twice keeps its envelope id, so deduplicate
on the id as for every event.
Usage events
Section titled “Usage events”MeteredUsage.PeriodClosed tells you what a customer used in a finished window, so you can
bill it without polling monitored-assets/{id}/usage. A window is one reset period of the
usage quota on a monitored asset, such as a day or a month; it follows the calendar, or
starts at the first report when the quota is anchored on first use. One event is sent for
each asset and each window that closes. The event carries the
entitlement’s routing keys, so the subscription and customer references need no lookup, and:
identifier— the same for a window every time it is delivered or replayed. Pass it to your billing system as the meter event’s identifier, such as Stripe’sidentifier, and a retried delivery is billed once. It is a short opaque string; do not parse it.quantity— what the asset counted in the window. For a counter that is the usage recorded between the window’s start and end; for a gauge it is the last level reported.periodStartsAtandperiodEndsAt— the window, as RFC 3339 times.periodEndsAtis the boundary the quota resets at.trackerIdandmetricName— the monitored asset and its metric;metricTypesays whether the asset counts (CumulativeCounter,TotalCounter) or measures a level (Gauge).consumptionPeriod— the reset period, such asMonth.nullwhen the quota has none.
{ "type": "MeteredUsage.PeriodClosed", "entitykind": "monitored-asset", "entityid": "22222222-…", "data": { "identifier": "mp_3f1c9a6b5e2d4a7c8b0e1f2a3d4c5b6a", "entitlementId": "5f0c2a1e-…", "trackerId": "22222222-…", "metricName": "api-calls", "metricType": "CumulativeCounter", "quantity": 1200, "periodStartsAt": "2026-09-01T00:00:00Z", "periodEndsAt": "2026-10-01T00:00:00Z", "consumptionPeriod": "Month", "reference": "PO-2026-0042", "externalReference": null, "customerId": null, "customerExternalReference": null, "planSetId": null, "billing": { "provider": "stripe", "providerSubscriptionReference": "sub_1PqRsT2eZvKYlo2C", "providerCustomerReference": null } }}Oclavex closes a window when the first report after its end arrives, or, when no report
arrives, once the asset’s back-dating tolerance has passed beyond the window’s end. The
back-dating tolerance is how long after it was captured a usage report may still be counted
in the window it was captured in; you set it on the monitored asset, and it is zero unless you
set one. Usage that reaches Oclavex later than that is counted in the window open when it
arrives, and the closed window’s quantity is never changed or sent again. A window that had
already ended when Oclavex began sending this event is not announced, and an asset that never reported
usage has no window to close. A quota without a reset period (a lifetime allowance) never
closes.
Verifying a delivery
Section titled “Verifying a delivery”Each request carries the three Standard Webhooks headers:
| Header | Meaning |
|---|---|
webhook-id |
The envelope id |
webhook-timestamp |
Send time, in integer Unix seconds |
webhook-signature |
v1, + base64 HMAC-SHA256; several, space-separated, during a rotation |
Oclavex adds headers of its own. They begin with the same webhook- prefix, but the
Standard Webhooks specification does not define them, and the signature does not cover
them, so use them to route a request and never to decide whether to trust it:
| Header | Meaning |
|---|---|
webhook-event-type |
e.g. Entitlement.Activated |
webhook-delivery-attempt |
Retry counter |
webhook-tenant |
The emitting tenant id |
webhook-subscription |
The subscription id the delivery belongs to |
webhook-callback-token |
Optional short-lived JWT (see below) |
Any Standard Webhooks library verifies a delivery as it is: give it the signing secret,
the headers and the raw body (examples).
The signing secret is whsec_ followed by base64, and the HMAC key is the decoded
bytes after the prefix, not the secret’s text. To check by hand, recompute the
signature over {webhook-id}.{webhook-timestamp}.{raw-body} and compare in constant
time:
key = base64_decode( secret without "whsec_" )signature = "v1," + base64( HMAC_SHA256(key, id + "." + timestamp + "." + body) )Reject anything that doesn’t match, or whose timestamp is more than a few minutes from your clock.
Secret rotation
Section titled “Secret rotation”During a rotation there is an overlap window: Oclavex sends both signatures,
space-separated, in webhook-signature. Accept the delivery if either verifies,
so you can rotate keys with no dropped events.
Calling back
Section titled “Calling back”If your subscription requests callback scopes, each delivery includes a short-lived
JWT in webhook-callback-token. Use it as a bearer token to call straight back into
the API with exactly those scopes — no separate OAuth round-trip. Identity issues the token
fresh for each attempt; it is valid for 15 minutes and works for one request. It is never stored: the delivery
history records only whether a token was attached, its scopes and its expiry, or that
issuing it failed (the delivery still goes out, without the header).
What a callback token can reach is limited to the integration surface: licenses and their
day-to-day operations, license sessions, usage, quotas, credit balances, metrics and feature
ratings. It can read your catalog (products, features, tags) but not change it. With
organization.organization.read it can read your customer organizations, including their billing
details, contacts and members, and with organization.user.read the users on your account: events such as
Organization.BillingDetailsChanged name what changed, not the values, and Entitlement.*
events name the customer by customerId only. Account administration (creating, changing or
deleting users and organizations), sign-up, privacy requests and connector settings are never
offered, and neither are delete verbs or wildcards.
Callback tokens are off by default. A scope that ends in .read only reads; any other
scope (.create, .update, .write) is a write scope. Every delivery carries the
token, so anyone who can see your receiver’s requests can use it once, within 15 minutes. Saving a
write scope the receiver did not hold before, or moving a subscription that holds one to a
new URL, therefore needs your confirmation. The portal asks Let this receiver change your
data? and names the URL and what the token can do. Through the API, send
acknowledgeWriteCallbackScopes: true in the create or update request; without it the request
is refused with 400 subscription.callback_write_scope_unconfirmed (error
4036). Read scopes need no confirmation. Each confirmed
grant is written to the audit trail with the URL and the scopes.
Delivery and retries
Section titled “Delivery and retries”Delivery is at-least-once — make handling idempotent by deduplicating on webhook-id. Failed
deliveries (5xx, 408, 429, timeout, DNS) retry on this schedule: for up to
3 days, with exponential backoff and full jitter from a 2 s base that doubles
until each delay is at most 6 hours, and a 30 s per-attempt timeout —
size your endpoint’s processing accordingly. The first retries come within minutes;
once the delays reach the cap, a receiver that is still down is tried about eight times a day,
every 3 hours on average. Any other 4xx, such as 400 or 401, is not
retried: the delivery is dead-lettered at once. A dead-lettered delivery is recorded as
failed, kept for 30 days for inspection, and can be retried from the Failed deliveries
tab in the portal with a fresh retry window. Every attempt is audited.
When a delivery is dead-lettered, Oclavex emails the person who created the subscription, or the tenant administrator when that person’s sign-in name is not an email address, with the reason and a link to the Failed deliveries tab. It sends at most one of these emails per subscription each day, however many deliveries fail.
Oclavex does not follow redirects. Every 3xx answer is a failed delivery that is not
retried, whether the redirect points to the same host or to another one, so register the
final URL of your receiver.
Order of events
Section titled “Order of events”Events about one entity reach one subscription in the order they happened. Oclavex does not send a later event about an entity until the earlier one is delivered or dead-lettered. A receiver that stays down therefore holds back the later events about the same entity for as long as the retry window lasts, up to 3 days. A dead-lettered event leaves a gap and does not reorder the rest. Two things deliver an old event after newer ones: a delivery you retry from the Failed deliveries tab, and a replay. There is no order between different entities or different subscriptions. When the order matters to you, treat each event as a signal to read the current state from the API.
Where requests come from
Section titled “Where requests come from”Oclavex does not publish a fixed list of the addresses its deliveries come from, and the addresses may change. Do not allow-list by address. Authenticate every delivery by verifying its signature.
Versioning and deprecation
Section titled “Versioning and deprecation”Oclavex changes the payload of an event type in one of two ways. A change that only adds,
such as a new optional field in data or a wider set of values, ships at any time under the
same type name, so ignore fields you don’t recognize. New event types can also appear at
any time. A change that breaks a
receiver, such as a renamed or removed field, a changed type, a narrower set of values or a
changed meaning, gets a new event type with a .vN suffix, for example
Entitlement.Activated.v2. Oclavex keeps sending the old type next to the new one for at
least 90 days and documents the difference when the new type ships.
During that window one change produces two separate events with different envelope ids, and
a subscription to Entitlement.Activated does not receive Entitlement.Activated.v2.
Subscribe to the new type by name to move over. A subscription to * receives both. eventversion
in the envelope is the number of the version and is informational: route on type.
No event type has a .vN version today.
Event catalog
Section titled “Event catalog”An offer is a template, not an entitlement: publishing, changing or deleting one sends no
Entitlement.* event. Each entitlement ordered from it sends its own.
| Event type | Fires when |
|---|---|
Entitlement.Activated |
An entitlement transitions to Active |
Entitlement.TakenOffline |
A published entitlement is set back to Draft (unpublished); its licenses stop activating until it is published again. Stopping new activations with disable-activations sends no event. A license revoked on the way out sends Entitlement.Cancelled instead |
Entitlement.Expiring |
An entitlement is approaching expiry |
Entitlement.TrialExpiring |
A trial is approaching its end |
Entitlement.Renewed |
A subscription period renews |
Entitlement.Revised |
The terms of a live order moved to a new revision: a draft revision was applied, or seats were added, the end was extended or a plan came from billing or a connector. revision and previousRevision number the step, source says where it came from (portal, api, operational, billing, plan-change, override, publish, migration or the name of a connector such as stripe), and changes lists each field that moved with its from and to values (null on one side when a whole unit was added or removed). takesAway is true when the customer loses something. note is null when none was given. Who applied the change is not sent |
Entitlement.Cancelled |
An entitlement is canceled |
Entitlement.Paused |
An entitlement is put on hold — by you, or by a billing event such as a failed payment — and stops issuing licenses; the payload’s reason says why. A failed payment with a grace period sends it when the grace ends, not before: until then the entitlement reads PastDue and keeps working |
Entitlement.Resumed |
A hold is lifted and the entitlement issues licenses again |
Entitlement.PlanApplied |
A plan is applied or changed |
Entitlement.PlanChangeRequested |
A customer’s plan-change request awaits approval — the payload’s requestId lets you approve programmatically, e.g. once a payment succeeds |
Entitlement.PlanChangeReviewed |
A plan-change request is decided — approved (including auto-approval) or rejected |
Entitlement.AddOnGranted |
An add-on is granted to an entitlement; the payload carries the add-on’s code and the grant’s start and end |
Entitlement.AddOnRevoked |
An add-on grant is revoked, or the add-on subscription that granted it ends; the payload’s endsAt says when the add-on stops applying, which for a subscription canceled at the period end is the end of the paid period. A grant that reaches its end date sends Entitlement.AddOnExpired instead |
Entitlement.AddOnExpired |
An add-on grant reaches its end date and stops applying — including one suspended by a failed payment — without being revoked. expiredAt says when; sent once per end date, so a grant whose end moves (a renewal) is announced again when the new one passes. When a recovered payment puts a suspended add-on back, Entitlement.AddOnGranted is sent again. A periodic check sends it, so it can follow the end by a few minutes |
Entitlement.Deleted |
An entitlement is deleted |
Entitlement.SubscriptionAnchored |
A billing subscription that named no entitlement — one sold in your billing provider’s own dashboard, or posted without targetEntitlementId — lands on an entitlement. subscriptionExternalReference is the subscription as you named it and entitlementId the entitlement that carries it, so you never have to look it up. Sent again on each later change of that subscription; treat the pair as idempotent |
Entitlement.SeatActivated |
A device takes a seat on an entitlement: its first activation, online or offline, or a device taking back a seat it no longer held — after releasing it, or after its lease ran out. sessionId names the session and deviceFingerprintHash the device; see Seat events |
Entitlement.SeatReleased |
A seat is freed: a device releases the seat it held — your application releases the session — or you release, deactivate or block a device that held a seat. A seat whose lease runs out without a release sends nothing, and taking the entitlement offline, revoking or deleting it sends that event instead of one per seat |
Entitlement.DeviceReset |
You deactivate a license (the event keeps its historical name). Its seat is freed and its license ends the next time it contacts Oclavex; each session deactivated sends one event, also when you deactivate every license on an entitlement. sessionId names the session and transferCount the entitlement’s total of deactivations; see Device events |
Entitlement.DeviceBlocked |
You block a device on an entitlement: its current activations end and no activation admits it until you unblock it. deviceId names the device’s entry in the entitlement’s device list; see Device events |
Entitlement.DeviceUnblocked |
You unblock a device on an entitlement. The activations the block ended stay ended, and the device activates again as a new one; see Device events |
Entitlement.ActivationCodeIssued |
An activation code is added to an entitlement, in the portal or through the API — whether or not the customer is mailed about it. activationCodeId names the code and codeHint holds its last four characters; the code itself is never sent, so read it through the admin API if your own system mails it. recipientEmail, maxDeviceActivations (null when the code follows the entitlement’s own device limit) and expiresAt are null when not set. Offers and anonymous tries send nothing |
Feedback.Submitted |
An end user submits feedback — a feature request, a problem report or a general comment. securityIssue says whether it is labeled a security issue; a labeled item sends its title, body and requesterEmail as null |
Feedback.Reviewed |
You decide on a feedback item — accepted, declined or marked as a duplicate. A security-labeled item sends its title and reviewNote as null |
MeteredUsage.OverageStatusChanged |
A monitored asset crosses a quota tier (Normal / Warning / Critical / OverUsage) |
MeteredUsage.PeriodClosed |
A usage window of a monitored asset finishes. quantity is what the asset counted between periodStartsAt and periodEndsAt, and identifier is the same for the window every time it is delivered, so your billing system can bill it once; see Usage events |
CreditBalance.StatusChanged |
A prepaid credit balance crosses a threshold — e.g. running low or depleted — so you can prompt a top-up before work is blocked |
CreditBalance.Deposited |
Credits are added to a balance — a paid purchase, or a deposit you make. amount is what was added and currentBalance the balance after it; origin is admin for your own deposit, or the purchase’s scheme, such as stripe, with externalReference naming the purchase. A balance’s opening credits and its scheduled top-ups send nothing |
User.Created |
A customer user appears — you create one, an end user registers, your CRM syncs a contact, a deleted user is restored, or a user becomes a customer (for example by joining an organization). Devices count, and userType lets you filter them out. Your own staff emit user events only while they are a member of an organization |
User.Updated |
A customer user’s details, roles, access (approved, blocked) or organization membership change; changedFields names what changed. Signing in is not a change |
User.Deleted |
A customer user is deleted, removed by your CRM, or erased on a privacy request, or stops being a customer: in no organization any more, with roles beyond license consumer — for example a staff user removed from their last organization, or one whose organization is deleted. Identifiers only — no email |
Organization.Created |
An organization appears — you create one, your CRM syncs an account, or a deleted one is restored |
Organization.Updated |
An organization’s details change, its invoice details included; changedFields names what changed |
Organization.Deleted |
An organization is deleted or removed by your CRM. Identifiers only |
Organization.BillingDetailsChanged |
An organization’s invoice details change — billing email, address, legal name or tax registration — whether you edit them or a connected system such as Stripe does. The payload names the changed fields, not their values. The same change also sends Organization.Updated |
DataSubjectRequest.Completed |
A data-subject request finishes; failedCategories names any part that could not be completed. The payload carries no email |
Tenant.Created |
An environment on the platform is created — an organization signs up, or a customer adds a Sandbox or Staging environment to their account. The payload carries subjectTenantId, subjectTenantIdentifier, accountId, name, adminEmail and createdAt. Listed and subscribable only in the platform operator’s environment, and delivered only there — never to the environment the event is about |
Tenant.Renamed |
An environment’s portal address changes: its administrator changed it, a requested change was approved, or it was changed back to the sign-up name. A rejected request changes nothing and sends nothing. The payload carries previousIdentifier, newIdentifier, previousPortalUrl, newPortalUrl and how (Applied, Approved or Reverted), so you can update stored links. Delivered to the renamed environment itself and to the platform operator — the one Tenant.* event every environment can subscribe to |
Tenant.Suspended · .Resumed · .Deleted · .Erased |
An environment on the platform is taken offline or brought back online, deleted, or has its data erased for good. Listed and subscribable only in the platform operator’s environment, and delivered only there — never to the environment the event is about |