Our Leads Form API allows you to automatically send new lead information into Contractor Accelerator from your website, CRM, or any other system.
Endpoint
POST https://app.contractoraccelerator.com/lead-forms-action/ingest
Authentication
Each request must include your Lead API Key in the request header.
- Header Name: X-Ca-Lead-Api-Key
- Value: The API token generated in your Company Profile → Company Settings → Lead
Example:
X-Ca-Lead-Api-Key: YOUR_API_TOKEN_HEREFields
When posting a lead, include the following fields in your request body. All fields should be in JSON format.
| Field | Type | Max Length | Required | Format/Notes |
| first_name | string | 50 | ✓ |
Lead’s first name |
| last_name | string | 50 | ✓ |
Lead’s last name |
| string | 100 | Valid email format | ||
| phone | string | — | US phone number (ex. (123) 456-7890, 123-456-7890, 1234567890) | |
| address | string | 100 | Street address | |
| city | string | 50 | City name | |
| state | string | 2 | Two-letter state abbreviation (e.g., MO, TX) | |
| postal_code | string | 12 | Zip code | |
| notes | string | — | Additional details (optional) | |
| is_unsubscribed | boolean | — | true if the lead should not receive marketing emails |
Additional Questions?
Please email support@contractoraccelerator.com if you have additional questions about the Leads API endpoint.
Comments
0 comments
Article is closed for comments.