Skip to content

Developer portal

POST /public/lead-capture

Record marketing lead submissions from product and campaign forms.

PilotPOST /public/lead-capturePublic

Summary

Record marketing lead submissions from product and campaign forms.

Example

curl

curl -X POST "https://sparkling-vibrancy-production-1a7a.up.railway.app/public/lead-capture" \
  -H "Authorization: Bearer 811f31d4-5b8e-4ed0-a7a2-8176e05eba63" \
  -H "Content-Type: application/json" \
  -d '{
  "email": "platform@acme.com",
  "source": "docs-cta",
  "interest": "pqc-readiness"
}'

Errors

CodeMeaningTypical causeSuggested fix
404Not foundScan, schedule, share link, or resource id does not exist or expired.Verify id and tenant scope; share links expire per expiresHours.
422Unprocessable entityInvalid payload shape, unsupported scenario, or infeasible constraints.Fix field errors in response detail; relax constraints and retry.
429Too many requestsPer-key rate limit exceeded (default 300 requests per minute) or public endpoint limit.Backoff with jitter; cache results; request higher limit for production.
500Internal server errorUnexpected backend failure; includes requestId in response.Retry with exponential backoff; contact support with requestId if persistent.

See the full errors reference.