# Start enrichment

> Find work emails or mobiles for leads (spends credits)

`POST https://api.signalvan.com/v1/searches/{search_id}/enrich`

Needs `leads:write` · Uses credits after confirm · Idempotency-Key supported · 60 a minute · Web page: https://www.signalvan.com/developers/reference/start-enrichment

**After step 8: find work emails or mobiles.**

Starts the contact lookup the preview showed, the same lookup as the SignalVan app's: full
profiles first when they help, then work emails only for the people still without one, then mobiles; nothing already
on file is looked up again. `confirm` must be true, and only after the user saw the preview's credits and agreed.

**202**: follow it with `GET /enrichments/{enrichment_id}/wait`; the `Location` header is the enrichment. The leads get
their details in place: read them again with `GET /searches/{search_id}/leads`.

**402** `not_entitled` when the credits do not cover it: `needed`, `available` and `next_step` (`add_credits`,
`choose_plan` or `ask_owner`) say what the person does next in the app (`app_url`).

**Credits:** charged for what it really uses, up to `max_credits` when sent; the answer carries the live balance. Send
an `Idempotency-Key` to retry safely.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `search_id` | `string` | Yes | A lead search id (GET /searches) Example: `3f6d2a8e-9b1c-4e57-8a20-6c4b1d9e7f35`. |

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `website_id` | `string` | No | The website to act on (GET /websites). Left out: the key's default website, else its only one; a key that opens several websites and has no default must send it Example: `6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14`. |

## Headers

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `Authorization` | `string` | Yes | Bearer and your API key. Keys are made in SignalVan: Account, API keys. Example: `Bearer sv_live_...`. |
| `Content-Type` | `string` | Yes | The body is JSON. Example: `application/json`. |
| `X-Website-Id` | `string` | No | The same as website_id, as a header (the query parameter wins when both are sent) Example: `6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14`. |
| `Idempotency-Key` | `string` | No | Send the same key to retry safely: the first answer comes back (24 hours) Example: `plan-2026-11-20-leeds-01`. |

## Body (application/json)

- `lead_keys` (string[] | null): These leads (lead_key from the leads list), up to 1,000
- `group` (string | null): Or one group of the app's lead board: ready (good fit with a verified email), needs_email (good fit, email not found yet), partner, look (people to check), aside (set aside), companies (companies with nobody named yet: their decision makers are found first) One of: `ready`, `needs_email`, `partner`, `look`, `aside`, `companies`.
- `want` (string): Work emails, mobiles or both One of: `email`, `phone`, `both`.
- `limit` (integer | null): Keep only the best N people (by lead score)
- `max_credits` (integer | null): The most credits the lookup may use
- `confirm` (boolean, required): The JSON value true (not "true" or 1): the user saw the credits and agreed

## Response · 202 (application/json)

- `enrichment` (Enrichment, required): The contact lookup
  - `id` (string, required): The enrichment id
  - `status` (string, required): Where it is One of: `queued`, `running`, `done`, `error`.
  - `search_id` (string | null, required): The lead search whose leads get the details
  - `want` (string | null, required): What is looked up One of: `email`, `phone`, `both`.
  - `people` (integer | null, required): People it looks up
  - `progress` (EnrichmentProgress | null, required): The progress (the final counts once done; null while queued)
  - `result` (EnrichmentResult | null, required): Once done: what it found (null before)
  - `error` (string | null, required): Why it stopped, when status is error
  - `created_at` (string | null, required): When it started
  - `updated_at` (string | null, required): Its last change
  - `app_url` (string, required): The lead search in SignalVan
- `credits` (EnrichmentCredits, required): Its credits and the live balance
  - `range` (CreditRange, required): The credits as a range, with one plain sentence
  - `likely` (integer | null, required): What it usually uses
  - `at_most` (integer | null, required): The most it may use
  - `keep_at_least` (integer | null, required): The credits the account needs available to start it
  - `sentence` (string, required): The estimate in one plain sentence: show it to the user
  - `miss_free` (boolean, required): true when a lookup that finds nothing uses no credits
  - `balance` (Credits, required): The live balance
- `next` (string, required): What to do next, in plain words

## Responses

- `202`: Started: follow it until it finishes
- `400` `invalid`: A field is not valid (the detail names it)
- `401` `unauthorized`: No API key, or the key is not valid
- `402` `not_entitled`: Not enough credits, or above the limit (spending routes)
- `403` `scope_missing`: The key lacks the permission (scope_missing)
- `404` `not_found`: Not found, or not yours
- `409` `not_finished`: plan_expired, busy or idempotency_conflict (spending routes)
- `422`: needs_input: the plan still needs settings (spending routes)
- `429` `rate_limited`: Too many requests: wait Retry-After seconds
- `503` `unavailable`: Temporarily unavailable: retry with backoff

