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

  • comments
    • created (comments.created)
  • posts
    • created (posts.created)
    • statusChanged (posts.statusChanged)
  • votes
    • created (votes.created)

HTTP handler setup

app/api/webhook/route.ts

Events

Comments

Created

comments.created Occurs when a new comment is created in Canny Payload
webhookHooks example

Posts

Created

posts.created Occurs when a new post is created in Canny Payload
webhookHooks example

Status Changed

posts.statusChanged Occurs when a post’s status is changed in Canny Payload
webhookHooks example

Votes

Created

votes.created Occurs when a new vote is cast in Canny Payload
webhookHooks example