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

  • clients
    • creditsExhausted (clients.creditsExhausted)
  • escalations
    • created (escalations.created)
  • leads
    • captured (leads.captured)
  • ping
    • received (ping.received)

HTTP handler setup

app/api/webhook/route.ts

Events

Clients

Credits Exhausted

clients.creditsExhausted A client workspace ran out of its own message credits (client.credits_exhausted) Payload
webhookHooks example

Escalations

Created

escalations.created A visitor asked to talk to a human; carries the last message and inbox URL (escalation.created) Payload
webhookHooks example

Leads

Captured

leads.captured A visitor left contact details in a client workspace agent for the first time (lead.captured) Payload
webhookHooks example

Ping

Received

ping.received A test delivery sent from the dashboard or agency.webhooks.test (ping) Payload
webhookHooks example