Forward a contact-form submission to the internal leads pipeline
POST/api/contact-lead
Public, unauthenticated endpoint. Validates the email, then forwards a normalized payload to the internal leads-ingest webhook (LEADS_INGEST_URL) using a server-side token loaded from Secrets Manager. The caller never sees the upstream token. URL-encoded request bodies are accepted in addition to JSON.
Request
Responses
- 200
- 400
- 500
- 502
Lead accepted by upstream.
Invalid email.
Lead ingest is not configured (missing URL or token).
Upstream leads-ingest webhook returned a non-2xx response.