Publisher API
Lead Intake API
Send leads directly into the CRM with a single POST request. Authenticate with the webhook secret, and the lead is stored under the publisher_email you provide.
Endpoint
POST https://stayintouchnetworks.com/functions/growformLeadWebhook?secret={SECRET}Authentication
Pass the webhook secret as the secret query parameter in the URL. Without it (or with the wrong value) the request is rejected with 401. Request the secret from your account manager — it is never exposed here.
Request Body (JSON)
| Field | Type | Required | Notes |
|---|---|---|---|
| publisher_email | string | yes | Publisher's portal login email. Determines lead ownership. Case-insensitive (auto-lowercased). |
| first_name | string | yes | Lead first name. |
| last_name | string | yes | Lead last name. |
| phone | string | yes | 10-digit phone, digits only or formatted. |
| string | no | Lead email. | |
| vertical | string | no | Mass Tort | SSDI | Ticket to Work | MVA | Insurance | Other. |
| lead_type | string | no | Roblox | Depo Provera | SSDI | SSDI 1696 | Ticket To Work | MVA. |
| state | string | no | 2-letter state code. |
| trustedform_url | string | no | TrustedForm certificate URL. |
| notes | string | no | Free-text comments. |
Sample Request Body
{
"publisher_email": "austin@yourdomain.com",
"first_name": "John",
"last_name": "Smith",
"phone": "5551234567",
"email": "lead@email.com",
"vertical": "Mass Tort",
"lead_type": "Roblox",
"state": "TX",
"trustedform_url": "https://cert.trustedform.com/...",
"notes": "optional"
}Responses
200
{ "success": true, "leadId": "<id>" }401
{ "error": "Unauthorized" }400
{ "error": "Missing required field: phone" }Allowed Values
lead_type: Roblox · Depo Provera · SSDI · SSDI 1696 · Ticket To Work · MVA
status (managed by CRM): pending · in_qc · accepted · sent_to_firm · rejected · callback
