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

> Lead captured; CRM forwarding is a separate best-effort operation.

### Request body

`NewLead`

**company** `string`

**email** `string` *required*

**note** `string`

**retailer** `string`

**sample** `string`

**source** `string`

### Response

`object`

**success** `boolean` *required*

Fixed value: `true`.

**data** `object` *required*

**data**

**id** `string` *required*

### 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](https://docs.stateset.com/spec/edi.json) for declared schemas and alternatives.
This page also includes documented corrections from the [spec overlays](https://github.com/stateset/docs/tree/main/spec/overlays).
Example IDs and values are illustrative; replace them with records from your workspace.

```bash cURL theme={null}
curl --silent --show-error --fail-with-body --request POST \
  --url 'https://api.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"
}'
```

```json 200 theme={null}
{
  "success": true,
  "data": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.