curl --silent --show-error --fail-with-body --request POST \
--url 'https://edi.stateset.com/v1/leads' \
--header 'Content-Type: application/json' \
--data '{
"company": "Acme Outdoors",
"email": "ada.lovelace@example.com",
"note": "Two-person tent, green — replacement for damaged pole set.",
"retailer": "string",
"sample": "string",
"source": "string"
}'
{
"success": true,
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}
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 --silent --show-error --fail-with-body --request POST \
--url 'https://edi.stateset.com/v1/leads' \
--header 'Content-Type: application/json' \
--data '{
"company": "Acme Outdoors",
"email": "ada.lovelace@example.com",
"note": "Two-person tent, green — replacement for damaged pole set.",
"retailer": "string",
"sample": "string",
"source": "string"
}'
{
"success": true,
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}
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
NewLead
string
string
required
string
string
string
string
Response
object
boolean
required
Fixed value:
true.Status codes
| Code | Meaning |
|---|---|
200 | Lead captured; CRM forwarding is a separate best-effort operation. |
422 | Invalid submission (e.g. missing/invalid email) |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request POST \
--url 'https://edi.stateset.com/v1/leads' \
--header 'Content-Type: application/json' \
--data '{
"company": "Acme Outdoors",
"email": "ada.lovelace@example.com",
"note": "Two-person tent, green — replacement for damaged pole set.",
"retailer": "string",
"sample": "string",
"source": "string"
}'
{
"success": true,
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}
Last modified on September 21, 2026