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

  • agent
    • action (agent.action)
    • cancelled (agent.cancelled)
    • completed (agent.completed)
    • failed (agent.failed)
    • started (agent.started)
  • batchScrape
    • completed (batchScrape.completed)
    • page (batchScrape.page)
    • started (batchScrape.started)
  • crawl
    • completed (crawl.completed)
    • page (crawl.page)
    • started (crawl.started)
  • extract
    • completed (extract.completed)
    • failed (extract.failed)
    • started (extract.started)

HTTP handler setup

app/api/webhook/route.ts

Events

Agent

Action

agent.action The agent executed a tool action Payload
webhookHooks example

Cancelled

agent.cancelled An agent job was cancelled Payload
webhookHooks example

Completed

agent.completed An agent job completed successfully Payload
webhookHooks example

Failed

agent.failed An agent job failed Payload
webhookHooks example

Started

agent.started An agent job started Payload
webhookHooks example

Batch Scrape

Completed

batchScrape.completed A batch scrape job completed Payload
webhookHooks example

Page

batchScrape.page A URL was scraped in a batch job Payload
webhookHooks example

Started

batchScrape.started A batch scrape job started Payload
webhookHooks example

Crawl

Completed

crawl.completed A crawl job finished Payload
webhookHooks example

Page

crawl.page A page was scraped during a crawl Payload
webhookHooks example

Started

crawl.started A crawl job started processing Payload
webhookHooks example

Extract

Completed

extract.completed An extract job completed successfully Payload
webhookHooks example

Failed

extract.failed An extract job failed Payload
webhookHooks example

Started

extract.started An extract job started Payload
webhookHooks example