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

> Find a single phone number from a LinkedIn URL or name and company with the Phone Finder API

POST

```
https://api.enrow.io/phone/single
```

Run an asynchronous search to find a phone number and the associated country. Authenticate every request with your [API key](https://docs.enrow.io/authentication.md) in the `x-api-key` header.

The search needs to contain either:

* The URL of a person's **LinkedIn profile** (e.g., `https://www.linkedin.com/in/michael-scott/`)
* The combination of individual information: `firstname` + `lastname` + (`company_name` or `company_domain`)

The **LinkedIn URL will always prevail** on the individual information if both are present, as it is the best way to discriminate a single person and avoid homonym-related issues.

## Request Body

**Option 1 (Recommended):**

**linkedin\_url** `string`

LinkedIn profile URL of the person.

**Note**: Takes precedence over individual information if both are provided.

**Option 2:**

**firstname** `string`

First name of the person

**lastname** `string`

Last name of the person

**company\_domain** `string`

Company domain (e.g., `"dundermifflin.com"`)

**company\_name** `string`

Company name (alternative to `company_domain`)

**Additional:**

**custom** `string`

A custom value you can use to reference an internal ID. It will be present in the results.

**settings** `object`

Settings related to this search.

**settings properties**

**webhook** `string`

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

## Response

### 201 — Single search created

**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/phone/get-single-result.md).

**credits\_used** `number`

Number of credits debited for this search: 40 by default, 50 with legacy plans. They are refunded if no phone number is found. See [Credits & billing](https://docs.enrow.io/credits-billing.md) for per-endpoint costs.

**credits** `object`

Credit breakdown

**credits properties**

**amount** `number`

Credits consumed

**source** `string`

Credit source: `sub` (subscription), `paygo` (pay-as-you-go), or `mixed`

**split** `object`

Breakdown between subscription and pay-as-you-go credits (`fromSub`, `fromPaygo`)

### Error Responses

| Code | Message |
| - | - |
| **400** | `Invalid linkedin_url format` |
| **401** | `No apikey found in the x-api-key headers` |
| **401** | `This apikey is not valid` |
| **401** | `This account is not allowed to use the phone search feature` |
| **402** | `Insufficient credits` |

On insufficient credits (**402**), the response body is `{ "reason": "...", "success": false }`. See [Error handling](https://docs.enrow.io/error-handling.md) for the full list of status codes and response formats.

```bash cURL — LinkedIn URL theme={null}
curl --request POST \
  --url https://api.enrow.io/phone/single \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: YOUR_API_KEY' \
  --data '{
    "linkedin_url": "https://www.linkedin.com/in/michael-scott/",
    "custom": "#u84hde941Jdx"
  }'
```

```javascript Node.js theme={null}
const response = await fetch('https://api.enrow.io/phone/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/michael-scott/',
    custom: '#u84hde941Jdx'
  })
});

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

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

url = "https://api.enrow.io/phone/single"
headers = {
    "Content-Type": "application/json",
    "x-api-key": os.getenv("ENROW_API_KEY")
}
payload = {
    "linkedin_url": "https://www.linkedin.com/in/michael-scott/",
    "custom": "#u84hde941Jdx"
}

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

```json Success Response theme={null}
{
  "credits_used": 40,
  "id": "94cbc13b-7d77-4f41-83f0-60106daa7182",
  "message": "Single search operating",
  "credits": {
    "amount": 40,
    "source": "sub",
    "split": { "fromPaygo": 0, "fromSub": 40 }
  }
}
```

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

## Next steps

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

> [card] [Find phones in bulk](https://docs.enrow.io/api-reference/phone/find-bulk.md)
>
> Run multiple phone 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.