Access
Examples
Copy-paste snippets in common languages.
Lead recovery
curl -X POST https://messyapi.com/api/v1/leads/recovery \
-H "Authorization: Bearer $MESSYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"industry": "roofing",
"status": "estimate_sent",
"lead_age_days": 28,
"estimate_value": 12000,
"explicit_rejection": false
}'Batch
curl -X POST https://messyapi.com/api/v1/leads/recovery/batch \
-H "Authorization: Bearer $MESSYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"leads": [
{
"industry": "hvac",
"status": "no_response",
"lead_age_days": 190
}
]
}'