> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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…

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 type `crate.leads.NewLead`.

### Response

No response body. Lead captured.

### Status codes

| Code  | Meaning                                         |
| ----- | ----------------------------------------------- |
| `200` | Lead captured                                   |
| `422` | Invalid submission (e.g. missing/invalid email) |

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://edi.stateset.com/v1/leads' \
    --header 'Authorization: Bearer YOUR_API_KEY' \
    --header 'Content-Type: application/json' \
    --data '{}'
  ```
</RequestExample>
