Have a custom web application or using an external lead vendor? You can push inquiries directly into your MrCAPI pipeline using our clean, developer-friendly REST API.
1. Sending an API Ingestion Payload
Send a standard HTTP POST request to our public ingestion endpoint:
curl -X POST https://api.mrcapi.com/api/v1/public/forms/submit \
-H "Content-Type: application/json" \
-d '{
"formToken": "YOUR_FORM_INGESTION_TOKEN",
"fullName": "David Miller",
"email": "[email protected]",
"phone": "+15550188",
"source": "Custom Landing Page",
"message": "Interested in enterprise pricing details."
}'
2. API Response Codes
- 200 OK: Lead processed, duplicate checked, and queued for assignment successfully.
- 401 Unauthorized: Missing or invalid form token.
- 422 Unprocessable Entity: Malformed payload or invalid phone number formatting.
💡 Pro Tip: Always pass the prospect's original lead
sourcestring in your JSON payload so your ROI reporting accurately reflects where your highest-converting leads come from!
