> For the complete documentation index, see [llms.txt](https://developer.parvenu.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.parvenu.io/enrichments/find-mobile-phone/list-lookup.md).

# List Lookup

Find mobile phone numbers for every contact in a Parvenu list. Asynchronous, writes results back into the list.

<mark style="color:green;">`POST`</mark> `/mobile_phone_enrichment_list`

{% hint style="info" %}
This is an **asynchronous** endpoint. It returns a job acknowledgement, not data. Poll `/check_list_status` until the list reports `done`, then fetch the rows with `/download_list`. Costs **5 credits per row**, charged only when a mobile number is found. Results are written to the `phone_number` column.
{% endhint %}

{% hint style="warning" %}
This endpoint accepts the `view` filter below (`all` default, `verified`), but no longer accepts the legacy `state` parameter. Passing `state` returns a 400 (`Extra inputs are not permitted`).
{% endhint %}

Use this to find mobile numbers for every contact in a list in one call, rather than looping over [Individual Lookup](/enrichments/find-mobile-phone/individual-lookup.md) per row.

**Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |

**Body**

| Name             | Type    | Description                                                                                                                                                                                                                                                                      |
| ---------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `api_key`        | string  | Your API Key.                                                                                                                                                                                                                                                                    |
| `listname`       | string  | Name of the existing Parvenu list to enrich.                                                                                                                                                                                                                                     |
| `view`           | string  | Optional. Which rows of the list to process. `all` (default) processes every contact in the list; `verified` restricts the run to contacts whose email address is verified.                                                                                                      |
| `saved_view`     | string  | Optional. Name of a saved view on this list. Runs only on the contacts in that view. Don't combine with `view`, `filter_stack` or `search`.                                                                                                                                      |
| `validate_phone` | boolean | Optional, default `false`. Also check each number with your own Phone Validator key as soon as it is found (free in Parvenu credits). Fills the `phone_type`, `phone_company`, `fake_number` and `phone_location` columns. See [Validate Phone](/enrichments/validate-phone.md). |

**Saved views.** To run only on the contacts in a saved view, send its name as `saved_view`. See [List Saved Views](/manage-lists/list-saved-views.md).

**Validate the numbers too.** With `validate_phone: true` and no Phone Validator key saved on the Integrations page, the call answers `400` (`no_phone_validator_key`) before the mobile phone run starts, so nothing is charged.

**Response**

Every list-scoped trigger answers with the same job acknowledgement.

| Field               | Type    | Description                                                                                        |
| ------------------- | ------- | -------------------------------------------------------------------------------------------------- |
| `status`            | string  | `queued` when the run is accepted. Poll `/check_list_status`; the finished status there is `done`. |
| `job_id`            | string  | Identifier for this run. Always a string.                                                          |
| `list_name`         | string  | The list being enriched.                                                                           |
| `view`              | string  | Which rows were selected, `all` or `verified`.                                                     |
| `rows_selected`     | number  | How many rows matched your `view` before the page limit was applied.                               |
| `rows_fetched`      | number  | How many rows this run actually picked up. This is the number that gets processed.                 |
| `truncated`         | boolean | `true` when the list held more rows than `max_rows`.                                               |
| `max_rows`          | number  | The ceiling a single run will fetch.                                                               |
| `credits_estimated` | number  | What the run is expected to cost, based on the rows it picked up.                                  |

See [Response Format](/getting-started/response-format.md) for the fields every endpoint returns.

**Example**

{% tabs %}
{% tab title="Input" %}

```json
{
  "api_key": "your_api_key",
  "listname": "my_list"
}
```

{% endtab %}

{% tab title="Output" %}

```json
{
  "status": "queued",
  "job_id": "8b74fda2-a1db-4c62-8945-ac32156c9135",
  "list_name": "my_list",
  "view": "all",
  "rows_selected": 10,
  "rows_fetched": 10,
  "truncated": false,
  "max_rows": 5000,
  "credits_estimated": 50.0,
  "credits_used": 0,
  "credits_remaining": 4823,
  "message": "Job created",
  "success": true
}
```

{% endtab %}

{% tab title="Error" %}

```json
{
  "status": "error",
  "error": {
    "code": "validation_error",
    "message": "state: Extra inputs are not permitted"
  },
  "success": false
}
```

{% endtab %}
{% endtabs %}

**Retrieving results**

* [Check List Status](/get-enrichment-results/check-list-status.md)
* [Download List Data](/get-enrichment-results/download-list-data.md)
