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

  • companyCreated (companyCreated)
  • companyDeleted (companyDeleted)
  • companyUpdated (companyUpdated)
  • contactCreated (contactCreated)
  • contactDeleted (contactDeleted)
  • contactUpdated (contactUpdated)
  • dealCreated (dealCreated)
  • dealDeleted (dealDeleted)
  • dealUpdated (dealUpdated)
  • ticketCreated (ticketCreated)
  • ticketDeleted (ticketDeleted)
  • ticketUpdated (ticketUpdated)

HTTP handler setup

app/api/webhook/route.ts

Events

Company Created

Company Created

companyCreated A new company was created Payload
webhookHooks example

Company Deleted

Company Deleted

companyDeleted A company was deleted Payload
webhookHooks example

Company Updated

Company Updated

companyUpdated A company property was updated Payload
webhookHooks example

Contact Created

Contact Created

contactCreated A new contact was created Payload
webhookHooks example

Contact Deleted

Contact Deleted

contactDeleted A contact was deleted Payload
webhookHooks example

Contact Updated

Contact Updated

contactUpdated A contact property was updated Payload
webhookHooks example

Deal Created

Deal Created

dealCreated A new deal was created Payload
webhookHooks example

Deal Deleted

Deal Deleted

dealDeleted A deal was deleted Payload
webhookHooks example

Deal Updated

Deal Updated

dealUpdated A deal property was updated Payload
webhookHooks example

Ticket Created

Ticket Created

ticketCreated A new support ticket was created Payload
webhookHooks example

Ticket Deleted

Ticket Deleted

ticketDeleted A support ticket was deleted Payload
webhookHooks example

Ticket Updated

Ticket Updated

ticketUpdated A support ticket property was updated Payload
webhookHooks example