curl --request POST \
--url 'https://edi.stateset.com/v1/leads' \
--header "Authorization: Bearer $STATESET_EDI_API_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
Captures an inbound sales lead from the public checker / landing page.
Public: no bearer token. The lead is stored durably and, when a CRM webhook is configured (EDI_LEAD_WEBHOOK_URL), forwarded best-effort in the background so a…
POST
/
v1
/
leads
curl --request POST \
--url 'https://edi.stateset.com/v1/leads' \
--header "Authorization: Bearer $STATESET_EDI_API_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
Public: no bearer token. The lead is stored durably and, when a CRM webhook
is configured (
EDI_LEAD_WEBHOOK_URL), forwarded best-effort in the
background so a slow CRM never delays the response.
Request body
JSON body of typecrate.leads.NewLead.
Response
No response body. Lead captured.Status codes
| Code | Meaning |
|---|---|
200 | Lead captured |
422 | Invalid submission (e.g. missing/invalid email) |
curl --request POST \
--url 'https://edi.stateset.com/v1/leads' \
--header "Authorization: Bearer $STATESET_EDI_API_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
Last modified on August 31, 2026