Leads
Enrich existing leads, spending credits to research them.
Changed onEach 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.
post/api/external/v1/leads/enrich
Request
- Base URLhttps://backend.genpage.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"workspace_id": 55,
"lead_ids": [
56789,
56790
],
"enrichment_types": [
"company_domain"
]
}Response
Example response
{
"job_id": "9f1c8b2e-...",
"message": "Enrichment job started",
"leads_to_enrich": 2,
"skipped_leads": 0
}Changes
- breaking
added
subschema #1subschema #2to the response bodyoneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - warning
removed the optional property
from the response with the status
- breaking
- info
endpoint added
- info