Request contact information
Submit a batch of contact info requests. Each item identifies its subject by exactly one of aggkPersonId or aggkHcpId. An aggkPersonId item is enriched asynchronously: any contact data already on file is returned immediately in the response items, and you poll GET /contact-info/{id} for the remaining fields as they are enriched. Phone numbers are withheld for people resident in Colorado: enrichPhone is ignored for those items, which complete with no phone and no error, and no phone enrichment is billed. An aggkHcpId item is answered from the emails already held for that healthcare professional and is complete in this response; it is never sent for enrichment, so an HCP with no email on file returns no emails rather than being enriched. Only enrichWorkEmail applies to an aggkHcpId item: enrichPersonalEmail and enrichPhone are rejected, because the source holds neither a phone number nor a work/personal split.
Request body
- namestringOptionalOptional label for the batch, up to 255 characters. Stored with the batch; omit it and the batch is unnamed. The batch status response does not return it.
- requestsobject[]Optional
- AggKnowledge HCP ID. Mutually exclusive with aggkPersonId; emails come from the healthcare professional's record and are never enriched. Only enrichWorkEmail applies
- AggKnowledge Person ID
- enrichPersonalEmailbooleanOptionalWhether to return the personal email. Omitted means false. Rejected with a 400 on an aggkHcpId item
- enrichPhonebooleanOptionalWhether to return the phone number. Omitted means false. Rejected with a 400 on an aggkHcpId item
- enrichWorkEmailbooleanOptionalWhether to return the work email. Omitted means false
- metadataobjectOptionalOptional metadata to associate with the request. Will be returned in the response.
- Headers
x-api-keyRequired · API key for authentication
Response
- batchIdstringBatch UUID for tracking the request
- itemCountinteger (int32)Number of items in the request
- itemsobject[]Contact data available immediately. An aggkHcpId item is always included, with status completed or failed. An aggkPersonId item is included only when at least one requested field is already on file, and only those fields are populated; the batch enriches the rest asynchronously. Always empty in the test environment.
- messagestringStatus message