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

  • files
    • fileComment (files.fileComment)
    • fileDelete (files.fileDelete)
    • fileUpdate (files.fileUpdate)
    • fileVersionUpdate (files.fileVersionUpdate)
  • library
    • libraryPublish (library.libraryPublish)
  • ping
    • ping (ping.ping)

HTTP handler setup

app/api/webhook/route.ts

Events

Files

File Comment

files.fileComment Payload: unknown webhookHooks example

File Delete

files.fileDelete Payload: unknown webhookHooks example

File Update

files.fileUpdate Payload: unknown webhookHooks example

File Version Update

files.fileVersionUpdate Payload: unknown webhookHooks example

Library

Library Publish

library.libraryPublish Payload: unknown webhookHooks example

Ping

Ping

ping.ping Payload: unknown webhookHooks example