Skip to content

Direct Webhook Reference

Use this guide when you need the raw webhook URL, payload format, or curl examples, for example with Typeform, custom backends, or Google Apps Script.

For most websites, start with the JavaScript snippet instead. It handles attribution, honeypot protection, and user feedback automatically.

Each source has a unique URL:

POST https://leads.500rockets.io/api/webhooks/<your-token>

Copy the full URL from Sources → your source → Connect. The token goes directly after /api/webhooks/. There is no /inbound/ segment.

No API key is required. The token in the URL identifies the source.

Terminal window
curl -X POST "https://leads.500rockets.io/api/webhooks/YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"firstName": "Jane",
"lastName": "Smith",
"phone": "+1234567890",
"company": "Acme Corp"
}'
FieldTypeDescription
emailstringEmail address
firstNamestringFirst name
lastNamestringLast name
phonestringPhone number
companystringCompany name

All fields are optional, but an email is strongly recommended for duplicate detection.

Any other fields are stored as custom metadata on the lead. Use field mappings if your form uses different names.

JSON submissions return immediately (lead processing is async):

{
"success": true,
"queued": true,
"duplicate": false,
"messageId": "msg_abc123..."
}
FieldMeaning
queuedtrue if the submission entered the processing queue
duplicatetrue if an identical payload was recently deduplicated

HTML form posts return a thank-you page or redirect instead of JSON.

StatusCause
404Invalid token
400Malformed or empty payload
429Rate limit exceeded
500Server error

You can set a form’s action to your webhook URL with method="POST". See Setting Up Sources for an example.

Submissions are enriched, scored, and qualified according to the source kind. Leads appear in your dashboard within seconds. See Lead Pipeline for the full processing flow.

LimitValue
Per token + IP60 requests / minute
Per token (all IPs)600 requests / minute

When calling the webhook directly, you can include attribution in the payload:

{
"email": "[email protected]",
"_utm": {
"utm_source": "google",
"utm_medium": "cpc",
"utm_campaign": "spring-2026"
},
"_referrer": "https://google.com"
}

With capture.js, attribution is captured automatically.