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.
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".
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.