How webhooks work
No code needed. Copy a URL, paste it in your platform. Cratio auto-detects incoming fields.
- 1Create a webhook in Integrations → Webhooks. Give it a name and source label.
- 2Copy the unique Webhook URL (e.g., https://api.cratio.com/webhook/fb-abc123).
- 3Paste the URL into your platform (Facebook, IndiaMART, your web form, etc.).
- 4Cratio receives the POST, maps fields, and creates a lead automatically.
- 5The URL is the shared secret — do not publish it publicly.
Your webhook URL
Each webhook you create gets a unique URL. This URL is the shared secret — it authenticates the integration without any Authorization header. Go to Integrations → Webhooks in your Cratio account to create and copy your URL.
The path segment after /webhook/ is unique to your account and webhook configuration. Do not publish it publicly.
Incoming payload
Send a POST request with a JSON body to your Webhook URL. No Authorization header needed. Cratio auto-detects fields from the first request.
Response:
Field mapping
Cratio auto-detects common field names from the first request. Use the field mapping wizard in Integrations → Webhooks to connect any custom fields.
| Incoming Field | CRM Field |
|---|---|
| name | Name |
| phone | Phone |
| company | Company |
| city | City |
| source | Source |
| message | Notes |
Default lead settings
Set defaults for all leads from this webhook — applied when the payload does not include that field.
Default AssignmentAssign incoming leads to a specific user. Lead distribution rules in Settings override this.Default StatusInitial status for all leads (default: New).Default SourceSource label if not in the payload (e.g., Facebook Ads).Default TagsTags applied to every lead from this webhook.
Platform guides
Step-by-step instructions for connecting Cratio webhooks to the most common lead sources.
Facebook Lead Ads
- 1Go to Facebook Business Suite → Integrations → Leads Access.
- 2Click 'Connect CRM' and select 'Webhooks'.
- 3Paste your Cratio Webhook URL into the provided field.
- 4Send a test lead from Facebook and verify it appears in Cratio.
Google Ads
- 1Go to Google Ads → Tools → Lead Form Extensions.
- 2In the lead delivery section, select 'Webhook'.
- 3Paste your Cratio Webhook URL and your key.
- 4Submit a test form entry and verify it appears in Cratio.
IndiaMART
- 1Log in to IndiaMART Seller Dashboard → CRM Settings.
- 2Under Lead Forwarding, select 'HTTP Push'.
- 3Paste your Cratio Webhook URL.
- 4Map the fields: name, email, mobile, company.
- 5Enable lead push and verify with a test inquiry.
JustDial
- 1Log in to JustDial Business → Settings → CRM Integration.
- 2Select 'API/Webhook integration'.
- 3Paste your Cratio Webhook URL.
- 4Enable auto-forwarding for new leads.
- 5Verify receipt in Cratio.
Custom / Other
- 1Copy your Webhook URL from Integrations → Webhooks.
- 2Send a POST request with a JSON body containing name, email or phone, and any other fields.
- 3Cratio auto-detects fields from the first request.
- 4Use the Field Mapping step in the wizard to connect incoming fields to CRM fields.
Security notes
- ·The webhook URL is the shared secret. Anyone with the URL can push leads to your account.
- ·Do not publish the URL in public repositories, forums, or documentation.
- ·If you suspect the URL has been compromised, regenerate it immediately from Integrations → Webhooks → Settings.
- ·You can disable a webhook at any time from the same settings page. Disabled webhooks return 403 to callers.
- ·Cratio does not verify request signatures on inbound webhooks. The URL token provides the security boundary.
Manage your webhooks at app.cratio.com/settings/integrations/webhooks →