Skip to main content
The Loops 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

  • campaign
    • emailSent (campaign.emailSent)
  • contact
    • created (contact.created)
    • deleted (contact.deleted)
    • mailingListSubscribed (contact.mailingListSubscribed)
    • mailingListUnsubscribed (contact.mailingListUnsubscribed)
    • unsubscribed (contact.unsubscribed)
  • email
    • clicked (email.clicked)
    • delivered (email.delivered)
    • hardBounced (email.hardBounced)
    • opened (email.opened)
    • resubscribed (email.resubscribed)
    • softBounced (email.softBounced)
    • spamReported (email.spamReported)
    • unsubscribed (email.unsubscribed)
  • loop
    • emailSent (loop.emailSent)
  • testing
    • testEvent (testing.testEvent)
  • transactional
    • emailSent (transactional.emailSent)

HTTP handler setup

app/api/webhook/route.ts

Events

Campaign

Email Sent

campaign.emailSent Campaign email sent. Sent when a campaign email is sent to a contact. This event fires for every campaign send (for example, sending to 1,000 contacts produces 1,000 events). Payload: object
webhookHooks example

Contact

Created

contact.created Contact created. Sent when a new contact is created in your audience. Contains a contactIdentity object and a full contact object with all of the new contact’s properties (including custom properties). Payload: object
webhookHooks example

Deleted

contact.deleted Contact deleted. Sent when a contact is deleted from your audience. Contains a contactIdentity object. Payload: object
webhookHooks example

Mailing List Subscribed

contact.mailingListSubscribed Contact subscribed to mailing list. Sent when a contact is subscribed to a mailing list. Contains contactIdentity and mailingList objects. Payload: object
webhookHooks example

Mailing List Unsubscribed

contact.mailingListUnsubscribed Contact unsubscribed from mailing list. Sent when a contact is unsubscribed from a mailing list. This is not the same as a contact unsubscribing from your audience (see contact.unsubscribed). Payload: object
webhookHooks example

Unsubscribed

contact.unsubscribed Contact unsubscribed. Sent when a contact is unsubscribed from your audience, or when a contact is deleted from your audience (alongside contact.deleted). Payload: object
webhookHooks example

Email

Clicked

email.clicked Email clicked. Sent when a link in a campaign or workflow email is clicked. Not available for transactional emails because link clicks are not tracked for transactional emails. Payload: object
webhookHooks example

Delivered

email.delivered Email delivered. Sent when an email is delivered to its recipient. Payload: object
webhookHooks example

Hard Bounced

email.hardBounced Email hard bounced. Sent when an email hard bounces. Hard bounces are persistent delivery failures (for example, a mailbox that does not exist); the email will not be delivered. Payload: object
webhookHooks example

Opened

email.opened Email opened. Sent when a campaign or workflow email is opened. Not available for transactional emails because email opens are not tracked for transactional emails. Payload: object
webhookHooks example

Resubscribed

email.resubscribed Email resubscribed. Sent when a recipient resubscribes to marketing email from an email’s preference center (“Unsubscribe” link). Not available for transactional emails because unsubscribe links are not included for transactional emails. Payload: object
webhookHooks example

Soft Bounced

email.softBounced Email soft bounced. Sent when an email soft bounces. Soft bounces are temporary delivery failures (for example, a connection timing out). Soft bounces are retried multiple times and the email may still be delivered. Payload: object
webhookHooks example

Spam Reported

email.spamReported Email spam reported. Sent when a recipient reports your email as spam. Contains sourceType and the related campaignId, loopId (workflow ID), or transactionalId, plus contactIdentity and email objects. Payload: object
webhookHooks example

Unsubscribed

email.unsubscribed Email unsubscribed. Sent when a recipient unsubscribes from marketing email or a mailing list using an email’s “Unsubscribe” link. Payload: object
webhookHooks example

Loop

Email Sent

loop.emailSent Loop email sent. Sent when a workflow email is sent to a contact. This event keeps its loop naming for compatibility (Loops was renamed to Workflows on May 6, 2026). Payload: object
webhookHooks example

Testing

Test Event

testing.testEvent Test event. Test event that can be triggered from the Webhooks settings page in Loops. Use this to verify that your endpoint is working and that your signature verification code is correct. Payload
webhookHooks example

Transactional

Email Sent

transactional.emailSent Transactional email sent. Sent when a transactional email is sent to a contact. Contains a transactionalId value plus contactIdentity and email objects. Payload: object
webhookHooks example