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

  • locations
    • canceled (locations.canceled)
    • closed (locations.closed)
    • created (locations.created)
    • updated (locations.updated)

HTTP handler setup

app/api/webhook/route.ts

Events

Locations

Canceled

locations.canceled A Moz Local location was canceled; carries the location_id to read with local.locations.lookup Payload
webhookHooks example

Closed

locations.closed A Moz Local location was closed (permanently closed); carries the location_id to read with local.locations.lookup Payload
webhookHooks example

Created

locations.created A Moz Local location was created; carries the location_id to read with local.locations.lookup Payload
webhookHooks example

Updated

locations.updated A Moz Local location was updated; carries the location_id to read with local.locations.lookup Payload
webhookHooks example