---
title: "Events"
description: "The backend's own events on the audit trail, who reads each and what it derives, then the billing and email provider events the webhooks accept."
canonical_url: "https://nuxt-backend.dev/docs/reference/backend/events"
---
# Events

> The backend's own events on the audit trail, who reads each and what it derives, then the billing and email provider events the webhooks accept.

Version: nuxt-backend 0.6.x · Tab: Reference · Kind: reference · Status: stable

Every page: [llms.txt](https://nuxt-backend.dev/llms.txt) · Skill for coding agents: [nuxt-backend](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/SKILL.md)

Commands use npm; use your project's package manager.

- [Source](https://github.com/qruto/nuxt-backend/blob/main/src/convex/events.ts)

This page lists every event the backend records or receives, who reads each one and what the package does with it, so you know what your handlers get. Two kinds of events reach your backend. The **backend events** are the package's own: sign-ins, passkeys, workspace invitations and roles, an administrator's impersonation. Each is recorded on the audit trail where it happens, read back as activity, and handed to your `onEvent` action. The **provider events** arrive at the billing and email webhooks.

## Before your handler runs

- **Inbound email reaches your code.** `email.received` and `inbox.email.received` are routed, checked for spoofing and stored by the package first (reply addresses, workspace addresses and the support inbox), then reach your `events` handler. The `contact.*` events keep each person's topic preferences in step.
- **Suppressions are mirrored.** `suppression.added`, `suppression.removed` and `email.suppressed` keep the deployment's copy of the provider's suppression list, so sign-in tells a person their address cannot receive mail before it sends a code ([Handle suppressed addresses](https://nuxt-backend.dev/docs/build/email/delivery/suppressions)).
- **Both webhooks verify the same way.** One verifier, `standardwebhooks`, checks both providers' signatures, and the billing webhook calls the package's own handlers.

The tables below are generated from the event catalogs as they stand.

## Backend events

Each kind is recorded by the route or hook its row names, as one row of the audit trail that holds ids, never an address or a name. **Read by** says whose activity lists it, and **Derives** what the channel matrix lets it notify beside its row. The [notifications](https://nuxt-backend.dev/docs/build/email/notifications) capability delivers the in-app ones, and a billing, gift or referral kind never derives an email, because the billing provider emails its own customers. Kinds of your own live under `app.`, such as `app.project_archived`. [Record and review activity](https://nuxt-backend.dev/docs/build/auth/admin/audit-log) shows how to record one and read the trail.

<table>
<thead>
  <tr>
    <th>
      Event
    </th>
    
    <th>
      Read by
    </th>
    
    <th>
      Data
    </th>
    
    <th>
      Derives
    </th>
    
    <th>
      Recorded by
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        auth.signed_in
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        method: string?
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      Every new session, by its database hook, except an administrator's impersonation and a re-authentication
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        auth.signed_out
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        /sign-out
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        auth.reauthenticated
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        method: string?
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      A sign-in marked as a re-authentication (<code>
        useReauthentication
      </code>
      
      )
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        auth.passkey_added
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      in-app, email
    </td>
    
    <td>
      <code>
        /passkey/verify-registration
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        auth.passkey_removed
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      in-app, email
    </td>
    
    <td>
      <code>
        /passkey/delete-passkey
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        auth.passkey_only_changed
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        enabled: boolean
      </code>
    </td>
    
    <td>
      in-app, email
    </td>
    
    <td>
      <code>
        /passkey-only/set
      </code>
      
       and <code>
        /admin/disable-passkey-only
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        auth.email_changed
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      in-app, email
    </td>
    
    <td>
      <code>
        /email-otp/change-email
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        auth.new_device
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        browser: string?
      </code>
      
      , <code>
        os: string?
      </code>
      
      , <code>
        recovery: boolean?
      </code>
    </td>
    
    <td>
      in-app, email
    </td>
    
    <td>
      Every new session, by its database hook, except an administrator's impersonation
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        auth.session_revoked
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        /revoke-session
      </code>
      
      , <code>
        /revoke-sessions
      </code>
      
      , <code>
        /revoke-other-sessions
      </code>
      
      , <code>
        /admin/revoke-user-session(s)
      </code>
      
       and <code>
        auth:revokeSession
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        workspace.created
      </code>
    </td>
    
    <td>
      the account, its workspace's owners and admins, administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        /organization/create
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        workspace.member_invited
      </code>
    </td>
    
    <td>
      the account, its workspace's owners and admins, administrators
    </td>
    
    <td>
      <code>
        role: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        /organization/invite-member
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        workspace.invitation_accepted
      </code>
    </td>
    
    <td>
      the account, its workspace's owners and admins, administrators
    </td>
    
    <td>
      <code>
        role: string
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      <code>
        /organization/accept-invitation
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        workspace.member_removed
      </code>
    </td>
    
    <td>
      the account, its workspace's owners and admins, administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      <code>
        /organization/remove-member
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        workspace.member_role_changed
      </code>
    </td>
    
    <td>
      the account, its workspace's owners and admins, administrators
    </td>
    
    <td>
      <code>
        role: string
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      <code>
        /organization/update-member-role
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        admin.impersonation_started
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      The impersonation's session, by its database hook (<code>
        /admin/impersonate-user
      </code>
      
      )
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        admin.impersonation_stopped
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        /admin/stop-impersonating
      </code>
      
      , and signing the impersonated session out
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        admin.role_changed
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        role: string
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      <code>
        /admin/set-role
      </code>
      
      , and the <code>
        setUserRole
      </code>
      
       bootstrap (as the app)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        admin.user_banned
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        expiresIn: number?
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        /admin/ban-user
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        admin.user_unbanned
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        /admin/unban-user
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        flag.changed
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        flag: string
      </code>
      
      , <code>
        enabled: boolean?
      </code>
      
      , <code>
        rollout: number?
      </code>
      
      , <code>
        targets: number?
      </code>
      
      , <code>
        reset: boolean?
      </code>
      
      , <code>
        winner: string?
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        flags:setFlag
      </code>
      
       (<code>
        setupFlags
      </code>
      
      ), from the admin console's Flags tab and the Experiments view
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        experiment.exposed
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        experiment: string
      </code>
      
      , <code>
        variant: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      The first <code>
        useExperiment
      </code>
      
       (<code>
        flags:exposeExperiment
      </code>
      
      ) or <code>
        flags.variant
      </code>
      
       read of a running experiment
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        announcement.published
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        announcement: string
      </code>
      
      , <code>
        broadcast: boolean
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        email:publishAnnouncement
      </code>
      
       (<code>
        setupEmail
      </code>
      
      ), from the admin console's Announcements tab
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        announcement.ended
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        announcement: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        email:endAnnouncement
      </code>
      
       (<code>
        setupEmail
      </code>
      
      ), from the admin console's Announcements tab
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        announcement.sent
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        announcement: string
      </code>
      
      , <code>
        audience: string
      </code>
      
      , <code>
        topic: string?
      </code>
      
      , <code>
        scheduled: boolean
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        email:sendAnnouncement
      </code>
      
       (<code>
        setupEmail
      </code>
      
      ), from the admin console's Announcements tab
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        announcement.cancelled
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        announcement: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        email:cancelAnnouncement
      </code>
      
       (<code>
        setupEmail
      </code>
      
      ), from the admin console's Announcements tab
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        access.phase_changed
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        phase: string
      </code>
      
      , <code>
        from: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        access:setAccessPhase
      </code>
      
       (<code>
        setupAccess
      </code>
      
      ), from the admin console's Access tab
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        access.ticket_used
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        ticket: string
      </code>
      
      , <code>
        label: string?
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      The account's creation (<code>
        user.create
      </code>
      
      ), once the account exists
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        access.invite_created
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        kind: string
      </code>
      
      , <code>
        label: string
      </code>
      
      , <code>
        maxUses: number
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        access:createInvite
      </code>
      
      , <code>
        access.invites.create
      </code>
      
       and <code>
        issueMemberTicket
      </code>
      
       (<code>
        access.memberTickets
      </code>
      
      )
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        access.invite_revoked
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        kind: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        access:revokeInvite
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        access.admitted
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        count: number
      </code>
      
      , <code>
        label: string?
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        access:admitEmails
      </code>
      
       and <code>
        access.admit
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        waitlist.joined
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        source: string
      </code>
      
      , <code>
        referred: boolean
      </code>
      
      , <code>
        news: boolean
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      The code check of a new address in early access (<code>
        setupAccess
      </code>
      
      's sign-in hooks)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        waitlist.admitted
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        count: number
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        waitlist:admitWaitlist
      </code>
      
       (<code>
        setupWaitlist
      </code>
      
      ), from the admin console's Waitlist tab
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        waitlist.declined
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        count: number
      </code>
      
      , <code>
        abuse: boolean
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        waitlist:declineWaitlist
      </code>
      
       (<code>
        setupWaitlist
      </code>
      
      ), from the admin console's Waitlist tab
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        waitlist.friend_joined
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        friends: number
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      The code check of a new address in early access (<code>
        setupAccess
      </code>
      
      's sign-in hooks)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        waitlist.wave_planned
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        size: number?
      </code>
      
      , <code>
        opensAt: number?
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        waitlist:planWaitlistWave
      </code>
      
       (<code>
        setupWaitlist
      </code>
      
      ), from the admin console's Waitlist tab
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        report.decided
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        action: string
      </code>
      
      , <code>
        ground: string
      </code>
      
      , <code>
        reports: number
      </code>
      
      , <code>
        reason: string
      </code>
      
      , <code>
        table: string?
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        admin:decideReport
      </code>
      
       (<code>
        setupAdmin({ reports })
      </code>
      
      ), from the admin console's Reports tab
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        report.crime_flagged
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        table: string?
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        admin:flagCrime
      </code>
      
       (<code>
        setupAdmin({ reports })
      </code>
      
      ), from the admin console's Reports tab
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        report.appealed
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        admin:appealDecision
      </code>
      
       (<code>
        setupAdmin({ reports })
      </code>
      
      ), from the <code>
        report
      </code>
      
       page
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        report.appeal_decided
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        outcome: string
      </code>
      
      , <code>
        reason: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        admin:decideAppeal
      </code>
      
       (<code>
        setupAdmin({ reports })
      </code>
      
      ), from the admin console's Reports tab
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        waitlist.left
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        waitlist:leaveWaitlist
      </code>
      
       (<code>
        setupWaitlist
      </code>
      
      )
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        job.queue_changed
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        change: string
      </code>
      
      , <code>
        tier: string?
      </code>
      
      , <code>
        model: string?
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        jobs:setQueue
      </code>
      
       (<code>
        defineJobQueue
      </code>
      
      ), from the admin console's Queue tab
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        job.canceled
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        kind: string
      </code>
      
      , <code>
        refunded: boolean
      </code>
      
      , <code>
        running: boolean
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        jobs:cancelJob
      </code>
      
       (<code>
        defineJobQueue
      </code>
      
      ), from <code>
        useJob().cancel()
      </code>
      
       or the admin console's Queue tab, and <code>
        jobs.cancel
      </code>
      
       from the app's own mutation
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        job.retried
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        kind: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        jobs:retryJob
      </code>
      
       (<code>
        defineJobQueue
      </code>
      
      ), from the Queue tab's dead letters
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        job.charge_retried
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        kind: string
      </code>
      
      , <code>
        credits: number
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        jobs:retryJob
      </code>
      
       (<code>
        defineJobQueue
      </code>
      
      ), from the Queue tab's Retry the charge
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        ai.spend_limit_reached
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        usd: number
      </code>
      
      , <code>
        limit: number
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      The cost record that reached <code>
        setupAi({ spendLimit })
      </code>
      
       (<code>
        costs.checkSpendLimit
      </code>
      
       in the <code>
        backend
      </code>
      
       component)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.checkout_started
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        productId: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        billing:generateCheckoutLink
      </code>
      
       and <code>
        billing.checkout
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.plan_changed
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        change: string
      </code>
      
      , <code>
        productId: string?
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      <code>
        billing:updateSubscription
      </code>
      
      , <code>
        cancelSubscription
      </code>
      
      , <code>
        uncancelSubscription
      </code>
      
      , <code>
        cancelPendingChange
      </code>
      
      , <code>
        pauseSubscription
      </code>
      
       and <code>
        resumeSubscription
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.subscription_created
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        productId: string
      </code>
      
      , <code>
        interval: string?
      </code>
      
      , <code>
        trialEndsAt: number?
      </code>
      
      , <code>
        trialDays: number?
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      The billing webhook (<code>
        /billing/events
      </code>
      
      ), for the entity the customer belongs to; a free plan's own events record nothing
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.subscription_updated
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        productId: string
      </code>
      
      , <code>
        status: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      The billing webhook (<code>
        /billing/events
      </code>
      
      ), for the entity the customer belongs to; a free plan's own events record nothing
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.subscription_canceled
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        productId: string
      </code>
      
      , <code>
        reason: string?
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      The billing webhook (<code>
        /billing/events
      </code>
      
      ), for the entity the customer belongs to; a free plan's own events record nothing
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.subscription_revoked
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        productId: string
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      The billing webhook (<code>
        /billing/events
      </code>
      
      ), for the entity the customer belongs to; a free plan's own events record nothing
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.subscription_past_due
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        productId: string
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      The billing webhook (<code>
        /billing/events
      </code>
      
      ), for the entity the customer belongs to; a free plan's own events record nothing
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.order_paid
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        amount: number
      </code>
      
      , <code>
        currency: string
      </code>
      
      , <code>
        interval: string?
      </code>
      
      , <code>
        promotion: string?
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      The billing webhook (<code>
        /billing/events
      </code>
      
      ), for the entity the customer belongs to; a free plan's own events record nothing
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.order_refunded
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        amount: number
      </code>
      
      , <code>
        currency: string
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      The billing webhook (<code>
        /billing/events
      </code>
      
      ), for the entity the customer belongs to; a free plan's own events record nothing
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.refund_issued
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        amount: number?
      </code>
      
      , <code>
        reason: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        billing:refundOrder
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.benefit_granted
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        benefitType: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      The billing webhook (<code>
        /billing/events
      </code>
      
      ), for the entity the customer belongs to; a free plan's own events record nothing
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.benefit_revoked
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        benefitType: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      The billing webhook (<code>
        /billing/events
      </code>
      
      ), for the entity the customer belongs to; a free plan's own events record nothing
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.credits_low
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        balance: number
      </code>
      
      , <code>
        threshold: number
      </code>
      
      , <code>
        meter: string?
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      A metered AI call's settle (<code>
        setupAi
      </code>
      
      )
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.save_offer_made
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        reason: string
      </code>
      
      , <code>
        offer: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        billing:cancelSubscription
      </code>
      
      , with <code>
        setupBilling({ lifecycle: { saveOffers } })
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.save_offer_accepted
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        reason: string
      </code>
      
      , <code>
        offer: string
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      <code>
        billing:acceptSaveOffer
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.checkout_abandoned
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        productId: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      The billing webhook's <code>
        checkout.expired
      </code>
      
      , with <code>
        setupBilling({ lifecycle: { abandonedCheckout: true } })
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.contract_withdrawn
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        productId: string
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      <code>
        billing:withdraw
      </code>
      
      , with <code>
        setupBilling({ lifecycle: { withdrawal: true } })
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.trial_pass_started
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        plan: string
      </code>
      
      , <code>
        endsAt: number
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      The free plan's start, for a catalog plan with <code>
        trial: { pass: true }
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing.credits_exhausted
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        balance: number
      </code>
      
      , <code>
        meter: string?
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      A metered AI call's settle (<code>
        setupAi
      </code>
      
      )
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        gift.purchased
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        amount: number?
      </code>
      
      , <code>
        currency: string?
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      The billing webhook's <code>
        order.paid
      </code>
      
       for a gift
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        gift.claimed
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      The billing webhook's <code>
        order.paid
      </code>
      
       for a gift's claim, or <code>
        claimGift
      </code>
      
       for a plan pass
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        gift.pass_started
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        plan: string
      </code>
      
      , <code>
        months: number
      </code>
      
      , <code>
        endsAt: number
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      <code>
        claimGift
      </code>
      
      , for a plan pass
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        gift.pass_ending
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        plan: string
      </code>
      
      , <code>
        endsAt: number
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      The gift sweep, seven days before the pass ends
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        gift.pass_ended
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      <code>
        plan: string
      </code>
      
      , <code>
        outcome: string
      </code>
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      The gift sweep, or the billing webhook when the plan is kept
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        gift.refunded
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      The billing webhook's <code>
        order.refunded
      </code>
      
       for a gift
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        referral.claimed
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      <code>
        referrals:claimReferral
      </code>
      
       (<code>
        setupReferrals
      </code>
      
      )
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        referral.rewarded
      </code>
    </td>
    
    <td>
      its workspace's owners and admins, or the account billed on its own (<code>
        billTo: 'user'
      </code>
      
      ); administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      The referral sweep (<code>
        referrals:runReferralSweep
      </code>
      
      , <code>
        setupReferrals
      </code>
      
      ), when a hold ends
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        email.bounced
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      in-app
    </td>
    
    <td>
      The email webhook (<code>
        /email/events
      </code>
      
      ), for an account whose address an <code>
        email.bounced
      </code>
      
       event names
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        email.suppression_lifted
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        origin: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        email:liftSuppression
      </code>
      
       (<code>
        setupEmail
      </code>
      
      ), from the admin console's Suppressions tab
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        webhook.replayed
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        service: string
      </code>
      
      , <code>
        delivery: string
      </code>
      
      , <code>
        type: string?
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        webhooks:replayWebhookDelivery
      </code>
      
       (<code>
        setupWebhooks
      </code>
      
      ), from the admin console's Webhooks tab or DevTools
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        consent.granted
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        kind: string
      </code>
      
      , <code>
        version: string
      </code>
      
      , <code>
        source: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      Account creation (<code>
        setupAccount
      </code>
      
      's required consents), <code>
        account:grantConsent
      </code>
      
       and <code>
        account:chooseStorage
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        consent.withdrawn
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        kind: string
      </code>
      
      , <code>
        version: string
      </code>
      
      , <code>
        source: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        account:withdrawConsent
      </code>
      
       and <code>
        account:chooseStorage
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        account.created
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        invite: string?
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      The account's creation, by its database hook
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        account.activated
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        kind: string
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      The event path itself, as it records the activation event
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        account.data_exported
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        account:exportAccountData
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        account.deletion_scheduled
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        /delete-user
      </code>
      
      , once <code>
        setupAccount
      </code>
      
       is the app's account instance
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        account.deletion_canceled
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      none
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      <code>
        account:cancelAccountDeletion
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        account.erasure_failed
      </code>
    </td>
    
    <td>
      the account, administrators
    </td>
    
    <td>
      <code>
        source: string
      </code>
      
      , <code>
        attempts: number
      </code>
    </td>
    
    <td>
      the row alone
    </td>
    
    <td>
      An erasure (<code>
        account.forget
      </code>
      
      ), once a participant used up its retries
    </td>
  </tr>
</tbody>
</table>

## Provider events

Both webhooks accept the provider's whole event catalog, so a verified delivery is never lost: the package does its own work first, then calls the handler you passed as `events` to `setupBilling` or `setupEmail`, keyed by the provider's event name. An event newer than the package goes to `onUnknownEvent` and is answered `202`. [Hooks and guarantees](https://nuxt-backend.dev/docs/reference/backend/hooks#setupbilling-events) says how often a handler runs.

### Billing events

An event that refreshes entitlements re-reads the entity's plans, benefits and meters from the provider, so `useFeatures` and `useCredits` read fresh inside your handler.

<table>
<thead>
  <tr>
    <th>
      Event
    </th>
    
    <th>
      Refreshes entitlements
    </th>
    
    <th>
      Also
    </th>
    
    <th>
      Subscribed by <code>
        billing sync
      </code>
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        checkout.created
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        checkout.updated
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        checkout.expired
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      With <code>
        lifecycle.abandonedCheckout
      </code>
      
      , records <code>
        billing.checkout_abandoned
      </code>
      
       once per checkout
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        customer.created
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        customer.updated
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        customer.deleted
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        customer.state_changed
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        customer_seat.assigned
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        customer_seat.claimed
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        customer_seat.revoked
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        member.created
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        member.updated
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        member.deleted
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        order.created
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        order.updated
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        order.paid
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      Fulfils a paid gift
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        order.refunded
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      Drops the order's credit reservations; marks a refunded gift
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        subscription.created
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      Confirms the renewal consent proof its checkout kept
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        subscription.updated
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      Follows a plan pass: a workspace that paid for the plan keeps it, and the pass ends with its scheduled return cleared; with <code>
        lifecycle.renewalReminders
      </code>
      
      , sends the yearly renewal reminder when one is due
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        subscription.active
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      Follows a plan pass, as <code>
        subscription.updated
      </code>
      
       does
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        subscription.canceled
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        subscription.uncanceled
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        subscription.revoked
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      Puts the billing entity back on the free plan, when the catalog has one and the entity holds no other plan and still exists
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        subscription.past_due
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        refund.created
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        refund.updated
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        product.created
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        product.updated
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        benefit.created
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        benefit.updated
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      Refreshes the benefit's cached metadata, and re-syncs the products table so pricing follows a benefit edited in the dashboard
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        benefit_grant.created
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        benefit_grant.cycled
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        benefit_grant.updated
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        benefit_grant.revoked
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        organization.updated
      </code>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        subscription.paused
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      
    </td>
    
    <td>
      no: not live on the provider yet
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        subscription.resumed
      </code>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      
    </td>
    
    <td>
      no: not live on the provider yet
    </td>
  </tr>
</tbody>
</table>

### Email events

<table>
<thead>
  <tr>
    <th>
      Event
    </th>
    
    <th>
      What the package does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        email.sent
      </code>
    </td>
    
    <td>
      Updates the email's status, which <code>
        useEmailStatus
      </code>
      
       reads; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        email.delivered
      </code>
    </td>
    
    <td>
      Updates the email's status, which <code>
        useEmailStatus
      </code>
      
       reads; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        email.delivery_delayed
      </code>
    </td>
    
    <td>
      Updates the email's status, which <code>
        useEmailStatus
      </code>
      
       reads; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        email.bounced
      </code>
    </td>
    
    <td>
      Updates the email's status, which <code>
        useEmailStatus
      </code>
      
       reads, and records <code>
        email.bounced
      </code>
      
       for the account the address belongs to; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        email.complained
      </code>
    </td>
    
    <td>
      Updates the email's status, which <code>
        useEmailStatus
      </code>
      
       reads; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        email.opened
      </code>
    </td>
    
    <td>
      Updates the email's status, which <code>
        useEmailStatus
      </code>
      
       reads; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        email.clicked
      </code>
    </td>
    
    <td>
      Updates the email's status, which <code>
        useEmailStatus
      </code>
      
       reads; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        email.failed
      </code>
    </td>
    
    <td>
      Updates the email's status, which <code>
        useEmailStatus
      </code>
      
       reads; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        email.scheduled
      </code>
    </td>
    
    <td>
      Updates the email's status, which <code>
        useEmailStatus
      </code>
      
       reads; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        email.received
      </code>
    </td>
    
    <td>
      Updates the email's status, which <code>
        useEmailStatus
      </code>
      
       reads; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        inbox.email.received
      </code>
    </td>
    
    <td>
      Logs the delivery; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        email.suppressed
      </code>
    </td>
    
    <td>
      Updates the email's status, and marks each recipient suppressed in the deployment's copy of the list, which sign-in reads before it sends a code; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        contact.created
      </code>
    </td>
    
    <td>
      Logs the delivery; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        contact.updated
      </code>
    </td>
    
    <td>
      Logs the delivery; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        contact.deleted
      </code>
    </td>
    
    <td>
      Logs the delivery; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        contact.topics.updated
      </code>
    </td>
    
    <td>
      Logs the delivery; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        domain.created
      </code>
    </td>
    
    <td>
      Logs the delivery; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        domain.updated
      </code>
    </td>
    
    <td>
      Logs the delivery; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        domain.deleted
      </code>
    </td>
    
    <td>
      Logs the delivery; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        suppression.added
      </code>
    </td>
    
    <td>
      Marks the address suppressed in the deployment's copy of the list, with why (<code>
        bounce
      </code>
      
      , <code>
        complaint
      </code>
      
      , <code>
        manual
      </code>
      
      ); then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        suppression.removed
      </code>
    </td>
    
    <td>
      Marks the address lifted in the copy, so the next sign-in code goes out; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        topic.created
      </code>
    </td>
    
    <td>
      Logs the delivery; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        topic.updated
      </code>
    </td>
    
    <td>
      Logs the delivery; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        topic.deleted
      </code>
    </td>
    
    <td>
      Logs the delivery; then your <code>
        events
      </code>
      
       handler
    </td>
  </tr>
</tbody>
</table>


## Sitemap

See the full [sitemap](https://nuxt-backend.dev/sitemap.md) for all pages.
