LeadsService

SubmitContact

SubmitContact stores an enterprise contact submission in Convex and emails ops. Turnstile-gated. Missing or invalid Cloudflare Turnstile token returns 403 Bot verification failed.

post/api/leads/v1/submit-contact

Request

  • Base URL: https://api.worldmonitor.app
  • URL: https://api.worldmonitor.app/api/leads/v1/submit-contact
  • Auth: none required

Headers

Idempotency-Keystring

Optional client-generated idempotency key. Retrying a POST with the same key and an identical request body replays the original response (only the status, body, and Content-Type are reproduced) instead of re-executing; reusing the key with a different body is rejected with 422. For mutations this avoids duplicating the side effect, while for batch-read POSTs it replays a cached snapshot that can be up to 24 hours stale. Keys are scoped per authenticated caller (falling back to the source IP for unauthenticated endpoints) and retained for 24 hours.

Request body

emailstring required
namestring required
organizationstring required
phonestring required
messagestring
sourcestring
websitestring

Honeypot — bots auto-fill this hidden field; real submissions leave it empty.

turnstileTokenstring required

Cloudflare Turnstile token proving the submitter is human.

Response

OK

statusstring

Always "sent" on success.

emailSentboolean

True when the Resend notification to ops was delivered.

Changes

No recorded changes to this operation across all 1 revision of this API.