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

# Search leads

> Find leads in the API key's VisaFlo workspace.

`GET https://api.visaflo.app/api/public/lead/search`

Supply at least one query parameter. `email` is an exact match; `name` is a case-sensitive prefix match against first or last name.

```bash theme={null}
curl "https://api.visaflo.app/api/public/lead/search?email=jane@example.com" \
  -H "X-API-Key: YOUR_API_KEY"
```

Returns `200` with `data`, an array of `{ id, firstName, lastName, email, phone, countryOfResidence, status }`. An empty array means no workspace match.
