Skip to content
TesseraDocs
MenuWebhook events

Webhook events

The event types a webhook subscription can receive, when each one fires, and what its payload holds.

View as Markdown

On this page

The event types a webhook subscription can receive, when each one fires, and what its payload holds.

Webhook events are the realm's audit events. Every audit event is delivered to each enabled subscription whose pattern matches its type. How to subscribe, verify and retry is in Webhooks.

The envelope

Every delivery has the same outer shape. Only metadata differs by event.

{
  "event": "access.binding.created",
  "realm_id": "0194f3c2-0000-7000-8000-000000000001",
  "occurred_at": "2026-10-25T12:00:00.123Z",
  "actor": { "type": "user", "id": "0194f3c2-1111-7000-8000-000000000002" },
  "subject": { "type": "user", "id": "0194f3c2-6f1a-7c1e-9d2b-3a4b5c6d7e8f" },
  "on_behalf_of": null,
  "metadata": {}
}
Field Meaning
event The event type, lower-case and dotted. Also sent in the X-Tessera-Event header
realm_id The realm it happened in
occurred_at UTC, with milliseconds
actor Who did it: type is user, agent, client, master or system
subject What it happened to, with a type such as user, invite, agent, client
on_behalf_of The user an agent was acting for, otherwise null
metadata Identifiers and non-secret facts. Never passwords, tokens, secrets or link tokens

Patterns match the event type with * as a wildcard and | between alternatives, for example invite.*|user.*|access.*|session.*.

Stable events for mirroring users and access

These carry the user's ID and email in metadata, so your app can keep its own user and role tables without calling back. Their payloads are kept stable.

Event When subject metadata
user.created A new account exists, however it came about user user_id, email, via (admin, invite, signup, email_otp, federation); invite_id when via is invite
user.disabled, user.enabled An administrator disabled or re-enabled the user user user_id, email, revoked_sessions (a count)
user.deleted An administrator deleted the user, or the person deleted their own account user user_id, email, self_delete; a self-delete on the hosted page adds via: "hosted_page" and the client_id when the page was branded for an app
invite.accepted An invite was accepted user invite_id, user_id, email, user_created, grants_realm_admin, roles (each with role_id, app, role, binding_id), groups (each with group_id, key, added), invited_by
invite.revoked An administrator revoked an invite, or the inviter lost the authority it needed invite Empty for an administrator. For the system: invite_id, email, reason: "inviter_revoked", cause, invited_by
access.binding.created, access.binding.deleted A role was bound to, or unbound from, a user, group or other subject user, group or other binding_id, role_id, app, role, subject_type, subject_id; for users also user_id and email; via: "invite" when it came from an invite
access.group.members_added, access.group.members_removed Group membership changed access group count, members (each with principal_type, principal_id); on invite acceptance also group_id, group, user_id, email
session.revoked A login session ended for a reason other than the person signing out in the browser user session_id, user_id, email, reason (user_revoked, admin_revoked, user_disabled, password_changed, password_reset, mfa_disabled)

Notes:

  • Accepting an invite writes user.created (if the account is new), access.binding.created, access.group.members_added and invite.accepted together, in one transaction, so they are delivered together or not at all.
  • Deleting a role or group removes its bindings without a separate event for each. Deleting a user removes all their bindings and memberships; user.deleted implies them.
  • Signing out through the end-session endpoint does not send session.revoked. Use back-channel logout for that.
  • Events can arrive out of order and more than once. Deduplicate on X-Tessera-Webhook-Id.

Other event families

These events fire for the actions named. Their metadata holds identifiers and facts that are useful for audit, but the exact fields can change, so do not build strict parsing on them. To see which events your realm sends, subscribe a webhook and read what arrives. The console has no audit page yet.

