API: Webhooks
Ingest leads from external sources.
Per-User Webhook
POST
/api/webhook/[token]Ingest a lead via your unique webhook URL
Auth: Token (in URL)
Your token is found in Settings → Webhook URL. Invalid tokens return 404.
Request body and response format are identical to the general webhook endpoint. See the Webhooks Guide for full details.
General Webhook
POST
/api/webhooks/leadIngest a lead (no auth required)
Auth: None
warning
This endpoint has no authentication. Use the per-user webhook for production integrations.
Email Reply Webhook
POST
/api/email-webhookReceive email replies from providers
Auth: None (trackingId)
| Parameter | Type | Description |
|---|---|---|
| trackingId | string | Tracking ID from sent email(required) |
| from | string | Sender email address |
| subject | string | Email subject |
| body | string | Email body (plain text or HTML) |
| text | string | Plain text body |
| html | string | HTML body |