Setting Up Sources
Sources define where your leads come from. Each source gets a unique webhook endpoint that accepts lead data via HTTP POST.
Creating a source
Section titled “Creating a source”- Go to Sources in the sidebar
- Click Create Source
- Enter a name (e.g. “Website Contact Form”, “Landing Page”, “Partner Referral”)
- Your source is created with a unique webhook URL
Webhook URL
Section titled “Webhook URL”Each source provides an endpoint in this format:
POST https://leads.500rockets.io/api/webhooks/inbound/<token>Send JSON payloads to this URL with the following fields:
| Field | Type | Description |
|---|---|---|
email | string | Lead’s email address |
firstName | string | First name |
lastName | string | Last name |
phone | string | Phone number |
company | string | Company name |
All fields are optional, but providing at least an email is recommended for duplicate detection and outreach.
Example payload
Section titled “Example payload”{ "firstName": "Alex", "lastName": "Chen", "phone": "+14155551234", "company": "Startup Inc"}Response
Section titled “Response”A successful submission returns:
{ "success": true, "messageId": "msg_abc123..."}Field mappings
Section titled “Field mappings”If your form sends data with different field names (e.g. full_name instead of firstName), you can configure field mappings in the Source Detail page.
Go to the source, click Field Mappings, and map your incoming fields to the standard lead fields.
HTML form submission
Section titled “HTML form submission”You can also point an HTML form directly at your webhook URL:
<form action="https://leads.500rockets.io/api/webhooks/inbound/<token>" method="POST"> <input name="email" type="email" placeholder="Email" required /> <input name="firstName" type="text" placeholder="First name" /> <input name="lastName" type="text" placeholder="Last name" /> <input name="phone" type="tel" placeholder="Phone" /> <button type="submit">Submit</button></form>Multiple sources
Section titled “Multiple sources”You can create as many sources as you need. This helps you track which channels generate the best leads. The dashboard shows lead volume and conversion rates per source.