Family Events and when they fire
Sign-in security login.failed, login.locked, login.account_under_attack (failed attempts, a lockout, a spike of failures); mfa.enrollment_started, mfa.enrolled, mfa.used, mfa.failed, mfa.disabled, mfa.recovery_codes_regenerated; user.mfa.reset (an administrator removed a user's second factor)
Passwordless email_otp.sent, email_otp.used, email_otp.failed; magic_link.requested, magic_link.used; sign_in_link.issued, sign_in_link.used
Passkeys passkey.registered, passkey.used, passkey.removed; passkey.clone_suspected (the signature counter did not advance, a sign of a copied credential; metadata has passkey_id, presented_counter, stored_counter and client_ip, which is personal data); passkey.signin_refused (a passkey sign-in was refused; metadata has a reason, the WebAuthn library's error and non-secret facts about the ceremony, never the assertion or the credential id)
Passwords password.set, password.changed, password.reset.requested, password.reset.completed; email_verification.completed
Account user.signed_up (a person signed themselves up); account.reauth_refused (the "confirm it's you" step was completed with a different account's proof)
Invites invite.created, invite.extended, invite.regenerated, invite.email_resent, invite.link_revealed, invite.claimed, invite.claim_locked (an open invite link reached its limit of wrong codes)
Consent and agreements consent.granted, consent.denied; agreement.accepted, agreement.declined; realm.agreements.updated, client.agreements.updated
Tokens token.issued.client_credentials, token_exchange.issued, jwt_bearer.issued, device.token_issued, token.revoked, token.introspected, refresh_token.reuse_detected (an old refresh token was presented again), code.replay_detected (an authorization code was presented a second time; the tokens from the first exchange are revoked), client_auth.failed (a wrong client secret), oauth.client_access_denied, token.issuance_refused, mcp.audience_rejected (an MCP client asked for a missing or unlisted resource); device.authorized, device.denied, device.locked (too many refused approvals invalidated a pending device code)
Clients and apps client.created, client.updated, client.deleted, client.secret_rotated, client.agreements.updated, client.theme.updated, client.theme.deleted; dcr.registered, dcr.client_revoked; cimd.fetched, cimd.rejected; access.app.created, access.app.updated, access.app.deleted, access.app.theme.updated, access.app.theme.deleted; access.role.created, access.role.updated, access.role.deleted; access.group.created, access.group.updated, access.group.deleted
Agents agent.created, agent.updated, agent.disabled, agent.enabled, agent.revoked, agent.secret_rotated, agent.killed, agent.resumed, agent.limit_changed, agent.quota.updated, agent.batch; delegation.settings.updated; token_exchange.policy_rejected
Workload federation trusted_jwt_issuer.created, trusted_jwt_issuer.deleted, federation_policy.created, federation_policy.updated, federation_policy.deleted, jwt_bearer.refused
Upstream sign-in federation_provider.created, federation_provider.updated, federation_provider.deleted, federated.login, provider.linked, provider.unlinked, federation.auto_link_refused, federation.link_confirmation.requested, federation.link_confirmation.confirmed, federation.link_confirmation.refused, provider.link_confirmed, provider.link_undone
Realm settings realm.created, realm.updated, realm.sign_in_methods.updated, realm.mfa_policy.updated, realm.acr_policy.updated, realm.theme.updated, realm.theme.deleted, realm.theme.previewed, realm.theme.brand_import_previewed (a theme was previewed or a "match my site" proposal was read; the same two exist as client.theme.* and access.app.theme.*), realm.email_first_sign_in.updated, realm.email_first_well_known_domains.updated, realm.sign_in_domain.set, realm.sign_in_domain.removed, realm.passkey_rp_id.updated, realm.invite_landing.updated, realm.agent_defaults.updated, realm.email_settings.updated, realm.keys.rotated, realm.keys.rotation_interval.updated, realm.domain.added, realm.domain.removed, realm_admin.granted, realm_admin.revoked
Pairing pairing_code.created, pairing_code.redeemed, pairing_code.redeem_refused, pairing_code.under_attack (a burst of wrong codes from one address)
Webhooks webhook.subscription_created, webhook.subscription_updated, webhook.subscription_deleted, webhook.test_fired

Choosing patterns

  • Subscribe to what you use. * includes high-volume events such as token.introspected and login.failed.
  • To keep client addresses away from a receiver, avoid passkey.* and *; subscribe to passkey.registered|passkey.used instead.
  • Add a family later and it starts matching without any change on your side.