curl --request POST \
--url 'https://api.scanova.io/lead/L9c2f4a1e/webhook/' \
--header 'Authorization: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{ "url": "https://example.com/lead-webhook" }'
{ "id": 7, "url": "https://example.com/lead-webhook", "created": "2026-09-08T10:00:00+05:30", "modified": "2026-09-08T10:00:00+05:30" }
Lead-Webhooks
Lead-Listen-Webhook erstellen
POST /lead//webhook/
POST
/
lead
/
{lead_id}
/
webhook
/
curl --request POST \
--url 'https://api.scanova.io/lead/L9c2f4a1e/webhook/' \
--header 'Authorization: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{ "url": "https://example.com/lead-webhook" }'
{ "id": 7, "url": "https://example.com/lead-webhook", "created": "2026-09-08T10:00:00+05:30", "modified": "2026-09-08T10:00:00+05:30" }
Fügt einer Lead-Liste einen Webhook hinzu, der bei jeder neuen Formularübermittlung mit der Eintrags-Nutzlast aufgerufen wird.
Erfordert einen Management-API-Schlüssel mit
MANAGEMENT_API- (oder MANAGEMENT_API_SANDBOX-)Quota und die Berechtigung LEAD_GENERATION_WEBHOOK_CAN_ADD, gesendet als roher Authorization-Header-Wert — siehe die Übersicht über die Management API.string
erforderlich
Die
lead_id der Lead-Liste.string
erforderlich
Die Ziel-URL des Webhooks, bis zu 500 Zeichen.
curl --request POST \
--url 'https://api.scanova.io/lead/L9c2f4a1e/webhook/' \
--header 'Authorization: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{ "url": "https://example.com/lead-webhook" }'
{ "id": 7, "url": "https://example.com/lead-webhook", "created": "2026-09-08T10:00:00+05:30", "modified": "2026-09-08T10:00:00+05:30" }
403, wenn die Webhook-pro-Lead-Liste-Quota des Kontoplans erschöpft ist:
403
{ "detail": "You have exhausted your limit of 5 webhooks.", "limit": 5 }
404, wenn lead_id diesem Konto nicht gehört.
Verwandte Themen
- Lead-Listen-Webhooks auflisten — sehen, was bereits konfiguriert ist.
- Lead-Listen-Webhook aktualisieren — die URL eines Webhooks ändern.
- Übersicht über die Management API — das Authentifizierungsschema und die Quota-Architektur, zu der dieser Endpunkt gehört.
Autorisierungen
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
Antwort
201
Webhook created.
War diese Seite hilfreich?