Create or update a lead
/api/public/v1/leadsPush a lead into the same pipeline used by the dashboard, dossier and reactivation tools. Leads are keyed by normalized phone number, making retries idempotent. This endpoint never queues a call; outbound actions remain behind the clinic's own controls.
| Parameter | In | Type | Required | Details |
|---|---|---|---|---|
phone | Body | string | Yes | E.164 strongly preferred (+905551112233); other formats receive formatting normalization but cannot be country-resolved. |
name | Body | string | No | Full name. |
email | Body | string | No | Email address. |
note | Body | string | No | Lead summary; truncated to 500 characters. |
curl -X POST https://www.vantra.xyz/api/public/v1/leads \
-H "Authorization: Bearer $VANTRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"phone":"+905551112233","name":"Jane Doe","note":"Asked about whitening"}'{ "ok": true }