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

# Reveal Prospect

> Reveal email and phone for a single prospect found via search

## Request

### Body Parameters

<ParamField body="member_id" type="string">
  Member ID from search results (required unless `document_id` provided)
</ParamField>

<ParamField body="company_id" type="string">
  Company ID from search results (optional, improves accuracy)
</ParamField>

<ParamField body="document_id" type="string">
  Direct document ID (alternative to member\_id + company\_id)
</ParamField>

### Headers

```
Authorization: Bearer wbk_your_api_key_here
Content-Type: application/json
```

## Response

<ResponseField name="data" type="object">
  <Expandable title="properties">
    <ResponseField name="member_id" type="string">Member ID</ResponseField>
    <ResponseField name="company_id" type="string">Company ID</ResponseField>
    <ResponseField name="document_id" type="string">Document ID</ResponseField>
    <ResponseField name="full_name" type="string">Full name</ResponseField>
    <ResponseField name="email" type="string">Email address</ResponseField>
    <ResponseField name="email_verified" type="boolean">Whether email is verified</ResponseField>
    <ResponseField name="phone" type="string">Phone number</ResponseField>
    <ResponseField name="linkedin_url" type="string">LinkedIn URL</ResponseField>
    <ResponseField name="job_title" type="string">Job title</ResponseField>
    <ResponseField name="company" type="string">Company name</ResponseField>
  </Expandable>
</ResponseField>

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST https://data.leadlex.com/functions/v1/api-gateway/v1/prospector/reveal \
    -H "Authorization: Bearer wbk_your_api_key_here" \
    -H "Content-Type: application/json" \
    -d '{ "member_id": "12345", "company_id": "67890" }'
  ```

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

  API_KEY = "wbk_your_api_key_here"
  BASE_URL = "https://data.leadlex.com/functions/v1/api-gateway"

  headers = {"Authorization": f"Bearer {API_KEY}", "Content-Type": "application/json"}
  response = requests.post(f"{BASE_URL}/v1/prospector/reveal", headers=headers, json={
      "member_id": "12345", "company_id": "67890"
  })
  print(response.json())
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://data.leadlex.com/functions/v1/api-gateway/v1/prospector/reveal',
    {
      method: 'POST',
      headers: { 'Authorization': 'Bearer wbk_your_api_key_here', 'Content-Type': 'application/json' },
      body: JSON.stringify({ member_id: '12345', company_id: '67890' })
    }
  );
  const { data } = await response.json();
  ```
</CodeGroup>

## Errors

| Status | Code                       | Description                          |
| ------ | -------------------------- | ------------------------------------ |
| 400    | `validation_error`         | Missing `member_id` or `document_id` |
| 403    | `insufficient_permissions` | Missing `prospects:read` permission  |
| 503    | `service_unavailable`      | Enrichment service not configured    |
