EnrichEmail
Headers
API key header using this scheme. Example: “X-API-KEY: {API_KEY}”
API key header using this scheme. Example: “X-API-KEY: {API_KEY}”
Enrichment runs asynchronously - poll enrich-email/check-job/{jobId} with the returned jobId until the job reaches a terminal status. Provide exactly one of profileUrl or leadMemberId.
profileUrl (string, optional): The LinkedIn profile URL of the lead to enrich. If no lead with this URL exists yet, one is created automatically. Cannot be combined with leadMemberId.
leadMemberId (string, optional): The LinkedIn member id of an existing lead to enrich. Cannot be combined with profileUrl. The lead must already exist in the system.
enrich-email/check-job/{jobId} to poll for the result.All of the following return 400 with body { "errorMessage": "..." }:
Neither profileUrl nor leadMemberId provided: One of the following parameters must be provided: profileUrl or leadMemberId.
Both profileUrl and leadMemberId provided: Only one of the following parameters should be provided: profileUrl or leadMemberId.
profileUrl is not a valid LinkedIn profile URL: The provided URL is not a valid ProfileUrl: <url>
Returns 404 with body { "errorMessage": "..." } when leadMemberId is provided but no lead with that id exists: Lead with id <leadMemberId> does not exist.