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

  • channels
    • created (channels.created)
    • message (channels.message)
  • chats
    • message (chats.message)
  • members
    • changed (members.changed)

HTTP handler setup

app/api/webhook/route.ts

Events

Channels

Created

channels.created A channel was created, updated, or deleted in a team Payload
webhookHooks example

Message

channels.message A message was created or updated in a team channel Payload
webhookHooks example

Chats

Message

chats.message A message was created or updated in a chat Payload
webhookHooks example

Members

Changed

members.changed A team membership was added, updated, or removed Payload
webhookHooks example