## Request

Every request below is complete and runs as copied (set SIGNALVAN_API_KEY first). website_id is needed when your key opens several websites; it takes the website's id or its domain.

### Start the lookup the user agreed to

cURL:

```bash
curl -X POST "https://api.signalvan.com/v1/searches/3f6d2a8e-9b1c-4e57-8a20-6c4b1d9e7f35/enrich?website_id=6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14" \
  -H "Authorization: Bearer $SIGNALVAN_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "want": "email",
    "confirm": true
  }'
```

Python:

```python
import os, uuid, requests

r = requests.post(
    "https://api.signalvan.com/v1/searches/3f6d2a8e-9b1c-4e57-8a20-6c4b1d9e7f35/enrich?website_id=6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14",
    headers={
        "Authorization": f"Bearer {os.environ['SIGNALVAN_API_KEY']}",
        "Idempotency-Key": str(uuid.uuid4()),
    },
    json={
        "want": "email",
        "confirm": True
    },
    timeout=70,
)
r.raise_for_status()
print(r.json())
```

Node.js:

```javascript
const r = await fetch("https://api.signalvan.com/v1/searches/3f6d2a8e-9b1c-4e57-8a20-6c4b1d9e7f35/enrich?website_id=6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SIGNALVAN_API_KEY}`,
    "Content-Type": "application/json",
    "Idempotency-Key": crypto.randomUUID(),
  },
  body: JSON.stringify({
    "want": "email",
    "confirm": true
  }),
})
if (!r.ok) throw new Error((await r.json()).detail)
console.log(await r.json())
```

### Every field

cURL:

```bash
curl -X POST "https://api.signalvan.com/v1/searches/3f6d2a8e-9b1c-4e57-8a20-6c4b1d9e7f35/enrich?website_id=6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14" \
  -H "Authorization: Bearer $SIGNALVAN_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "group": "needs_email",
    "want": "both",
    "limit": 25,
    "max_credits": 400,
    "confirm": true
  }'
```

Python:

```python
import os, uuid, requests

r = requests.post(
    "https://api.signalvan.com/v1/searches/3f6d2a8e-9b1c-4e57-8a20-6c4b1d9e7f35/enrich?website_id=6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14",
    headers={
        "Authorization": f"Bearer {os.environ['SIGNALVAN_API_KEY']}",
        "Idempotency-Key": str(uuid.uuid4()),
    },
    json={
        "group": "needs_email",
        "want": "both",
        "limit": 25,
        "max_credits": 400,
        "confirm": True
    },
    timeout=70,
)
r.raise_for_status()
print(r.json())
```

Node.js:

```javascript
const r = await fetch("https://api.signalvan.com/v1/searches/3f6d2a8e-9b1c-4e57-8a20-6c4b1d9e7f35/enrich?website_id=6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SIGNALVAN_API_KEY}`,
    "Content-Type": "application/json",
    "Idempotency-Key": crypto.randomUUID(),
  },
  body: JSON.stringify({
    "group": "needs_email",
    "want": "both",
    "limit": 25,
    "max_credits": 400,
    "confirm": true
  }),
})
if (!r.ok) throw new Error((await r.json()).detail)
console.log(await r.json())
```

## Response example · 202

```json
{
  "enrichment": {
    "id": "5d2e8b41-7c3a-4f96-b1e0-2a9c6d4f7e83",
    "status": "queued",
    "search_id": "3f6d2a8e-9b1c-4e57-8a20-6c4b1d9e7f35",
    "want": "email",
    "people": 27,
    "progress": null,
    "result": null,
    "error": null,
    "created_at": "2026-11-20T10:02:11Z",
    "updated_at": "2026-11-20T10:02:11Z",
    "app_url": "https://www.signalvan.com/studio?p=leads&view=job&job=3f6d2a8e-9b1c-4e57-8a20-6c4b1d9e7f35"
  },
  "credits": {
    "range": {
      "needs_at_least": null,
      "expected": 120,
      "at_most": 260,
      "sentence": "Usually uses about 120, stops at 260. You are charged for what it really uses, up to that limit."
    },
    "likely": 120,
    "at_most": 260,
    "keep_at_least": 300,
    "sentence": "About 120 credits, at most 260.",
    "miss_free": false,
    "balance": {
      "available": 2350,
      "balance": 2500,
      "held": 150,
      "low": false
    }
  },
  "next": "GET /v1/enrichments/5d2e8b41-7c3a-4f96-b1e0-2a9c6d4f7e83/wait?seconds=50 until finished, then read the leads again with GET /v1/searches/3f6d2a8e-9b1c-4e57-8a20-6c4b1d9e7f35/leads"
}
```
