Skip to main content
The InboxKit plugin handles incoming webhooks. Point your provider’s subscription URL at your Corsair HTTP handler (see Overview for setup context and the exact URL shape).
New to Corsair? See webhooks and hooks.

Webhook map

  • clientIdRequests
    • statusChanged (clientIdRequests.statusChanged)
  • consentRequests
    • statusChanged (consentRequests.statusChanged)
  • domains
    • statusChanged (domains.statusChanged)
  • mailboxes
    • statusChanged (mailboxes.statusChanged)

HTTP handler setup

app/api/webhook/route.ts

Events

Client Id Requests

Status Changed

clientIdRequests.statusChanged A client ID request’s status changed. Payload
webhookHooks example

Status Changed

consentRequests.statusChanged An OAuth consent request’s status changed. Payload
webhookHooks example

Domains

Status Changed

domains.statusChanged A domain’s status changed. Payload
webhookHooks example

Mailboxes

Status Changed

mailboxes.statusChanged A mailbox’s status changed. Unless the team has turned it off, InboxKit sends the mailbox’s passwords in this delivery; the plugin removes them before a handler returns. Use mailboxes.showCredentials if you need them. Payload
webhookHooks example