Submit an async batch to enrich a list of known people (names + optional LinkedIn) for a company domain. Returns email and/or phone per person.
Overview
Use this endpoint when you already know who you want to enrich and just need their contact info. You provide one or more people (name, optional LinkedIn URL) scoped to a company domain; the workflow returns their email, phone, or both.
If you don't know the specific people yet and want to discover decision makers by title, use find decision makers instead.
Before you start
Make sure you have:
an Openmart account
an API key
a tool to send API requests, such as Postman or curl
Authentication. We recommend sending your API key as Authorization: Bearer <your_api_key>. If your current integration already uses X-API-Key: <your_api_key>, it will continue to work.
Allow enough time to start the job. The request can take more than 30 seconds to return a batch_id, so set your HTTP client timeout to at least 60 seconds. The enrichment then continues in the background. If your app times out, check whether it saved a batch ID before starting the same job again.
POST https://api.openmart.ai/api/v1/task/batch/lookup_people
Parameters
Parameter
domain
Type
string
Required
Yes
Example
"bluebottlecoffee.com"
Description
Company root domain where the people work.
Parameter
company_name
Type
string
Required
No
Example
"Blue Bottle"
Description
Optional human-readable company name. Improves resolution when the domain is ambiguous.
Parameter
people
Type
array[object]
Required
Yes
Example
[{"first_name":"Jane","last_name":"Doe"}]
Description
Known people to enrich. 1 to 8 entries per task. Each needs first_name and last_name; linkedin_url is optional and helps disambiguation.
Parameter
include_phone_grade
Type
boolean
Required
No
Example
false
Description
Optional boolean. Defaults to enabled for API calls unless the server default is changed. Explicit false skips phone verification and grade for fresh lookups (valid and confidence_grade are null; verification_status is unverified). Cached grades are retained and missing cached grades are not backfilled.
Parameter
info_access
Type
array[string]
Required
No
Example
["EMAIL","PHONE"]
Description
Which contact fields to return. Allowed values: EMAIL, PHONE. Default: ["EMAIL","PHONE"] (both). If provided, it must contain at least one value.
Parameter
tracking_id
Type
string
Required
No
Example
"bluebottle-jane"
Description
Your correlation ID. Echoed back on task read.
Parameter
Type
Required
Example
Description
domain
string
Yes
"bluebottlecoffee.com"
Company root domain where the people work.
company_name
string
No
"Blue Bottle"
Optional human-readable company name. Improves resolution when the domain is ambiguous.
people
array[object]
Yes
[{"first_name":"Jane","last_name":"Doe"}]
Known people to enrich. 1 to 8 entries per task. Each needs first_name and last_name; linkedin_url is optional and helps disambiguation.
include_phone_grade
boolean
No
false
Optional boolean. Defaults to enabled for API calls unless the server default is changed. Explicit false skips phone verification and grade for fresh lookups (valid and confidence_grade are null; verification_status is unverified). Cached grades are retained and missing cached grades are not backfilled.
info_access
array[string]
No
["EMAIL","PHONE"]
Which contact fields to return. Allowed values: EMAIL, PHONE. Default: ["EMAIL","PHONE"] (both). If provided, it must contain at least one value.
Request body is a JSON array of 1–100 task objects for POST /api/v1/task/batch/lookup_people. Batch-size errors return 400 with {"detail":"the number of tasks in each batch should be between 1 and 100"}.
Per-task fields
Each item in the batch array is one task. Submit 1 to 100 tasks per request.
domainstringRequired: Yes
Example: "bluebottlecoffee.com"
Company root domain. Missing → 400 detail:"Domain is required".
Optional boolean. Defaults to enabled for API calls unless the server default is changed. Explicit false skips phone verification and grade for fresh lookups (valid and confidence_grade are null; verification_status is unverified). Cached grades are retained and missing cached grades are not backfilled.
Subset of contact fields to return. Each element must be "EMAIL" or "PHONE". Default (when omitted) is both. If provided, it must contain at least one value.
Known people to enrich. Include 1–8 people per task. Each person requires first_name and last_name; linkedin_url is optional and improves match quality.