---
title: "Enrich existing leads, spending credits to research them."
method: POST
path: "/api/external/v1/leads/enrich"
tags: ["Leads"]
---

# Enrich existing leads, spending credits to research them.

`POST /api/external/v1/leads/enrich`

Each type is a separate piece of research, and each costs credits per
lead. Ask for only what the pages actually use.

- `linkedin_profile_url` — scrape the lead's LinkedIn profile
- `company_domain` — AI analysis of the company
- `person_analysis` — AI analysis of the person
- `linkedin_posts_person` — the person's recent posts
- `linkedin_posts_company` — the company page's recent posts

A lead missing the inputs a type needs (no LinkedIn URL, no domain) is
skipped rather than failing the batch — compare `leads_to_enrich` against
what you sent, and check `skipped_leads`. Results land on the leads
themselves; poll `job_id` with get-status, then read them back with
get-lead.

## Request body

- object
  - `workspace_id` integer, required — The workspace the leads belong to.
  - `lead_ids` integer[], required — Leads to enrich, from search-leads.
  - `enrichment_types` string[], required — One or more of linkedin_profile_url, company_domain, person_analysis, linkedin_posts_person, linkedin_posts_company.

## Response `200`

- object
  - `job_id` string
  - `message` string
  - `leads_to_enrich` integer
  - `skipped_leads` integer

## Other responses

- `400`

## Changes

- **2026-08-18** `29a37db12acb` — 2 breaking, 1 warning
  - added `subschema #1, subschema #2` to the response body `oneOf` list for the response status `400`
  - the response's body type/format changed from `object`/`` to ``/`` for status `400`
  - removed the optional property `message` from the response with the `400` status
- **2026-08-17** `dd3f47f72f7a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/genpage/apis/genpage-external-api-documentation/changes/api/external/v1/leads/enrich/post.md)

---

[API](https://skmtc.dev/genpage/apis/genpage-external-api-documentation.md) · [All operations](https://skmtc.dev/genpage/apis/genpage-external-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/genpage/genpage-external-api-documentation/revisions/29a37db12acb/schema)
