Dashboard/API & Webhooks
API & Webhooks
Connect external tools and automate lead import via webhook.
Lead Import Webhook
Send leads from Zapier, websites, or any external system directly into your CRM.
https://beyondflowcrm.base44.app/functions/zapierImport?token=YOUR_TOKEN
⚠ Generate an API token below to get your full webhook URL.
No token generated yet
Keep this token secret — it authenticates all webhook requests for your company.
POST https://beyondflowcrm.base44.app/functions/zapierImport?token=YOUR_TOKEN
Content-Type: application/json
{
"first_name": "John",
"last_name": "Smith",
"email": "john@example.com",
"phone": "555-123-4567",
"address": "123 Main St",
"city": "Austin",
"state": "TX",
"zip": "78701",
"service_requested": "AC not cooling",
"lead_source": "Website Form",
"notes": "Customer mentioned urgency"
}POST
Content-Type: application/json
Supports single object or array
Auto-dedup by email
Accepted Fields
| Field | Required | Description |
|---|---|---|
| first_name | Required | Customer's first name |
| last_name | Required | Customer's last name |
| Optional | Email address (used for dedup) | |
| phone | Optional | Phone number |
| address | Optional | Service address |
| city | Optional | City |
| state | Optional | State |
| zip | Optional | ZIP code |
| service_requested | Optional | What service they need |
| lead_source | Optional | Where the lead came from |
| notes | Optional | Additional notes |
Test Your Webhook
Run this curl command to send a test lead:
curl -X POST "https://beyondflowcrm.base44.app/functions/zapierImport?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"first_name":"Test","last_name":"Lead","email":"test@example.com","phone":"555-0000","service_requested":"Test import"}'