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

# Find Single Email

> Find a single professional email address from a full name and company domain or name, or from a LinkedIn profile URL

POST

```
https://api.enrow.io/email/find/single
```

Run a single email search to find a professional email address. Authenticate every request with your [API key](https://docs.enrow.io/authentication.md) in the `x-api-key` header. For batch operations, use the [Find Bulk Emails](https://docs.enrow.io/api-reference/email-finder/find-bulk.md) endpoint (up to 5,000 searches per batch).

The search needs either:

* A full name and a company: `fullname` + (`company_domain` or `company_name`)
* The URL of a person's **LinkedIn profile** in `linkedin_url` (see [Search from a LinkedIn profile URL](#search-from-a-linkedin-profile-url))

If both are present, the search runs on the name and the company.

> [!NOTE]
>
> Enrow performs **determinist verifications** that verify even catch-all emails. This means passing the found emails through a debouncer afterwards isn't needed.

## Request Body

**fullname** `string`

The full name of the person for which to find the email

**Note**: Required for a name + company search, not for a search from `linkedin_url`.

**company\_domain** `string`

The company's domain, multiple formats accepted (`"dundermifflin.com"`, `"https://www.dundermifflin.com"`...)

**Note**: Either `company_domain` or `company_name` is required for a name + company search.

**company\_name** `string`

The company's name (`"Apple"`, `"Air France"`, ...)

**Note**: Either `company_domain` or `company_name` is required for a name + company search.

**linkedin\_url** `string`

The person's LinkedIn profile URL (`"https://www.linkedin.com/in/dwight-schrute"`), to search from the profile instead of a name and a company. See [Search from a LinkedIn profile URL](#search-from-a-linkedin-profile-url).

**Note**: Only used when the request is not a complete name + company search. With a `fullname` and a company, `linkedin_url` is ignored.

**custom** `object`

Custom params that will be returned in the GET response and in the webhook notification.

**custom object**

**your\_custom\_key\_name** `string` (default: your\_custom\_property)

Custom data of yours

**settings** `object`

A set of settings related to this search

**settings properties**

**webhook** `string`

A URL that will be notified through an HTTP POST request once the single search is finished. See [How Webhooks Work](https://docs.enrow.io/how-webhooks-work.md).

**country\_code** `string` (default: US)

The ISO 3166 Alpha-2 code of the country related to the search. Relevant when using a company name — helps disambiguate homonyms by searching on localized Google.

**retrieve\_gender** `boolean` (default: false)

Allows you to get the gender (`male`/`female`) of the person.

## Response

### 200 — Search initiated

**message** `string`

Confirmation message

**id** `string`

Unique identifier for this search. Use this to retrieve results via the [GET endpoint](https://docs.enrow.io/api-reference/email-finder/get-single-result.md).

**credits\_used** `number`

Number of credits consumed. See [Credits & billing](https://docs.enrow.io/credits-billing.md) for per-endpoint costs.

### Error Responses

| Code | Message |
| - | - |
| **400** | `invalid JSON input` |
| **400** | `both company_domain and company_name are absent, input payload needs at least one of them` |
| **400** | `missing fullname` |
| **400** | `invalid linkedin_url format` |
| **400** | `LinkedIn email search is suspended for this account` |
| **401** | `No apikey found in the x-api-key headers` |
| **401** | `This apikey is not valid` |
| **402** | `Insufficient credits` |

> [!NOTE]
>
> Insufficient-credit (`402`) responses on single endpoints return `{ "reason": "...", "success": false }`; all other errors return `{ "message": "..." }`.

See [Error handling](https://docs.enrow.io/error-handling.md) for the full list of status codes and response formats.

## Search from a LinkedIn profile URL

Send a person's LinkedIn profile URL in `linkedin_url` instead of a full name and a company. Enrow reads the profile, identifies the person's current company, then finds and verifies their professional email there.

The search runs like any other single search: the `200` response gives you its `id`, and the result comes through the [GET endpoint](https://docs.enrow.io/api-reference/email-finder/get-single-result.md#results-of-a-search-from-a-linkedin-profile-url) or your [webhook](https://docs.enrow.io/how-webhooks-work.md#search-from-a-linkedin-profile-url). `custom` and `settings` work the same way.

> [!NOTE]
>
> Searching from a LinkedIn profile URL works for single searches only, and may not be available on every account. If your account doesn't have it, a request with only a `linkedin_url` gets the usual validation error, such as `missing fullname`. Contact [api@enrow.io](mailto:api@enrow.io) if you need it.

### When does the search use the profile?

The search runs from the profile when `linkedin_url` is given and the request is not a complete name + company search:

* `fullname` is missing, blank or a single character, or
* neither `company_domain` nor `company_name` is given.

A request with a `fullname` and a company stays a name + company search, even with a `linkedin_url`. When the search runs from the profile, the name and the company come from the profile: a `fullname`, `company_domain` or `company_name` sent along is ignored.

### Which URLs are accepted?

| Format | Example |
| - | - |
| Public profile URL | `https://www.linkedin.com/in/dwight-schrute` |
| Without `https://` or `www.`, with a trailing slash or a query string | `linkedin.com/in/dwight-schrute/?trk=people-guest` |
| Country subdomain | `https://fr.linkedin.com/in/dwight-schrute` |
| Profile URL with a member ID | `https://www.linkedin.com/in/ACoAAB2xY3ZaBcD` |
| Sales Navigator lead or people URL | `https://www.linkedin.com/sales/lead/ACwAAB2xY3ZaBcD,NAME_SEARCH,a1b2` |

Any other value is refused with a `400` and the message `invalid linkedin_url format`: a company page (`linkedin.com/company/...`), a short `lnkd.in` link, a page outside linkedin.com, or a profile name without the URL.

### How does Enrow pick the company?

Enrow looks for the email at the person's current company, as shown on the profile. When several positions are current, it takes the first one listed. Entries that are not an employer, such as self-employed, freelance or student, are skipped. A profile without a current position at an employer ends the search with `no_current_company`.

### What does it cost?

Launching the search uses 1 credit, as for any search (`credits_used: 1` in the response). Once it ends, the difference is refunded: the search costs 1 credit when an email is found, 0.25 credit when none is found, and nothing when it fails because of an issue on our side. The [result](https://docs.enrow.io/api-reference/email-finder/get-single-result.md#results-of-a-search-from-a-linkedin-profile-url) gives the reason in `linkedin_status` and the final cost in `credits_used`. See [Credits & billing](https://docs.enrow.io/credits-billing.md).

### Example

```bash cURL theme={null}
curl --request POST \
  --url https://api.enrow.io/email/find/single \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: YOUR_API_KEY' \
  --data '{
    "linkedin_url": "https://www.linkedin.com/in/dwight-schrute",
    "custom": {
      "crm_id": "lead_001"
    }
  }'
```

```javascript Node.js theme={null}
const response = await fetch('https://api.enrow.io/email/find/single', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'x-api-key': process.env.ENROW_API_KEY
  },
  body: JSON.stringify({
    linkedin_url: 'https://www.linkedin.com/in/dwight-schrute',
    custom: {
      crm_id: 'lead_001'
    }
  })
});

const data = await response.json();
console.log(data.id);
```

```python Python theme={null}
import requests
import os

url = "https://api.enrow.io/email/find/single"
headers = {
    "Content-Type": "application/json",
    "x-api-key": os.getenv("ENROW_API_KEY")
}
payload = {
    "linkedin_url": "https://www.linkedin.com/in/dwight-schrute",
    "custom": {
        "crm_id": "lead_001"
    }
}

response = requests.post(url, json=payload, headers=headers)
print(response.json())
```

The response is the same as for a name + company search:

```json theme={null}
{
  "message": "Single search operating",
  "id": "0cf517bc-16e8-45bc-b967-ab9116b3c804",
  "credits_used": 1
}
```

```bash cURL theme={null}
curl --request POST \
  --url https://api.enrow.io/email/find/single \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: YOUR_API_KEY' \
  --data '{
    "fullname": "Dwight Schrute",
    "company_domain": "dundermifflin.com",
    "settings": {
      "retrieve_gender": true
    }
  }'
```

```javascript Node.js theme={null}
const response = await fetch('https://api.enrow.io/email/find/single', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'x-api-key': process.env.ENROW_API_KEY
  },
  body: JSON.stringify({
    fullname: 'Dwight Schrute',
    company_domain: 'dundermifflin.com',
    settings: {
      retrieve_gender: true
    }
  })
});

const data = await response.json();
console.log(data.id);
```

```python Python theme={null}
import requests
import os

url = "https://api.enrow.io/email/find/single"
headers = {
    "Content-Type": "application/json",
    "x-api-key": os.getenv("ENROW_API_KEY")
}
payload = {
    "fullname": "Dwight Schrute",
    "company_domain": "dundermifflin.com",
    "settings": {
        "retrieve_gender": True
    }
}

response = requests.post(url, json=payload, headers=headers)
print(response.json())
```

```json Success Response theme={null}
{
  "message": "Single search operating",
  "id": "0cf517bc-16e8-45bc-b967-ab9116b3c804",
  "credits_used": 1
}
```

```json Error Response theme={null}
{
  "message": "..."
}
```

## Next steps

> [card] [Get the result](https://docs.enrow.io/api-reference/email-finder/get-single-result.md)
>
> Retrieve the found email using the search `id`.

> [card] [Find emails in bulk](https://docs.enrow.io/api-reference/email-finder/find-bulk.md)
>
> Run up to 5,000 email searches in a single request.

> [card] [Authentication](https://docs.enrow.io/authentication.md)
>
> How to pass your API key in the x-api-key header.

> [card] [Webhooks](https://docs.enrow.io/how-webhooks-work.md)
>
> Get notified automatically when a search completes.


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