Webhooks
Connect Facebook, Google, Zapier, anything.
Connect Any Platform
Get a URL. Paste it. Leads flow in automatically.
Get Your Webhook URL
- Go to Lead Sources
- Create or edit a source
- Copy the Webhook URL
Looks like:
https://api.rocketagents.ai/webhook/abc123xyz789Connect Facebook Lead Ads
Facebook Business Settings → Leads Access → Add CRM
│
▼
Paste Rocket Agents webhook URL
│
▼
Map fields: name, phone, email
│
▼
Leads flow automatically- Go to Facebook Business Settings → Leads Access
- Add a new CRM integration
- Paste your Rocket Agents webhook URL
- Map the fields
- Done
Connect via Zapier
- Create a new Zap
- Trigger: Your lead source (form, ad, etc.)
- Action: Webhook (POST request)
- URL: Your Rocket Agents webhook
- Body type: JSON
- Map the fields:
{
"name": "{{lead.name}}",
"phone": "{{lead.phone}}",
"email": "{{lead.email}}"
}Connect Google Ads
Use Google Ads → Zapier → Rocket Agents:
- Google Ads lead extension → Zapier trigger
- Zapier sends to your webhook
- Leads arrive in Rocket Agents
Custom Integration
Send a POST request:
curl -X POST https://api.rocketagents.ai/webhook/your-id \
-H "Content-Type: application/json" \
-d '{"name": "John Smith", "phone": "+15551234567", "email": "john@example.com"}'Field Reference
| Field | Required | Format |
|---|---|---|
name | Recommended | Any string |
phone | One required | E.164 format (+15551234567) |
email | One required | Valid email |
notes | Optional | Any text — AI can reference |
At least phone OR email is required.
FAQs
"Is there authentication?" Yes. Each webhook URL includes a unique token for security.
"How do I test the webhook?" Use Postman or curl. Send a test lead.
"What if I send a duplicate?" We detect duplicates by phone number and skip them.
"What format does it expect?" JSON with the fields above.
"Can I send custom fields?" Yes. Extra fields become notes that AI can reference.
"How fast do leads appear?" Instantly. Within 1-2 seconds.
"What if the webhook stops working?" Check the URL. Regenerate if needed. Contact support.
Related
- Create a source — Set up first
- Assign an agent — Automate outreach