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

  • contacts
    • newContact (contacts.newContact)
  • events
    • eventChange (events.eventChange)
    • newEvent (events.newEvent)
  • messages
    • newMessage (messages.newMessage)
    • sentMessage (messages.sentMessage)
  • subscriptionValidation (subscriptionValidation)

HTTP handler setup

app/api/webhook/route.ts

Events

Contacts

New Contact

contacts.newContact Triggered when a new contact is added in Outlook contacts Payload
webhookHooks example

Events

Event Change

events.eventChange Triggered when a calendar event is created, updated, or deleted Payload
webhookHooks example

New Event

events.newEvent Triggered when a new calendar event is created Payload
webhookHooks example

Messages

New Message

messages.newMessage Triggered when a new message is received in the Outlook mailbox Payload
webhookHooks example

Sent Message

messages.sentMessage Triggered when a message is sent from the Outlook mailbox Payload
webhookHooks example

Subscription Validation

Subscription Validation

subscriptionValidation Microsoft Graph subscription validation handshake Payload
webhookHooks example