> ## Documentation Index
> Fetch the complete documentation index at: https://visaflo.ca/knowledge-base/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a lead

> Create a lead in the API key's VisaFlo workspace.

`POST https://api.visaflo.app/api/public/lead/create`

Use this after [searching leads](/knowledge-base/developers/endpoints/search-leads) to avoid duplicate intake records.

| Field                                     | Required | Description            |
| ----------------------------------------- | -------- | ---------------------- |
| `firstName`                               | Yes      | Lead first name.       |
| `email`                                   | Yes      | Lead email address.    |
| `lastName`, `phone`, `countryOfResidence` | No       | Optional lead details. |

```json theme={null}
{ "firstName": "Jane", "lastName": "Doe", "email": "jane@example.com" }
```

Returns `201` with `data.id`. Store that ID to create tasks or notes for this lead.
