Documentation

Webhooks

Connect Facebook, Google, Zapier, anything.

Connect Any Platform

Get a URL. Paste it. Leads flow in automatically.


Get Your Webhook URL

  1. Go to Lead Sources
  2. Create or edit a source
  3. Copy the Webhook URL

Looks like:

https://api.rocketagents.ai/webhook/abc123xyz789

Connect Facebook Lead Ads

Facebook Business Settings → Leads Access → Add CRM


                    Paste Rocket Agents webhook URL


                    Map fields: name, phone, email


                    Leads flow automatically
  1. Go to Facebook Business Settings → Leads Access
  2. Add a new CRM integration
  3. Paste your Rocket Agents webhook URL
  4. Map the fields
  5. Done

Connect via Zapier

  1. Create a new Zap
  2. Trigger: Your lead source (form, ad, etc.)
  3. Action: Webhook (POST request)
  4. URL: Your Rocket Agents webhook
  5. Body type: JSON
  6. Map the fields:
{
  "name": "{{lead.name}}",
  "phone": "{{lead.phone}}",
  "email": "{{lead.email}}"
}

Connect Google Ads

Use Google Ads → Zapier → Rocket Agents:

  1. Google Ads lead extension → Zapier trigger
  2. Zapier sends to your webhook
  3. 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

FieldRequiredFormat
nameRecommendedAny string
phoneOne requiredE.164 format (+15551234567)
emailOne requiredValid email
notesOptionalAny 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.