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.
Webhook URL
Section titled “Webhook URL”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.
JSON submission
Section titled “JSON submission”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" }'Standard fields
Section titled “Standard fields”| Field | Type | Description |
|---|---|---|
email | string | Email address |
firstName | string | First name |
lastName | string | Last name |
phone | string | Phone number |
company | string | Company 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.
Response
Section titled “Response”JSON submissions return immediately (lead processing is async):
{ "success": true, "queued": true, "duplicate": false, "messageId": "msg_abc123..."}| Field | Meaning |
|---|---|
queued | true if the submission entered the processing queue |
duplicate | true if an identical payload was recently deduplicated |
HTML form posts return a thank-you page or redirect instead of JSON.
Errors
Section titled “Errors”| Status | Cause |
|---|---|
404 | Invalid token |
400 | Malformed or empty payload |
429 | Rate limit exceeded |
500 | Server error |
HTML form POST
Section titled “HTML form POST”You can set a form’s action to your webhook URL with method="POST". See Setting Up Sources for an example.
After submission
Section titled “After submission”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.
Rate limits
Section titled “Rate limits”| Limit | Value |
|---|---|
| Per token + IP | 60 requests / minute |
| Per token (all IPs) | 600 requests / minute |
UTM and attribution
Section titled “UTM and attribution”When calling the webhook directly, you can include attribution in the payload:
{ "_utm": { "utm_source": "google", "utm_medium": "cpc", "utm_campaign": "spring-2026" }, "_referrer": "https://google.com"}With capture.js, attribution is captured automatically.