Skip to main content

Audience API

The Audience API allows you to create different types of audiences for Healthcare campaigns.

The following table describes some of the audience types:

TypeDescription
Matched audienceUpload a CSV or XLSX file with audience details which is then matched with IQM's user database to create a custom audience segment.
ABM audienceAccount Based Marketing for Healthcare campaigns.
ICT audienceIntegrated Care Team audiences are a type of Matched audience intended for Healthcare-audience expansion.
Geofarmed audienceDefine an audience by a custom geographical area.
Contextual audienceIQM adds users to an audience when they visit sites featuring specified keywords or URLs.
Campaign audienceRetarget an audience associated with a campaign. Healthcare Advertisers can specify a Campaign audience type during creation, ensuring only campaigns with relevant targeted audiences are selected.

More resources​

See our full Audience API documentation or review these Help Center articles for more information on how to use audiences for your Healthcare campaigns:

Authentication​

Use the following header parameters for all requests:

Headers
Authorization
string required
Bearer followed by the access_token from the login response.
See Sign up and authenticate.
X-IAA-OW-ID
integer required
Organization Workspace ID header.

Audience details​

Audience details list​

POST

Get a list of audiences with basic details by desired filters.

An audience id can be used to get more details in type-specific details endpoints. For example, a "Matched audience" id can be used in the Matched audience details endpoint to get more details.

The id can also be used to perform various actions in Audience management PUT/PATCH endpoints.

Request schema
audienceIds
array of integers
Audience IDs to filter by.
audienceTypeIds
array of integers
Audience type IDs to filter by.
Supported values
1Matched audience
2Segmented audience
3Retargeted audience
4Geofarmed audience
5Contextual audience
6Lookalike audience
7Campaign audience
8Pre-bid audience
9Account Based Marketing (ABM) audience
10Custom Voter audience (CVA)
11Integrated Care Team (ICT) audience
12Power Segment audience
audienceSubtypeIds
array of integers
Audience subtype IDs to filter by.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
owIds
array of integers
Organization Workspace IDs to filter by.
audienceStatusIds
array of integers
Audience status IDs to filter by.
Supported values
1Processing
2Pending
3Ready
4Rejected
5Deleted
6Failed
7Fetching data
8Data fetched
includeGenericAudience
boolean
Include generic audiences.
audienceTypeIdsWithAllSubtypes
array of integers
Audience type IDs to include all subtypes.
Supported values
1Matched audience
2Segmented audience
3Retargeted audience
4Geofarmed audience
5Contextual audience
6Lookalike audience
7Campaign audience
8Pre-bid audience
9Account Based Marketing (ABM) audience
10Custom Voter audience (CVA)
11Integrated Care Team (ICT) audience
12Power Segment audience
pageNo
integer
Page number of retrieved data.
noOfEntries
integer
Number of entries returned per page.
sortBy
string
Sorts results by specified field.
searchFields
array
Filter results by search fields.
Response properties
audienceId
integer
Audience ID.
audienceName
string
Audience name.
audienceTypeId
integer
Audience type ID.
Supported values
1Matched audience
2Segmented audience
3Retargeted audience
4Geofarmed audience
5Contextual audience
6Lookalike audience
7Campaign audience
8Pre-bid audience
9Account Based Marketing (ABM) audience
10Custom Voter audience (CVA)
11Integrated Care Team (ICT) audience
12Power Segment audience
audienceStatusId
integer
Audience status ID.
Supported values
1Processing
2Pending
3Ready
4Rejected
5Deleted
6Failed
7Fetching data
8Data fetched
cpm
number
Cost per thousand impressions.
createdAt
integer
Creation timestamp (epoch milliseconds).
reach
integer
Audience reach.
verticalId
integer
Vertical ID.
Supported values
1Political
2Healthcare
3Specialty
organizationName
string
Organization name.
runningCampaignCount
integer
Number of running campaigns.
pendingCampaignCount
integer
Number of pending campaigns.
pausedCampaignCount
integer
Number of paused campaigns.
expiredCampaignCount
integer
Number of expired campaigns.
startDate
integer
Start date (epoch milliseconds).
endDate
integer
End date (epoch milliseconds).
timezone
integer
Timezone ID.
regeneratedCount
integer
Number of times regenerated.
matchRate
number
Match rate percentage.
insightStatusId
integer
Audience Insights report status, for Matched audiences only: 1 (Processing), 2 (Ready), or 3 (Failed). Omitted when no report has been created.
fileTotalCount
integer
Total number of files.
s3FileName
string
S3 file name.
parentAudienceId
integer
ICT audiences only: ID of the ICT audience group the audience belongs to.
hierarchyType
string
ICT audiences only: whether the audience is an input audience (input) or an extension audience (extension).
approvalAccess
boolean
Approval access permission.
editAccess
boolean
Edit access permission.
Request sample
{
"audienceIds": [
1003879,
1003880
],
"audienceTypeIds": [
1,
2
],
"audienceSubtypeIds": [
3,
4
],
"owIds": [
12345,
67890
],
"audienceStatusIds": [
1,
2
],
"includeGenericAudience": true,
"audienceTypeIdsWithAllSubtypes": [
1,
2
],
"pageNo": 1,
"noOfEntries": 20,
"sortBy": "audienceName",
"searchFields": [
"test audience",
123456
]
}
Response 200
{
"success": true,
"data": {
"totalRecords": 16,
"filteredRecords": 16,
"audienceList": [
{
"audienceId": 1142228,
"audienceName": "Copy of Matched Audience Example",
"audienceTypeId": 1,
"audienceStatusId": 6,
"createdAt": 1755812128000,
"reach": 0,
"verticalId": 1,
"organizationName": "Conor's Org",
"runningCampaignCount": 0,
"pendingCampaignCount": 0,
"pausedCampaignCount": 0,
"expiredCampaignCount": 0,
"matchRate": 0.0,
"fileTotalCount": 5,
"s3FileName": "1743014162776_matched_audience_example.csv",
"approvalAccess": false,
"editAccess": false
},
{
"audienceId": 1141935,
"audienceName": "Test",
"audienceTypeId": 2,
"audienceStatusId": 6,
"createdAt": 1755208780000,
"reach": 0,
"verticalId": 1,
"organizationName": "Conor's Org",
"runningCampaignCount": 0,
"pendingCampaignCount": 0,
"pausedCampaignCount": 0,
"expiredCampaignCount": 0,
"matchRate": 0.0,
"approvalAccess": false,
"editAccess": false
}
]
}
}

Basic audience details​

POST

Get a basic list of audience details.

Request schema
audienceIds
array of integers
Audience IDs to filter by.
audienceTypeIds
array of integers
Audience type IDs to filter by.
Supported values
1Matched audience
2Segmented audience
3Retargeted audience
4Geofarmed audience
5Contextual audience
6Lookalike audience
7Campaign audience
8Pre-bid audience
9Account Based Marketing (ABM) audience
10Custom Voter audience (CVA)
11Integrated Care Team (ICT) audience
12Power Segment audience
audienceSubtypeIds
array of integers
Audience subtype IDs to filter by.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
owIds
array of integers
Organization Workspace IDs to filter by.
audienceStatusIds
array of integers
Audience status IDs to filter by.
Supported values
1Processing
2Pending
3Ready
4Rejected
5Deleted
6Failed
7Fetching data
8Data fetched
includeGenericAudience
boolean
Include generic audiences.
pageNo
integer
Page number of retrieved data.
noOfEntries
integer
Number of entries per page.
sortBy
string
Sorts results by specified field.
searchFields
array
Filter results by search fields.
Response properties
audienceId
integer
Audience ID.
audienceName
string
Audience name.
audienceTypeId
integer
Audience type ID.
Supported values
1Matched audience
2Segmented audience
3Retargeted audience
4Geofarmed audience
5Contextual audience
6Lookalike audience
7Campaign audience
8Pre-bid audience
9Account Based Marketing (ABM) audience
10Custom Voter audience (CVA)
11Integrated Care Team (ICT) audience
12Power Segment audience
audienceSubtypeId
integer
Audience subtype ID.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
isIqmIdTargeted
boolean
Indicates if IQM ID targeted.
audienceStatusId
integer
Audience status ID.
Supported values
1Processing
2Pending
3Ready
4Rejected
5Deleted
6Failed
7Fetching data
8Data fetched
createdOn
integer
Creation timestamp (epoch seconds).
cpm
number
Cost per thousand impressions.
reach
integer
Audience reach.
Request sample
{
"audienceIds": [
1003879,
1003880
],
"audienceTypeIds": [
1,
2
],
"audienceSubtypeIds": [
3,
4
],
"owIds": [
12345,
67890
],
"audienceStatusIds": [
1,
2
],
"includeGenericAudience": true,
"pageNo": 1,
"noOfEntries": 20,
"sortBy": "audienceName",
"searchFields": [
"test audience",
123456
]
}

Response 200
{
"success": true,
"data": {
"totalRecords": 874,
"filteredRecords": 874,
"audienceBasicList": [
{
"audienceId": 1,
"audienceName": "Sample audience name 1",
"audienceTypeId": 1,
"audienceSubtypeId": 1,
"isIqmIdTargeted": true,
"audienceStatusId": 1,
"createdAt": 1653510068,
"cpm": 1.5,
"reach": 18850783
}
]
}
}

Audience count by status​

POST

Get a count of audiences by status type.

Request schema
searchField
string
Filter results by search field.
owIds
string
Organization Workspace IDs.
audienceTypeIds
string
Audience type IDs.
Supported values
1Matched audience
2Segmented audience
3Retargeted audience
4Geofarmed audience
5Contextual audience
6Lookalike audience
7Campaign audience
8Pre-bid audience
9Account Based Marketing (ABM) audience
10Custom Voter audience (CVA)
11Integrated Care Team (ICT) audience
12Power Segment audience
Response properties
audienceStatusId
integer
Audience status ID.
Supported values
1Processing
2Pending
3Ready
4Rejected
5Deleted
6Failed
7Fetching data
8Data fetched
audienceCount
integer
Audience count.
Response 200
{
"success": true,
"data": [
{
"audienceStatusId": 1,
"audienceCount": 2
},
{
"audienceStatusId": 3,
"audienceCount": 10
},
{
"audienceStatusId": 6,
"audienceCount": 4
}
]
}

Audience count by type​

GET

Get an audience count by audience type.

Response properties
audienceTypeId
integer
Audience type ID.
Supported values
1Matched audience
2Segmented audience
3Retargeted audience
4Geofarmed audience
5Contextual audience
6Lookalike audience
7Campaign audience
8Pre-bid audience
9Account Based Marketing (ABM) audience
10Custom Voter audience (CVA)
11Integrated Care Team (ICT) audience
12Power Segment audience
audienceCount
integer
Audience count.
Response 200
{
"success": true,
"data": [
{
"audienceTypeId": 1,
"audienceCount": 10
},
{
"audienceTypeId": 2,
"audienceCount": 25
}
]
}

Audience count by data partner​

POST

Get an audience count by data partner ID.

Request schema
audienceTypeId
integer
Audience type ID.
Supported values
1Matched audience
2Segmented audience
3Retargeted audience
4Geofarmed audience
5Contextual audience
6Lookalike audience
7Campaign audience
8Pre-bid audience
9Account Based Marketing (ABM) audience
10Custom Voter audience (CVA)
11Integrated Care Team (ICT) audience
12Power Segment audience
Response properties
dataPartnerId
integer
Data partner ID.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
audienceCount
integer
Audience count.
Request sample
{
"audienceTypeIds": [
2,
4
]
}
Response 200
{
"success": true,
"data": [
{
"dataPartnerId": 1,
"audienceCount": 10
},
{
"dataPartnerId": 2,
"audienceCount": 25
}
]
}

Healthcare data details​

Healthcare titles list​

GET

Get a list of Healthcare titles.

Query parameters
dataProviderIds
array of integers
Data provider IDs.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
pageNo
integer
Page number of retrieved data, default: 0.
noOfEntries
integer
Number of entries returned per page, default: 50.
searchField
string
Filter results by search field.
audienceSubtypeIds
array of integers
List of audience subtype IDs to filter the Healthcare titles. Comma-separated string of IDs is also allowed.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
includeGenericAudience
boolean
When true, includes records with no audience subtype alongside any matched subtype IDs. Default: false.
Response properties
id
integer
Title ID.
displayName
string
Title name.
displayOrder
integer
Display order.
reach
integer
Unique reach for this title.
audienceSubtypeId
integer
Audience subtype ID associated with this record.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
Response 200
{
"success": true,
"data": {
"titleList": [
{
"id": 1,
"displayName": "Healthcare Title 1",
"displayOrder": 1,
"reach": 12345,
"audienceSubtypeId": 3
},
{
"id": 2,
"displayName": "Healthcare Title 2",
"displayOrder": 20,
"reach": 54321,
"audienceSubtypeId": null
}
],
"filteredRecords": 5,
"totalRecords": 3294
}
}

Healthcare specialties list​

GET

Get a list of Healthcare specialties.

Query parameters
dataProviderIds
array of integers
Data provider IDs.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
pageNo
integer
Page number of retrieved data, default: 0.
noOfEntries
integer
Number of entries returned per page, default: 50.
searchField
string
Filter results by search field.
audienceSubtypeIds
array of integers
List of audience subtype IDs to filter the Healthcare specialties. Comma-separated string of IDs is also allowed.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
includeGenericAudience
boolean
When true, includes records with no audience subtype alongside any matched subtype IDs. Default: false.
Response properties
id
integer
Specialty ID.
displayName
string
Specialty name.
displayOrder
integer
Display order.
reach
integer
Unique reach for this specialty.
audienceSubtypeId
integer
Audience subtype ID associated with this record.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
Response 200
{
"success": true,
"data": {
"specialityList": [
{
"id": 1,
"displayName": "Healthcare Speciality 1",
"displayOrder": 1,
"reach": 12345,
"audienceSubtypeId": 3
},
{
"id": 2,
"displayName": "Healthcare Speciality 2",
"displayOrder": 20,
"reach": 54321,
"audienceSubtypeId": null
}
],
"filteredRecords": 5,
"totalRecords": 3294
}
}

Healthcare systems list​

GET

Get a list of Healthcare systems.

Query parameters
dataProviderIds
array of integers
Data provider IDs.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
pageNo
integer
Page number of retrieved data, default: 0.
noOfEntries
integer
Number of entries returned per page, default: 50.
searchField
string
Filter results by search field.
audienceSubtypeIds
array of integers
List of audience subtype IDs to filter the Healthcare systems. Comma-separated string of IDs is also allowed.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
includeGenericAudience
boolean
When true, includes records with no audience subtype alongside any matched subtype IDs. Default: false.
Response properties
id
integer
System ID.
displayName
string
System name.
displayOrder
integer
Display order.
reach
integer
Unique reach for this system.
audienceSubtypeId
integer
Audience subtype ID associated with this record.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
Response 200
{
"success": true,
"data": {
"healthcareSystemList": [
{
"id": 1,
"displayName": "Healthcare System 1",
"displayOrder": 1,
"reach": 1000,
"audienceSubtypeId": 3
},
{
"id": 2,
"displayName": "Healthcare System 2",
"displayOrder": 20,
"reach": 2000,
"audienceSubtypeId": 3
}
],
"filteredRecords": 5,
"totalRecords": 3294
}
}

Healthcare data​

POST

Get a Healthcare data list by specified filters.

Query parameters
dataProviderIds
array of integers
Data provider IDs.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
pageNo
integer
Page number of retrieved data, default: 0.
noOfEntries
integer
Number of entries returned per page, default: 50.
healthCareSystemIds
array of integers
Healthcare system IDs.
accountNameIds
array of integers
Healthcare account name IDs.
accountTypeIds
array of integers
Healthcare account type IDs.
accountSubTypeIds
array of integers
Healthcare account subtype IDs.
countryIds
array of integers
Country IDs.
stateIds
array of integers
State IDs.
cityIds
array of integers
City IDs.
titleIds
array of integers
Healthcare title IDs.
specialityIds
array of integers
Healthcare specialty IDs.
ids
array of integers
IDs.
audienceSubtypeIds
array of integers
Audience subtype IDs to filter the records.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
includeGenericAudience
boolean
When true, includes records with no audience subtype alongside any matched subtype IDs. Default: false.
Response properties
id
integer
Audience ID.
cost
integer
Charges for a specific segment.
reach
integer
Unique reach of segments (i.e., audience reach).
healthCareSystemId
integer
Healthcare system ID.
healthCareSystemName
string
Healthcare system name.
accountId
integer
Healthcare account ID.
accountName
string
Healthcare account name.
accountTypeId
integer
Healthcare account type ID.
accountTypeName
string
Healthcare account type name.
accountSubTypeId
integer
Healthcare account subtype ID.
accountSubTypeName
string
Healthcare account subtype name.
titleId
integer
Healthcare title ID.
titleName
string
Healthcare title name.
specialityId
integer
Healthcare specialty ID.
specialityName
string
Healthcare specialty name.
countryId
integer
Country ID.
countryName
string
Country name.
stateId
integer
State ID.
stateName
string
State name.
cityId
integer
City ID.
cityName
string
City name.
dataProviderId
integer
Data provider ID.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
dataProviderName
string
Data provider name.
Request sample
{
"dataProviderIds": [
1
],
"healthCareSystemIds": [
40100004,
40100007
],
"accountIds": [
40208104,
40628423
],
"accountTypeIds": [
40300003
],
"accountSubTypeIds": [
40400001,
40400010
],
"countryIds": [
30100001
],
"stateIds": [
30200028,
30200043
],
"cityIds": [
30430356,
30447825,
30447952,
30448122
],
"titleIds": [
40500099
],
"specialityIds": [
40500014,
40500086
],
"ids": [
1,
2,
3
],
"pageNo": 1,
"noOfEntries": 2,
"audienceSubtypeIds": [3],
"includeGenericAudience": false
}
Response 200
{
"success": true,
"data": {
"totalRecords": 52265,
"filteredRecords": 5,
"healthCareData": [
{
"id": 1,
"cost": 10,
"reach": 1,
"healthCareSystemId": 40100004,
"healthCareSystemName": "ABCD PEDIATRICS",
"accountId": 40628423,
"accountName": "Stepping Stone Pediatrics PA",
"accountTypeId": 40300003,
"accountTypeName": "Group Practice",
"accountSubTypeId": 40400010,
"accountSubTypeName": "Telephone/E-Mail Order Pharmacy",
"titleId": 40500099,
"titleName": "MD",
"specialityId": 40500086,
"specialityName": "Gastroenterology",
"countryId": 30100001,
"countryName": "United States",
"stateId": 30200043,
"stateName": "Tennessee",
"cityId": 30447952,
"cityName": "Franklin, TN",
"dataProviderId": 1,
"dataProviderName": "HealthCarelink",
"audienceSubtypeId": 3
},
{
"id": 2,
"cost": 10,
"reach": 1,
"healthCareSystemId": 40100004,
"healthCareSystemName": "ABCD PEDIATRICS",
"accountId": 40628423,
"accountName": "Stepping Stone Pediatrics PA",
"accountTypeId": 40300003,
"accountTypeName": "Group Practice",
"accountSubTypeId": 40400010,
"accountSubTypeName": "Telephone/E-Mail Order Pharmacy",
"titleId": 40500099,
"titleName": "MD",
"specialityId": 40500086,
"specialityName": "Gastroenterology",
"countryId": 30100001,
"countryName": "United States",
"stateId": 30200043,
"stateName": "Tennessee",
"cityId": 30447825,
"cityName": "Brentwood, TN",
"dataProviderId": 1,
"dataProviderName": "HealthCarelink",
"audienceSubtypeId": 3
}
]
}
}

Healthcare statistics​

POST

Get Healthcare statistics details.

Query parameters
dataProviderIds
array of integers
Data provider IDs.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
pageNo
integer
Page number of retrieved data, default: 0.
noOfEntries
integer
Number of entries returned per page, default: 50.
healthCareSystemIds
array of integers
Healthcare system IDs.
accountNameIds
array of integers
Account name IDs.
accountTypeIds
array of integers
Healthcare account type IDs.
accountSubTypeIds
array of integers
Account subtype IDs.
countryIds
array of integers
Country IDs.
stateIds
array of integers
State IDs.
cityIds
array of integers
City IDs.
titleIds
array of integers
Title IDs.
specialityIds
array of integers
Healthcare specialty IDs.
ids
array of integers
IDs.
audienceSubtypeIds
array of integers
Audience subtype IDs to filter the records.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
includeGenericAudience
boolean
When true, includes records with no audience subtype alongside any matched subtype IDs. Default: false.
Response properties
healthSystem
integer
Healthcare system ID.
account
integer
Healthcare account ID.
accountType
integer
Healthcare account type ID.
npiReach
integer
NPI reach.
speciality
integer
Healthcare specialty ID.
Request sample
{
"dataProviderIds": [
1
],
"healthCareSystemIds": [
40100004,
40100007
],
"accountIds": [
40208104,
40628423
],
"accountTypeIds": [
40300003
],
"accountSubTypeIds": [
40400001,
40400010
],
"countryIds": [
30100001
],
"stateIds": [
30200028,
30200043
],
"cityIds": [
30430356,
30447825,
30447952,
30448122
],
"titleIds": [
40500099
],
"specialityIds": [
40500014,
40500086
],
"ids": [
1,
2,
3
],
"pageNo": 1,
"noOfEntries": 2,
"audienceSubtypeIds": [3],
"includeGenericAudience": false
}
Response 200
{
"success": true,
"data": {
"healthSystem": 2,
"account": 4,
"accountType": 8,
"npiReach": 25513,
"speciality": 3
}
}

Healthcare account types​

POST

Get a list of Healthcare account types.

Query parameters
dataProviderIds
array of integers
Data provider IDs.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
pageNo
integer
Page number of retrieved data, default: 0.
noOfEntries
integer
Number of entries returned per page, default: 50.
healthCareSystemIds
array of integers
Healthcare system IDs.
accountNameIds
array of integers
Account name IDs.
searchField
string
Filter results by search field.
audienceSubtypeIds
array of integers
Audience subtype IDs to filter the records.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
includeGenericAudience
boolean
When true, includes records with no audience subtype alongside any matched subtype IDs. Default: false.
Response properties
id
integer
Account ID.
audienceSubtypeId
integer
Audience subtype ID associated with this record.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
displayName
string
Account name.
displayOrder
integer
Display order.
Request sample
{
"pageNo": 1,
"noOfEntries": 20,
"searchField": "Sample Text",
"dataProviderIds": [
1
],
"healthcareSystemIds": [
1,
2,
3
],
"accountNameIds": [
4,
5,
6
],
"audienceSubtypeIds": [3],
"includeGenericAudience": false
}
Response 200
{
"success": true,
"data": {
"accountTypeList": [
{
"id": 1,
"displayName": "Account Type 1",
"displayOrder": 1,
"audienceSubtypeId": 3
},
{
"id": 2,
"displayName": "Account Type 2",
"displayOrder": 2,
"audienceSubtypeId": null
}
],
"filteredRecords": 5,
"totalRecords": 3294
}
}

Healthcare account subtypes​

POST

Get a list of Healthcare account subtypes.

Query parameters
dataProviderIds
array of integers
Data provider IDs.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
pageNo
integer
Page number of retrieved data, default: 0.
noOfEntries
integer
Number of entries returned per page, default: 50.
healthCareSystemIds
array of integers
Healthcare system IDs.
accountNameIds
array of integers
Account name IDs.
searchField
string
Filter results by search field.
accountTypeIds
array of integers
Healthcare account type IDs.
audienceSubtypeIds
array of integers
Audience subtype IDs to filter the records.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
includeGenericAudience
boolean
When true, includes records with no audience subtype alongside any matched subtype IDs. Default: false.
Response properties
id
integer
Account subtype ID.
audienceSubtypeId
integer
Audience subtype ID associated with this record.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
displayName
string
Account sub name.
displayOrder
integer
Display order.
Request sample
{
"pageNo": 1,
"noOfEntries": 20,
"searchField": "Sample Text",
"dataProviderIds": [
1
],
"healthcareSystemIds": [
1,
2,
3
],
"accountNameIds": [
4,
5,
6
],
"accountTypeIds": [
7,
8,
9
],
"audienceSubtypeIds": [3],
"includeGenericAudience": true
}
Response 200
{
"success": true,
"data": {
"accountSubTypeList": [
{
"id": 1,
"displayName": "Account Subtype 1",
"displayOrder": 1,
"audienceSubtypeId": 3
},
{
"id": 2,
"displayName": "Account Subtype 2",
"displayOrder": 2,
"audienceSubtypeId": null
}
],
"filteredRecords": 5,
"totalRecords": 3294
}
}

Healthcare account names​

POST

Get a list of Healthcare account names.

Query parameters
dataProviderIds
array of integers
Data provider IDs.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
pageNo
integer
Page number of retrieved data, default: 0.
noOfEntries
integer
Number of entries returned per page, default: 50.
healthCareSystemIds
array of integers
Healthcare system IDs.
searchField
string
Filter results by search field.
Response properties
id
integer
Account name ID.
displayName
string
Account name.
displayOrder
integer
Display order.
Request sample
{
"pageNo": 1,
"noOfEntries": 20,
"searchField": "Sample text",
"dataProviderIds": [
1
],
"healthcareSystemIds": [
1,
2,
3
]
}
Response 200
{
"success": true,
"data": {
"accountNameList": [
{
"id": 1,
"displayName": "Account Name 1",
"displayOrder": 1
},
{
"id": 2,
"displayName": "Account Name 2",
"displayOrder": 20
}
],
"filteredRecords": 5,
"totalRecords": 3294
}
}

Matched audiences​

Matched audience details​

GET

Get Matched audience details by ID.

Path parameter
audienceId
integer
Matched audience ID.
Query parameters
campaignTargetingRequired
boolean optional
Flag to indicate if campaign targeting details are returned, default: false.
userDetailsRequired
boolean optional
Flag to indicate if user details are returned, default: false.
Response properties
audienceId
integer
Audience ID.
audienceName
string
Audience name.
audienceTypeId
integer
Audience type ID. Always 1 (Matched audience).
audienceSubtypeId
integer
Audience subtype ID. Returned only for Healthcare audiences.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
audienceStatusId
integer
Audience status ID.
Supported values
1Processing
2Pending
3Ready
4Rejected
5Deleted
6Failed
7Fetching data
8Data fetched
cpm
number
Data cost (CPM) charged if the audience is used in a campaign.
owId
integer
Organization Workspace ID.
createdByUowId
integer
Created by User Organization Workspace ID.
createdAt
integer
Unix epoch creation date (milliseconds).
reach
integer
Audience reach (matched unique users). 0 until the file is matched.
householdReach
integer
Household reach. Returned only for Political Matched audiences, once matched.
columnMappings
array of objects
Mappings between the file's columns and matching columns.
columnMappings object properties
columnId
integer
Column ID.
fileColumnName
string
Column name in the uploaded file.
dataFormatId
integer
Data format ID of the column values. null for columns that don't take a data format.
s3FileName
string
Audience file name.
s3Url
string
S3 URL of the audience file.
fileRowCount
integer
Number of rows in the file.
matchRate
number
Percentage of file records that were matched. Returned once the file is matched.
dataPartnerId
integer
Data partner ID.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
modifiedAt
string
Modified date (ISO 8601 format).
rejectionReason
string
Reason the audience was rejected. Returned only for rejected audiences.
organizationName
string
Name of the organization that owns the audience. Returned when userDetailsRequired is true.
createdByUserName
string
Name of the user who created the audience. Returned when userDetailsRequired is true.
approvedOrRejectedByUserName
string
Name of the user who approved or rejected the audience. Returned when userDetailsRequired is true and the audience has been approved or rejected.
approvedOrRejectedByUserEmail
string
Email of the user who approved or rejected the audience. Returned under the same conditions as approvedOrRejectedByUserName.
approvalAccess
boolean
Indicates if user has access to approve.
editAccess
boolean
Indicates if user has edit access for the requested resource.
whitelistedCampaignIds
array of integers
IDs of campaigns that include this audience. Returned when campaignTargetingRequired is true and at least one campaign includes it.
blacklistedCampaignIds
array of integers
IDs of campaigns that exclude this audience. Returned when campaignTargetingRequired is true and at least one campaign excludes it.
Response 200
{
"success": true,
"data": {
"audienceId": 1183827,
"audienceName": "HCP NPI Audience",
"audienceTypeId": 1,
"audienceSubtypeId": 3,
"audienceStatusId": 2,
"cpm": 0.0,
"owId": 204995,
"createdByUowId": 298904,
"createdAt": 1793036506707,
"reach": 0,
"columnMappings": [
{
"columnId": 18,
"fileColumnName": "NPI_ID",
"dataFormatId": null
}
],
"s3FileName": "1793036506720_hcp-npi-list.csv",
"s3Url": "s3://<bucket>/AUDIENCE/UPLOAD/HCP/Client=204995/Audience=1183827/1793036506720_hcp-npi-list.csv",
"fileRowCount": 5,
"dataPartnerId": 7,
"modifiedAt": "2026-10-26T17:41:50.066+00:00",
"organizationName": "Healthcare Workspace",
"createdByUserName": "Jane Smith",
"approvalAccess": false,
"editAccess": true
}
}

Create Matched audience​

POST

Create a Matched audience by uploading a file with user data. The metadata is sent as a JSON string in the audienceRequest form data field, and the file is uploaded as multipart/form-data in the file form data field.

For more information on Matched audiences and how they can serve your Healthcare, Political, or Specialty needs, refer to our Help Center articles.

Request schema
audienceRequest
form data required
Audience metadata details.
file
multipart/form-data required
File to be uploaded.
audienceRequest properties
audienceName
string required
Audience name.
fileRowCount
integer required
Number of rows in the file.
fileColumnCount
integer required
Number of columns in the file.
audienceSubtypeId
integer
Audience subtype ID. Healthcare audiences only. Omit it for Political audiences, which don't support subtypes.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
columnMappings
array of objects required
Array of column mapping objects.
columnMappings object properties
columnId
integer
Column ID.
fileColumnName
string
File column name.
dataFormatId
integer
Data format ID.
Supported values
1Raw
2Hashed (MD5)
3Hashed (SHA1)
4Hashed (SHA256)
5Hashed (SHA512)
6Hashed (other)
dataPartnerId
integer
Data partner ID. Required for HCP audiences and for the Voter ID column combination; omit it for other combinations.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
columnCombinationId
integer required
Column combination ID.
consentGiven
boolean
Confirms that patients consented to the use of their data. Must be true for the Healthcare Patient subtype (6). Omit it for every other subtype.

audienceRequest sample object for Political Matched audience
{
"audienceName": "matched-audience-example-fs",
"fileRowCount": 5,
"fileColumnCount": 1,
"columnMappings": [
{
"columnId": 1,
"fileColumnName": "l2-voter-id"
}
],
"dataPartnerId": 2,
"columnCombinationId": 1
}

audienceRequest sample object for Healthcare Matched audience
{
"audienceName": "Revamped Healthcare Matched Audience 02",
"dataPartnerId": 7,
"audienceSubtypeId": 3,
"columnMappings": [
{
"columnId": 18,
"fileColumnName": "NPI_ID"
}
],
"fileRowCount": 19,
"fileColumnCount": 1,
"columnCombinationId": 14
}
POST /api/v3/audience/matched HTTP/1.1
Host: api.iqm.com
Authorization: Bearer 0ed52da8-24ab-44b1-bc88-7ea03a090d24
X-IAA-OW-ID: <owId>
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW

------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="audienceRequest"
Content-Type: application/json

{"audienceName":"HCP NPI Audience","dataPartnerId":7,"audienceSubtypeId":3,"columnCombinationId":14,"fileRowCount":1200,"fileColumnCount":1,"columnMappings":[{"columnId":18,"fileColumnName":"NPI_ID"}]}
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="hcp-npi-list.csv"
Content-Type: text/csv

[Binary CSV file data]
------WebKitFormBoundary7MA4YWxkTrZu0gW--
cat > audienceRequest.json <<'EOF'
{"audienceName":"HCP NPI Audience","dataPartnerId":7,"audienceSubtypeId":3,"columnCombinationId":14,"fileRowCount":1200,"fileColumnCount":1,"columnMappings":[{"columnId":18,"fileColumnName":"NPI_ID"}]}
EOF

curl -X POST https://api.iqm.com/api/v3/audience/matched \
-H "Authorization: Bearer 0ed52da8-24ab-44b1-bc88-7ea03a090d24" \
-H "X-IAA-OW-ID: <owId>" \
-F 'audienceRequest=@audienceRequest.json;type=application/json' \
-F 'file=@/path/to/hcp-npi-list.csv;type=text/csv'
Response 200
{
"success": true,
"data": {
"audienceId": 1183883,
"message": "HCP NPI Audience audience created successfully"
}
}

Update Matched audience​

PATCH

Update the data cost of a Matched audience. Only Matched audiences can be updated, and users without full access must have access to the audience's Organization.

To approve or reject a Matched audience, use Approve or reject Matched audience.

Path parameter
audienceId
integer
Matched audience ID.
Request schema
dataCost
number
Data cost, returned as cpm in audience details. If omitted, the current data cost is kept.
Response properties
message
string
Success message.
Request sample
{
"dataCost": 10
}
Response 200
{
"success": true,
"data": {
"message": "Changes saved successfully"
}
}
More responses
Response 422
{
"success": false,
"errorObjects": [
{
"error": "Only matched audiences can be edited."
}
]
}

Approve or reject Matched audience​

POST

Approve or reject a Matched audience that has a Pending status. Only Matched audiences of the Patient subtype can be approved or rejected, and only full-access users in the organization that owns the Audiences application can perform this action.

Path parameter
audienceId
integer required
Matched audience ID.
Request schema
audienceStatusId
integer required
Audience status ID: 3 to approve (Ready) or 4 to reject (Rejected).
rejectionReason
string
Reason for rejecting the audience. Required when audienceStatusId is 4, and must not be provided when approving.
Response properties
message
string
Success message.
Request sample: approve
{
"audienceStatusId": 3
}
Request sample: reject
{
"audienceStatusId": 4,
"rejectionReason": "Insufficient data quality."
}
Response 200
{
"success": true,
"data": {
"message": "Changes saved successfully"
}
}
More responses
Response 403
{
"success": false,
"errorObjects": [
{
"error": "Only application owner users with full access can update the audience status"
}
]
}
Response 422
{
"success": false,
"errorObjects": [
{
"error": "Only audiences in PENDING status can be approved/rejected"
}
]
}
Response 422
{
"success": false,
"errorObjects": [
{
"error": "Rejection reason must be provided when rejecting an audience",
"field": "rejectionReason"
}
]
}

Rematch audience​

PUT

Rematch (refresh) an existing audience with the latest data. Supports Matched audiences and primary Integrated Care Team (ICT) audiences; extension ICT audiences aren't supported. The audience must be eligible for a rematch based on its status, when it was last rematched, and other criteria.

Path parameter
audienceId
integer required
Audience ID to rematch.
Response properties
audienceId
integer
Audience ID of the rematched audience.
message
string
Success message.
Response 200
{
"success": true,
"data": {
"audienceId": 12345,
"message": "Test audience rematched successfully via Re-Match"
}
}
Response 422
{
"success": false,
"errorObjects": [
{
"error": "No active audience found with the given Id.",
"field": "audienceId"
}
]
}

Data partners list for Matched audience​

GET

Returns a list of data partners relevant for audiences based on vertical and optional subtype.

  • For Advertiser users, vertical is derived from the Organization Workspace ID of the logged-in user's Organization.
  • For Workspace/super users, a vertical ID should be passed explicitly.
  • Audience type ID is mandatory to fetch data partners.
    Supported values
    1Matched audience
    2Segmented audience
    3Retargeted audience
    4Geofarmed audience
    5Contextual audience
    6Lookalike audience
    7Campaign audience
    8Pre-bid audience
    9Account Based Marketing (ABM) audience
    10Custom Voter audience (CVA)
    11Integrated Care Team (ICT) audience
    12Power Segment audience
  • If a subtype ID is passed, it must be valid for the vertical.
  • Data partners shown are based on active configurations.
Query parameters
audienceTypeId
integer required
Audience type ID.
Supported values
1Matched audience
2Segmented audience
3Retargeted audience
4Geofarmed audience
5Contextual audience
6Lookalike audience
7Campaign audience
8Pre-bid audience
9Account Based Marketing (ABM) audience
10Custom Voter audience (CVA)
11Integrated Care Team (ICT) audience
12Power Segment audience
audienceSubtypeIds
integer
Audience subtype IDs.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
verticalId
integer
Vertical ID.
Supported values
1Political
2Healthcare
3Specialty
active
boolean
Filter for active data partners.
Response properties
id
integer
Data partner ID.
name
string
Data partner name.
order
integer
Display order.
displayName
string
Data partner display name.
cpm
number
Cost per mille (CPM).
logoUrl
string
URL to data partner logo. null if no logo is set.
active
boolean
Indicates if the data partner is active.
Response 200
{
"success": true,
"data": [
{
"id": 7,
"name": "hl_npi_id",
"order": 6,
"displayName": "Healthlink ID",
"cpm": 10,
"logoUrl": "https://cdn.com/data_partner/hld.png",
"active": true
},
{
"id": 8,
"name": "data360_npi_id",
"order": 7,
"displayName": "Data360 ID",
"cpm": 15,
"logoUrl": "https://cdn.com/data_partner/D360.png",
"active": true
}
]
}

ABM audiences​

ABM audience details​

GET

Get Account Based Marketing (ABM) audience details by ID.

Path parameters
audienceId
integer
ABM audience ID.
Response properties
id
integer
Audience ID.
name
string
Audience name.
status
string
Audience status.
audienceTypeId
integer
Audience type ID.
Supported values
1Matched audience
2Segmented audience
3Retargeted audience
4Geofarmed audience
5Contextual audience
6Lookalike audience
7Campaign audience
8Pre-bid audience
9Account Based Marketing (ABM) audience
10Custom Voter audience (CVA)
11Integrated Care Team (ICT) audience
12Power Segment audience
createdAt
integer
Unix epoch timestamp of audience creation.
partnerName
string
Partner name.
partnerLogoUrl
string
Partner logo URL.
uniques
integer
Count of unique audiences reached.
dataCost
integer
Fees charged by the platform if the audience is used in any campaign.
filters
object
Filter criteria used to define this audience.
filter object properties
dataProviderIds
array of integers
Data provider IDs.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
accountIds
array of integers
Account IDs.
accountTypeIds
array of integers
Healthcare account type IDs.
accountSubTypeIds
array of integers
Healthcare account subtype IDs.
countryIds
array of integers
Country IDs.
stateIds
array of integers
State IDs.
cityIds
array of integers
City IDs.
titleIds
array of integers
Title IDs.
specialityIds
array of integers
Speciality IDs.
ids
array of integers
IDs.
pageNo
array of integers
Page number of retrieved data.
noOfEntries
array of integers
Number of entries returned per page.
Response 200
{
"success": true,
"data": {
"id": 1124243,
"name": "Test ABM audience",
"status": "Processing",
"audienceTypeId": 9,
"createdAt": 1739261114,
"partnerName": "Healthlink",
"partnerLogoUrl": "www.sample.com",
"uniques": 1000,
"dataCost": 10,
"healthCareDataMappingIds": [
13572,
13575,
32777
],
"filters": {
"ids": [
13572,
13575,
32777
],
"dataProviderIds": [
1
],
"healthCareSystemIds": [
1,
2,
3
],
"accountIds": [
1,
2,
3
],
"accountTypeIds": [
1,
2,
3
],
"accountSubTypeIds": [
1,
2,
3
],
"titleIds": [
1,
2,
3
],
"specialityIds": [
1,
2,
3
],
"countryIds": [
30100001
],
"stateIds": [
1,
2,
3
],
"cityIds": [
1,
2,
3
],
"pageNo": 1,
"noOfEntries": 10000
}
}
}

Create ABM audience​

POST

Create an ABM audience.

Request schema
audienceName
string
Audience name.
healthCareDataMappingIds
array of integers
Healthcare data mapping IDs to include from filters.
dataProviderId
integer
Data provider ID.
audienceSubtypeId
integer
Audience subtype ID used to refine audience columns (e.g., HCP under Healthcare vertical).
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
filters
object
Filters.
filter object properties
dataProviderIds
array of integers
Data provider IDs.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
accountIds
array of integers
Account IDs.
accountTypeIds
array of integers
Healthcare account type IDs.
accountSubTypeIds
array of integers
Healthcare account subtype IDs.
countryIds
array of integers
Country IDs.
stateIds
array of integers
State IDs.
cityIds
array of integers
City IDs.
titleIds
array of integers
Title IDs.
specialityIds
array of integers
Specialty IDs.
ids
array of integers
IDs.
pageNo
array of integers
Page number of retrieved data.
noOfEntries
array of integers
Number of entries returned per page.
audienceSubtypeIds
array of integers
Audience subtype IDs to filter the records.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
includeGenericAudience
boolean
When true, includes records with no audience subtype (subtype_id IS NULL) alongside any matched subtype IDs. Default: false.
Response properties
message
string
Success message.
Request sample
{
"audienceName": "HealthCare Innovators",
"healthCareDataMappingIds": [
1,
2,
3
],
"dataProviderId": 1,
"filters": {
"dataProviderIds": [
1
],
"healthCareSystemIds": [
40100004,
40100007
],
"accountIds": [
40208104,
40628423
],
"accountTypeIds": [
40300003
],
"accountSubTypeIds": [
40400001,
40400010
],
"countryIds": [
30100001
],
"stateIds": [
30200028,
30200043
],
"cityIds": [
30430356,
30447825,
30447952,
30448122
],
"titleIds": [
40500099
],
"specialityIds": [
40500014,
40500086
],
"ids": [
1,
2,
3
],
"pageNo": 1,
"noOfEntries": 2,
"audienceSubtypeIds": [3],
"includeGenericAudience": false
},
"audienceSubtypeId": 3
}
Response 200
{
"success": true,
"data": {
"message": "HealthCare Innovators audience created successfully"
}
}

Upload ABM filter file​

POST

Extract ABM Healthcare data filters from an uploaded file. The file is uploaded as multipart/form-data in the abmFilterFile form data field, and filter column mappings and file type are sent as query parameters.

Request schema
fileType
integer required
Type of the file being uploaded: CSV (1), Excel (2).
columns
string required
Serialized JSON mapping of file column headers to filter field names.
abmFilterFile
multipart/form-data required
File containing the ABM audience data to be filtered.
audienceSubtypeId
integer
Optional audience subtype ID used to further refine audience columns (e.g., HCP under Healthcare vertical).
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
dataPartnerId
integer
Optional data partner ID to further filter columns based on partner-specific configurations (e.g., Healthlink, RevOptimal).
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID

columns sample object
{
"Title-name": "Title",
"Account-type-name": "Account Type",
"Account-Sub-Type-Name": "Account Sub-Type",
"Health-System-Name": "Health System Name",
"Account-Name": "Account Name",
"Speciality-Name": "Speciality",
"City-Name": "City",
"State-Name": "State"
}

Response properties
healthCareFilterData
object
Object containing matched filter IDs.
healthCareFilterData object properties
healthcareSystemIds
array of integers
Set of healthcare system IDs.
healthcareAccountIds
array of integers
Set of healthcare account IDs.
accountTypeIds
array of integers
Set of account type IDs.
accountSubTypeIds
array of integers
Set of account subtype IDs.
titleIds
array of integers
Set of title IDs.
specialityIds
array of integers
Set of specialty IDs.
countryIds
array of integers
Set of country IDs.
stateIds
array of integers
Set of state IDs.
cityIds
array of integers
Set of city IDs.
matchingRate
integer
Matching rate indicating the percentage of records that matched the filters.
POST /api/v3/audience/abm/healthcare-data/filter-file HTTP/1.1
Host: api.iqm.com
Authorization: Bearer 0ed52da8-24ab-44b1-bc88-7ea03a090d24
X-IAA-OW-ID: 1
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW

------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="fileType"

1
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="columns"

{"Title-name":"Title","Account-type-name":"Account Type","Account-Sub-Type-Name":"Account Sub-Type","Health-System-Name":"Health System Name","Account-Name":"Account Name","Speciality-Name":"Speciality","City-Name":"City","State-Name":"State"}
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="abmFilterFile"; filename="abm-data.csv"
Content-Type: text/csv

[Binary CSV file data]
------WebKitFormBoundary7MA4YWxkTrZu0gW--
curl -X POST 'https://api.iqm.com/api/v3/audience/abm/healthcare-data/filter-file' \
-H "Authorization: Bearer 0ed52da8-24ab-44b1-bc88-7ea03a090d24" \
-H "X-IAA-OW-ID: 1" \
-F 'abmFilterFile=@/path/to/abm-data.csv;type=text/csv' \
-F 'fileType=1' \
-F 'columns={"Title-name":"Title","Account-type-name":"Account Type","Account-Sub-Type-Name":"Account Sub-Type","Health-System-Name":"Health System Name","Account-Name":"Account Name","Speciality-Name":"Speciality","City-Name":"City","State-Name":"State"}'
Response 200
{
"success": true,
"data": {
"healthCareFilterData": {
"healthcareSystemIds": [
1,
2,
3
],
"healthcareAccountIds": [
1,
2,
3
],
"accountTypeIds": [
1,
2,
3
],
"accountSubTypeIds": [
1,
2,
3
],
"titleIds": [
1,
2,
3
],
"specialityIds": [
1,
2,
3
],
"stateIds": [
1,
2,
3
],
"cityIds": [
1,
2,
3
]
},
"matchingRate": 95
}
}
Error 422
{
"success": false,
"errorObjects": [
{
"error": "Invalid System column provided."
}
]
}

ICT audiences​

An ICT audience is created as a group from one uploaded file. The group holds an input (primary) audience for every input audience subtype and data partner you choose, and an extension audience for every extension subtype and data partner you choose. The group has its own ID (groupId when it's created, parentId in the ICT audience group list), which isn't the ID of any audience in the group. The group is named after the audience name given at creation.

ICT audience group list​

POST

Get a list of ICT audience groups, with the audiences of each group nested under it.

  • Pagination and sorting apply to the groups, not to the audiences within a group.
  • Filters apply to the audiences: a group is returned only if at least one of its audiences matches, and only the matching audiences are listed under it.
Request schema
audienceIds
array of integers
Audience IDs to filter by.
audienceSubtypeIds
array of integers
Audience subtype IDs to filter by. Only ICT subtypes are allowed.
Supported values
3HCP
4NP/PA
5RN
6Patient
audienceStatusIds
array of integers
Audience status IDs to filter by.
Supported values
1Processing
2Pending
3Ready
4Rejected
5Deleted
6Failed
7Fetching data
8Data fetched
dataPartnerIds
array of integers
Data partner IDs to filter by.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
owIds
array of integers
Organization Workspace IDs to filter by.
searchFields
array of strings
Search terms, matched against the audience ID and name and the group ID and name.
pageNo
integer
Page number of retrieved groups.
Default: 1
noOfEntries
integer
Number of groups returned per page.
Default: 20
sortBy
string
Comma-separated sort fields, prefixed with + for ascending or - for descending order (descending if not prefixed). parentId, parentName, and createdAt order the groups; audienceId orders the audiences within a group.
Default: -parentId,+audienceId (newest group first)
Response properties
filteredAudiences
integer
Number of audiences, across all groups, matching the filters.
filteredAudienceGroups
integer
Number of groups with at least one audience matching the filters.
totalAudienceGroups
integer
Total number of groups, irrespective of the filters.
audienceGroupList
array of objects
Groups on the requested page.
audienceGroupList object properties
parentId
integer
Group ID, the groupId returned when the group was created. It isn't the ID of any audience in the group.
parentName
string
Group name.
audienceTypeId
integer
Audience type ID.
Supported values
1Matched audience
2Segmented audience
3Retargeted audience
4Geofarmed audience
5Contextual audience
6Lookalike audience
7Campaign audience
8Pre-bid audience
9Account Based Marketing (ABM) audience
10Custom Voter audience (CVA)
11Integrated Care Team (ICT) audience
12Power Segment audience
createdAt
integer
Unix epoch timestamp of group creation, in milliseconds.
audienceRematchEligible
boolean
Whether the group's input audiences are eligible for rematch.
lastRematchStatusId
integer
Status ID of the group's last rematch. Absent if never rematched.
audienceList
array of objects
Audiences of the group matching the filters.
audienceList object properties
audienceId
integer
Audience ID.
audienceName
string
Audience name.
hierarchyType
string
Whether the audience is an input audience created from the uploaded file (input) or an extension audience (extension).
audienceSubtypeId
integer
Audience subtype ID.
Supported values
3HCP
4NP/PA
5RN
6Patient
audienceStatusId
integer
Audience status ID.
Supported values
1Processing
2Pending
3Ready
4Rejected
5Deleted
6Failed
7Fetching data
8Data fetched
dataPartnerId
integer
Data partner ID.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
reach
integer
Count of unique audiences reached.
matchRate
number
Percentage of matched records.
fileTotalCount
integer
Number of rows in uploaded file.
s3FileName
string
S3 file name.
cpm
number
Cost per thousand impressions.
iqmIdTargeted
boolean
Whether the audience is targeted by IQM ID.
includedCampaignList
array of integers
IDs of campaigns that include the audience.
excludedCampaignList
array of integers
IDs of campaigns that exclude the audience.
Request sample
{
"audienceStatusIds": [3],
"audienceSubtypeIds": [3, 4],
"dataPartnerIds": [7],
"pageNo": 1,
"noOfEntries": 20,
"sortBy": "-createdAt,+audienceId",
"searchFields": ["test audience"]
}
Response 200
{
"success": true,
"data": {
"filteredAudiences": 2,
"totalAudienceGroups": 3,
"filteredAudienceGroups": 1,
"audienceGroupList": [
{
"parentId": 10452,
"parentName": "Test audience",
"audienceTypeId": 11,
"createdAt": 1787736839840,
"audienceRematchEligible": true,
"lastRematchStatusId": 1,
"audienceList": [
{
"audienceId": 1179597,
"audienceName": "Test audience_HCP_Healthlink",
"hierarchyType": "input",
"audienceSubtypeId": 3,
"audienceStatusId": 3,
"cpm": 10.0,
"iqmIdTargeted": true,
"reach": 632,
"includedCampaignList": [604127],
"excludedCampaignList": [],
"matchRate": 99.22,
"fileTotalCount": 637,
"s3FileName": "1787736856229_Sample_File_NY_HL_1.csv",
"dataPartnerId": 7
},
{
"audienceId": 1179598,
"audienceName": "Test audience_Ext_NP/PA_Healthlink",
"hierarchyType": "extension",
"audienceSubtypeId": 4,
"audienceStatusId": 3,
"cpm": 10.0,
"iqmIdTargeted": true,
"reach": 215,
"includedCampaignList": [],
"excludedCampaignList": [],
"dataPartnerId": 7
}
]
}
]
}
}

Get ICT audience group details​

GET

Get the details of an ICT audience group: its column mappings and all audiences of the group, input and extension.

Path parameter
groupId
integer
Group ID, from Create ICT audience (groupId) or the ICT audience group list (parentId).
Response properties
parentId
integer
Group ID.
parentName
string
Group name.
createdAt
integer
Unix epoch timestamp of group creation, in milliseconds.
columnMappings
array of objects
List of column mappings.
columnMappings object properties
columnId
integer
Column ID.
fileColumnName
string
Column name from uploaded file.
dataFormatId
integer
Data format ID.
Supported values
1Raw
2Hashed (MD5)
3Hashed (SHA1)
4Hashed (SHA256)
5Hashed (SHA512)
6Hashed (other)
audienceList
array of objects
All audiences of the group, input and extension.
audienceList object properties
audienceId
integer
Audience ID.
audienceName
string
Audience name.
hierarchyType
string
Whether the audience is an input audience created from the uploaded file (input) or an extension audience (extension).
audienceStatusId
integer
Audience status ID.
Supported values
1Processing
2Pending
3Ready
4Rejected
5Deleted
6Failed
7Fetching data
8Data fetched
audienceSubtypeId
integer
Audience subtype ID.
Supported values
3HCP
4NP/PA
5RN
6Patient
reach
integer
Count of unique audiences reached.
dataPartnerId
integer
Data partner ID.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
fileRowCount
integer
Number of rows in uploaded file.
cpm
number
Cost per thousand impressions.
s3FileName
string
S3 file name. Input audiences only.
s3Url
string
S3 file URL. Input audiences only, once the file upload is complete.
Response 200
{
"success": true,
"data": {
"parentId": 10452,
"parentName": "testnewAUD",
"createdAt": 1792739042490,
"columnMappings": [
{
"columnId": 3,
"fileColumnName": "phone",
"dataFormatId": 1
}
],
"audienceList": [
{
"audienceId": 1183458,
"audienceName": "testnewAUD_HCP_Healthlink",
"hierarchyType": "input",
"audienceStatusId": 3,
"audienceSubtypeId": 3,
"reach": 412,
"dataPartnerId": 7,
"fileRowCount": 5,
"cpm": 10.0,
"s3FileName": "1792739042580_ict_audience_example.csv",
"s3Url": "s3://iqm-healthcare-assets/AUDIENCE/UPLOAD/HCP/Client=205022/Audience=1183458/1792739042580_ict_audience_example.csv"
},
{
"audienceId": 1183459,
"audienceName": "testnewAUD_Ext_NP/PA_Healthlink",
"hierarchyType": "extension",
"audienceStatusId": 3,
"audienceSubtypeId": 4,
"reach": 128,
"dataPartnerId": 7,
"fileRowCount": 5,
"cpm": 10.0
}
]
}
}

Update ICT audience group name​

PATCH

Rename an ICT audience group.

Only the group name changes; the names of the audiences in the group stay the same. Group names don't have to be unique.

Path parameter
parentId
integer
Group ID, from the ICT audience group list.
Request schema
parentName
string required
New group name.
Request sample
{
"parentName": "My ICT Group"
}
Response 200
{
"success": true,
"data": {
"message": "Changes saved successfully"
}
}

Rematch ICT audience group​

PUT

Rematch every audience of an ICT audience group, input and extension. Healthcare workspaces only.

  • A group is eligible only when every input audience, except Patient audiences, is Ready or Failed. Otherwise the request is rejected.
  • A Failed audience goes back to Processing; a Ready audience stays Ready while it's rematched.
  • The rematch runs in the background.
Path parameter
groupId
integer
Group ID, from Create ICT audience (groupId) or the ICT audience group list (parentId).
Response properties
groupId
integer
Group ID.
audienceIds
array of integers
IDs of the rematched audiences.
message
string
Status message.
Response 200
{
"success": true,
"data": {
"groupId": 10452,
"audienceIds": [1179597, 1179598],
"message": "Test audience rematched successfully via Re-Match"
}
}

ICT audience subtypes and extensions​

GET

Get list of ICT audience subtypes and their supported extension subtypes.

When you create an ICT audience, use id values from audienceSubtypes as the input audience subtypes, and IDs from their extensionAudiencesSubtypes as the extension audience subtypes.

Audience subtypeSupported extension subtypes
HCP (3)NP/PA (4), RN (5), Patient (6)
NP/PA (4)RN (5), Patient (6)
Query parameters
audienceTypeIds
array of integers
Audience type IDs.
Supported values
1Matched audience
2Segmented audience
3Retargeted audience
4Geofarmed audience
5Contextual audience
6Lookalike audience
7Campaign audience
8Pre-bid audience
9Account Based Marketing (ABM) audience
10Custom Voter audience (CVA)
11Integrated Care Team (ICT) audience
12Power Segment audience
Response properties
audienceSubtypes
array of objects
List of audience subtypes.
audienceSubtypes object properties
id
integer
Audience subtype ID.
name
string
Audience subtype name.
order
integer
Display order.
displayName
string
Audience subtype display name.
extensionAudiencesSubtypes
array of objects
List of supported extension audience subtypes.
extensionAudiencesSubtypes object properties
id
integer
Extension audience subtype ID.
name
string
Extension audience subtype name.
order
integer
Display order.
displayName
string
Extension audience subtype display name.
Response 200
{
"success": true,
"data": {
"audienceSubtypes": [
{
"id": 3,
"name": "hcp",
"order": 1,
"displayName": "HCP",
"extensionAudiencesSubtypes": [
{
"id": 4,
"name": "npi_nurse",
"order": 1,
"displayName": "NP/PA"
},
{
"id": 5,
"name": "non_npi_nurse",
"order": 2,
"displayName": "RN"
},
{
"id": 6,
"name": "patient",
"order": 3,
"displayName": "Patient"
}
]
},
{
"id": 4,
"name": "npi_nurse",
"order": 2,
"displayName": "NP/PA",
"extensionAudiencesSubtypes": [
{
"id": 5,
"name": "non_npi_nurse",
"order": 1,
"displayName": "RN"
},
{
"id": 6,
"name": "patient",
"order": 2,
"displayName": "Patient"
}
]
}
]
}
}

Create ICT audience​

POST

Create an ICT audience group from an uploaded CSV or XLSX file. Send the request as multipart/form-data, with the audienceRequest JSON and the file.

  • An input audience is created for every input audience subtype and data partner combination, and an extension audience for every extension audience subtype and data partner combination. One request can create up to 20 audiences.
  • Audiences are named {audienceName}_{subtype}_{data partner} (input) and {audienceName}_Ext_{subtype}_{data partner} (extension), for example Sample xyz_Ext_RN_Audience Synergy.
  • Each data partner must be active and supported for its subtype. Get the supported data partners from Data partners list with audienceTypeId 11 and the subtype's ID.
  • Patient extension audiences are fulfilled by the IQM team and stay in Processing until they're ready.
Request schema
audienceRequest
object required
Audience request object.
audienceRequest object properties
audienceName
string required
Audience name, up to 255 characters. Also the group name, and the start of each audience's name.
inputAudience
object required
Input audiences, created from the uploaded file.
inputAudience object properties
audienceSubtypeIds
array of integers required
Audience subtype IDs of the input audiences.
Supported values
3HCP
4NP/PA
dataPartnerIds
array of integers required
Data partner IDs of the input audiences, each supported for every input subtype.
extensionAudiences
array of objects required
Extension audiences, at least one.
extensionAudiences object properties
audienceSubtypeId
integer required
Extension audience subtype ID, supported for the input subtypes. Each subtype can be given only once.
Supported values
4NP/PA
5RN
6Patient
dataPartnerIds
array of integers required
Data partner IDs of this extension subtype's audiences.
columnMappings
array of objects required
Mappings of file columns, at least one. Each column must be part of the column combination and mapped once; not every column of the combination has to be mapped.
columnMappings object properties
columnId
integer
Column ID.
fileColumnName
string
Column name from uploaded file.
dataFormatId
integer
Data format ID. Optional.
Supported values
1Raw
2Hashed (MD5)
3Hashed (SHA1)
4Hashed (SHA256)
5Hashed (SHA512)
6Hashed (other)
fileRowCount
integer required
Number of rows in uploaded file.
fileColumnCount
integer required
Number of columns in uploaded file.
columnCombinationId
integer required
Column combination ID, allowed for the input subtypes.
file
binary required
Uploaded audience file, CSV or XLSX.

Response properties
groupId
integer
ID of the new group, also its parentId in the ICT audience group list.
audienceIds
array of integers
IDs of the input audiences.
extensionAudienceIds
array of integers
IDs of the extension audiences.
message
string
Status message.
Request body
{
"audienceRequest": {
"audienceName": "Sample xyz",
"inputAudience": {
"audienceSubtypeIds": [3],
"dataPartnerIds": [7, 8]
},
"extensionAudiences": [
{
"audienceSubtypeId": 4,
"dataPartnerIds": [7]
},
{
"audienceSubtypeId": 5,
"dataPartnerIds": [8, 13]
}
],
"columnMappings": [
{
"columnId": 18,
"fileColumnName": "npi-id",
"dataFormatId": null
},
{
"columnId": 2,
"fileColumnName": "email",
"dataFormatId": 1
}
],
"fileRowCount": 5,
"fileColumnCount": 10,
"columnCombinationId": 32
},
"file": "BINARY FILE"
}
Response 200
{
"success": true,
"data": {
"groupId": 10453,
"audienceIds": [1183460, 1183461],
"extensionAudienceIds": [1183462, 1183463, 1183464],
"message": "Sample xyz: 2 input audiences and 3 extended audiences created successfully"
}
}

Geofarmed audiences​

Geofarmed audience details​

GET

Get Geofarmed audience details by ID.

Path parameter
audienceId
string
Geofarmed audience ID.
Response properties
audienceId
integer
Audience ID.
audienceName
string
Audience name.
audienceStatusId
integer
Audience status ID.
Supported values
1Processing
2Pending
3Ready
4Rejected
5Deleted
6Failed
7Fetching data
8Data fetched
createdAt
integer
Creation timestamp (epoch seconds).
reach
integer
Audience reach.
cpm
number
Cost per thousand impressions.
audienceSubtypeId
integer
Audience subtype ID.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
dataPartnerId
integer
Data partner ID.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
dataPartnerMetrics
array of objects
Data partner metrics.
dataPartnerMetrics object properties
id
integer
Data partner ID.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
reach
integer
Reach for this data partner.
frequency
integer
The frequency of visit to the geographical location.
frequencyTypeId
integer
Frequency type ID.
Supported values
1Total
2Weekly
3Monthly
startDate
integer
Unix epoch start date (seconds).
endDate
integer
Unix epoch end date (seconds).
timezoneId
integer
Timezone ID.
timeRange
object
Time range configuration (may be null).
locations
object
Locations object.
locations object properties
country
integer
Country ID.
included
object
Included locations object.
included object properties
zipCodes
array of strings
Zip codes.
customAreas
array of objects
Custom areas.
locationIds
array of integers
Location IDs.
customAreas object properties
latitude
integer
Latitude.
longitude
integer
Longitude.
radius
integer
Radius (miles).
address
string
Addresses to add to custom area.
locationId
integer
Location ID.
polypath
object
A set of coordinates defining the boundary of the custom area.
polypath object properties
lat
integer
Latitude.
lng
integer
Longitude.
isIncluded
boolean
Indicates if custom area is included in Geofarmed audience: true.
cid
string
Country abbreviation, e.g. US.
sid
string
State abbreviation, e.g. NY.
type
string
Type of custom area.
unit
string
Measurement unit for radius of area.
cdId
integer
Congressional district ID.
sdId
integer
Senate district ID.
hdId
integer
House district ID.
excluded
object
Excluded locations object.
excluded object properties
zipCodes
array of strings
Zip codes.
customAreas
array of objects
Custom areas.
locationIds
array of integers
Location IDs.
customAreas object properties
latitude
integer
Latitude.
longitude
integer
Longitude.
radius
integer
Radius (miles).
address
string
Address.
locationId
integer
Location ID.
polypath
object
A set of coordinates defining the boundary of the custom area.
polypath object properties
lat
integer
Latitude.
lng
integer
Longitude.
isIncluded
boolean
Indicates if custom area is included in Geofarmed audience: true.
cid
string
Country abbreviation, e.g. US.
sid
string
State abbreviation, e.g. NY.
type
string
Type of custom area.
unit
string
Measurement unit for radius of area.
cdId
integer
Congressional district ID.
sdId
integer
Senate district ID.
hdId
integer
House district ID.
locationFileIds
array of integers
Location file IDs.
bulkLocationDetails
object
Bulk location details object.
bulkLocationDetails object properties
fileName
string
File name.
fileType
string
File type.
validLocations
array of objects
Valid locations.
validLocations object properties
latitude
number
Latitude.
longitude
number
Longitude.
radius
number
Radius.
address
string
Address.
locationId
integer
Location ID.
cid
string
Country abbreviation, e.g. US.
sid
string
State abbreviation, e.g. NY.
cdId
integer
Congressional district ID.
sdId
integer
Senate district ID.
hdId
integer
House district ID.
isIncluded
boolean
Is included flag.
invalidLocations
null
Invalid locations.
locationRejectionReasons
null
Location rejection reasons.
campaignId
null
Campaign ID.
id
integer
ID.
rowCount
null
Row count.
invalidLocationsCount
null
Invalid locations count.
duplicateLocationsCount
null
Duplicate locations count.
Response 200
{
"success": true,
"data": {
"audienceId": 1141873,
"audienceName": "my geo check 3",
"audienceStatusId": 1,
"createdAt": 1754997589,
"reach": 14300,
"cpm": 10,
"audienceSubtypeId": 3,
"dataPartnerId": 7,
"dataPartnerMetrics": [
{
"id": 7,
"reach": 14300
},
{
"id": 10,
"reach": 14142
},
{
"id": 8,
"reach": 4989
}
],
"frequency": 1,
"frequencyTypeId": 1,
"startDate": 1752465600,
"endDate": 1752552000,
"timezoneId": 29,
"timeRange": null,
"locations": {
"included": {
"zipCodes": [
"03060"
],
"customAreas": [
{
"latitude": 36.03264396648448,
"longitude": -119.88024262579326,
"radius": 0.5,
"address": "24M9+3W Kettleman City, CA, USA",
"locationId": 0,
"cid": "US",
"sid": "CA",
"type": "circle",
"unit": "mile",
"cdId": 0,
"sdId": 0,
"hdId": 0,
"isIncluded": true
},
{
"latitude": 36.030047897646504,
"longitude": -119.85904244573955,
"radius": 0.5,
"address": "24JR+29 Kettleman City, CA, USA",
"locationId": 0,
"cid": "US",
"sid": "CA",
"type": "circle",
"unit": "mile",
"cdId": 0,
"sdId": 0,
"hdId": 0,
"isIncluded": true
},
{
"latitude": 36.03107268797965,
"longitude": -79.36266450079326,
"radius": 31.99,
"address": "Graham, NC 27253, USA",
"locationId": 0,
"polypath": [
{
"lat": 36.38721903107804,
"lng": -79.62633637579326
},
{
"lat": 35.53354668242086,
"lng": -79.97789887579326
},
{
"lat": 35.67646553441582,
"lng": -78.83532075079326
},
{
"lat": 36.52859869353844,
"lng": -78.74743012579326
}
],
"cid": "US",
"sid": "NC",
"type": "custom",
"unit": "mile",
"cdId": 0,
"sdId": 0,
"hdId": 0,
"isIncluded": true
},
{
"latitude": 34.4534306784404,
"longitude": -80.72496918829326,
"radius": 20.21,
"address": "Camden, SC 29020, USA",
"locationId": 0,
"polypath": [
{
"lat": 34.59837718611232,
"lng": -80.41735200079326
},
{
"lat": 34.59837718611232,
"lng": -81.03258637579326
},
{
"lat": 34.30848417076847,
"lng": -81.03258637579326
},
{
"lat": 34.30848417076847,
"lng": -80.41735200079326
}
],
"cid": "US",
"sid": "SC",
"type": "square",
"unit": "mile",
"cdId": 0,
"sdId": 0,
"hdId": 0,
"isIncluded": true
}
],
"locationIds": [
1252824,
1252825
]
},
"excluded": {
"zipCodes": [],
"customAreas": [],
"locationIds": []
},
"locationFileIds": [
17063
],
"country": 30100001
},
"bulkLocationDetails": {
"17063": {
"fileName": "bulk-location-example.csv",
"fileType": "location",
"validLocations": [
{
"latitude": 40.7128,
"longitude": -74.006,
"radius": 0.5,
"address": "230 Broadway, New York, NY 10007, USA",
"locationId": 1252824,
"cid": "US",
"sid": "NY",
"cdId": 0,
"sdId": 0,
"hdId": 0,
"isIncluded": true
},
{
"latitude": 36.7783,
"longitude": -119.4179,
"radius": 1,
"address": "2630 Croydon Drive, Sanger, CA 93657, USA",
"locationId": 1252825,
"cid": "US",
"sid": "CA",
"cdId": 0,
"sdId": 0,
"hdId": 0,
"isIncluded": true
}
],
"invalidLocations": null,
"locationRejectionReasons": null,
"campaignId": null,
"id": 17063,
"rowCount": null,
"invalidLocationsCount": null,
"duplicateLocationsCount": null
}
}
}
}

Create Geofarmed audience​

POST

Create a Geofarmed audience.

Request schema
audienceName
string
Audience name.
frequency
integer
The frequency of visit to the geographical location (1-10), based on frequencyTypeId.
frequencyTypeId
integer
Frequency type ID.
Supported values
1Total
2Weekly
3Monthly
timezoneId
integer
Timezone ID.
startDate
integer
Unix epoch start date, in milliseconds.
endDate
integer
Unix epoch end date, in milliseconds.
timeRange
object
Name-value pairs of day of the week (e.g. Monday: 1, Tuesday: 2, etc.) and an object containing a time range (see example below this table).
timeRangeWithTimezone
object
Alternative time range configuration with timezone support.
audienceSubtypeIds
array of integers
Audience subtype IDs.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
removedLocationsIds
array of integers
Removed location IDs, as specified in the uploaded location file.
locations
object
Locations object.
locations object properties
country
integer
Country ID.
included
object
Included locations object.
included object properties
zipCodes
array of strings
Zip codes.
customAreas
array of objects
Custom areas.
locationIds
array of integers
Location IDs.
customAreas object properties
latitude
integer
Latitude.
longitude
integer
Longitude.
radius
integer
Radius.
address
string
Address.
stateShortName
string
State short name.
countryShortName
string
Country short name.
locationId
integer
Location ID.
rejectionReason
string
Rejection reason (if applicable).
polypath
object
A set of coordinates defining the boundary of the custom area.
polypath object properties
lat
integer
Latitude.
lng
integer
Longitude.
placemarkName
string
Placemark name.
cid
string
Country abbreviation, e.g. US.
sid
string
State abbreviation, e.g. NY.
type
string
Type of custom area.
unit
string
Measurement unit for radius.
cdId
integer
Congressional district ID.
sdId
integer
Senate district ID.
hdId
integer
House district ID.
isIncluded
boolean
Indicates if custom area is included in Geofarmed audience.
excluded
object
Excluded locations object.
excluded object properties
zipCodes
array of strings
Zip codes.
customAreas
array of objects
Custom areas.
locationIds
array of integers
Location IDs.
customAreas object properties
latitude
integer
Latitude.
longitude
integer
Longitude.
radius
integer
Radius.
address
string
Address.
stateShortName
string
State short name.
countryShortName
string
Country short name.
locationId
integer
Location ID.
rejectionReason
string
Rejection reason (if applicable).
polypath
object
A set of coordinates defining the boundary of the custom area.
polypath object properties
lat
integer
Latitude.
lng
integer
Longitude.
placemarkName
string
Placemark name.
cid
string
Country abbreviation, e.g. US.
sid
string
State abbreviation, e.g. NY.
type
string
Type of custom area.
unit
string
Measurement unit for radius.
cdId
integer
Congressional district ID.
sdId
integer
Senate district ID.
hdId
integer
House district ID.
isIncluded
boolean
Indicates if custom area is excluded from Geofarmed audience.
locationFileIds
array of integers
Location file IDs.
timeRange example
"timeRange": {
"0": [
[
"19:00:00",
"22:00:00"
]
],
"1": [
[
"09:00:00",
"12:00:00"
],
[
"15:00:00",
"18:00:00"
]
],
"2": [
[
"04:00:00",
"11:00:00"
]
],
"4": [
[
"06:00:00",
"12:00:00"
]
],
"6": [
[
"01:00:00",
"10:00:00"
]
]
},

Response properties
id
integer
Audience ID.
message
string
Success message.
Request sample
{
"audienceName": "Healthcare Professionals NYC",
"frequency": 5,
"frequencyTypeId": 2,
"startDate": 1697040000,
"endDate": 1699641600,
"timezoneId": 1,
"audienceSubtypeIds": [
3,
4
],
"timeRange": {
"0": [
[
"09:00:00",
"17:00:00"
]
],
"1": [
[
"10:00:00",
"18:00:00"
]
]
},
"locations": {
"country": 1,
"included": {
"zipCodes": [
"10001",
"10002",
"10003"
],
"customAreas": [
{
"type": "circle",
"latitude": 40.7128,
"longitude": -74.006,
"radius": 5,
"unit": "mile"
}
]
},
"locationFileIds": [
123
]
}
}
Response 200
{
"success": true,
"data": {
"audienceIds": [
1142280
],
"message": "Test_aud audience created successfully"
}
}

Contextual audience​

Contextual audience details​

GET

Get Contextual audience details by ID.

Path parameter
audienceId
integer
Audience ID.
Response properties
audienceId
integer
Audience ID.
audienceName
string
Audience name.
audienceSubtypeId
integer
Audience subtype ID. Returned only for Healthcare audiences created with audienceSubtypes.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
audienceStatusId
integer
Audience status ID.
Supported values
1Processing
2Pending
3Ready
4Rejected
5Deleted
6Failed
7Fetching data
8Data fetched
cpm
number
Data cost (CPM) charged if the audience is used in a campaign. Not returned when no data cost applies.
reach
integer
Audience reach (unique users). 0 until the audience has data.
createdAt
integer
Unix epoch creation date (milliseconds).
keywords
array of strings
Keywords. Not returned when the audience has no keywords.
urls
array of strings
URLs. Not returned when the audience has no URLs.
dataCollectionMethodId
integer
Data collection method: static (1) or dynamic (2).
startDate
integer
Unix epoch start date, in milliseconds (static data collection only).
endDate
integer
Unix epoch end date, in milliseconds (static data collection only).
dataCollectionDays
integer
Number of days in the rolling data collection timeframe (dynamic data collection only).
frequency
integer
Number of times a user must visit a relevant site to be added to the audience.
dataPartnerId
integer
Data partner ID.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
Returned only when a data partner is set for the audience.
dataPartnerMetrics
array of objects
Reach per data partner. Returned only when data partner metrics are available.
dataPartnerMetrics object properties
id
integer
Data partner ID.
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
reach
integer
Reach for this data partner.
Response 200
{
"success": true,
"data": {
"audienceId": 1183825,
"audienceName": "California Politics URLs",
"audienceStatusId": 3,
"cpm": 1.5,
"createdAt": 1793036335190,
"reach": 0,
"urls": [
"https://www.iqm.com"
],
"dataCollectionMethodId": 2,
"dataCollectionDays": 20,
"frequency": 5
}
}

Create Contextual audience​

POST

Create a Contextual audience.

Data collection period: the timeframe during which a user visits the publisher(s) relevant to one or more keywords or URLs added to the Contextual audience.

info

The start date of a Contextual audience must be within the last 180 days.

Contextual audiences support a static or dynamic data collection period of up to 90 days.

Request schema
audienceName
string required
Audience name, up to 255 characters.
keywords
array of strings
Keywords to generate a Contextual audience. Send an empty array ([]) if you only use URLs.
urls
array of strings
The publisher sites visited by a user. Each URL must include a scheme (https://). Send an empty array ([]) if you only use keywords.
frequency
integer required
The number of times a user visits the publisher(s) relevant to one or more keywords or URLs added to the Contextual audience, from 1 to 10.
timezoneId
integer required
Timezone ID that sets the data collection start time.
dataCollectionMethodId
integer required
static (1): data collection over a fixed set of dates.
dynamic (2): data collection over a rolling timeframe, with data refreshes every 24 hours.
startDate
integer
Unix epoch start date, in milliseconds. Required if the data collection method is static.
endDate
integer
Unix epoch end date, in milliseconds. Required if the data collection method is static.
dataCollectionDays
integer
Number of days in the rolling data collection timeframe, up to 60. Required if the data collection method is dynamic.
audienceSubtypes
array of integers
List of audience subtype IDs to further define the Contextual audience. Healthcare workspaces only. One audience is created per subtype.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
Response properties
audienceIds
array of integers
IDs of the created audiences (one per subtype when audienceSubtypes is sent).
message
string
Success message.
Request sample
{
"audienceName": "Test_aud",
"frequency": 5,
"startDate": 1797310800000,
"endDate": 1800507599000,
"keywords": [
"Test"
],
"urls": [
"http://iqm.com"
],
"timezoneId": 29,
"dataCollectionMethodId": 1,
"audienceSubtypes": [
3,
4
]
}
Response 200
{
"success": true,
"data": {
"audienceIds": [
1183880,
1183881
],
"message": "Test_aud audience created successfully"
}
}

Campaign audiences​

Campaign audience details​

GET

Get Campaign audience details by ID.

Path parameter
audienceId
integer
Campaign audience ID.
Response properties
audienceId
integer
Audience ID.
audienceName
string
Audience name.
audienceStatusId
integer
Audience status ID.
Supported values
1Processing
2Pending
3Ready
4Rejected
5Deleted
6Failed
7Fetching data
8Data fetched
cpm
number
Cost per thousand impressions.
uniques
integer
Count of unique audiences reached.
createdAt
integer
Unix epoch creation date (milliseconds).
campaignDetails
object
Campaign details.
campaignDetails object properties
impressions
array of integers
Impressions array.
clicks
array of integers
Clicks array.
conversions
array of integers
Conversions array.
startDate
integer
Unix epoch start date (milliseconds).
endDate
integer
Unix epoch end date (milliseconds).
Response 200
{
"success": true,
"data": {
"audienceId": 119431,
"audienceName": "asdf",
"audienceStatusId": 1,
"cpm": 2.5,
"uniques": 56590,
"createdAt": 1740876000000,
"campaignDetails": {
"clicks": [],
"conversions": [],
"impressions": [
56590
]
},
"startDate": 1740816000000,
"endDate": 1753167600000
}
}

Create Campaign audience​

POST

Create a Campaign audience.

Request schema
audienceName
string
Audience name.
startDate
integer
Unix epoch start date, in milliseconds.
endDate
integer
Unix epoch end date, in milliseconds.
campaignDetails
object
Campaign details.
campaignDetails object properties
impressions
array of integers
Impressions.
clicks
array of integers
Clicks.
conversions
array of integers
Conversions.
dataPartnerId
integer
Data partner ID for cost calculation (Healthcare vertical).
Supported values
7Healthlink ID
8Data360 ID
10IQVIA ID
audienceSubtypeId
integer
Audience subtype ID, e.g., HCP, Nurse (Healthcare vertical).
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
Response properties
audienceId
integer
Audience ID.
message
string
Success message.
Request sample
{
"audienceName": "Sample audience name",
"startDate": 1638316800000,
"endDate": 1640085173000,
"campaignDetails": {
"impressions": [
1,
2
],
"clicks": [
3
],
"conversions": [
4
]
},
"dataPartnerId": 2,
"audienceSubtypeId": 4
}
Response 200
{
"success": true,
"data": {
"audienceId": 1140606,
"message": "Test campaign audience audience created successfully"
}
}

Get Campaign audience history​

POST

Get the audience history details for specified campaigns.

Request schema
campaignId
array of integers
Campaign IDs.
subTypeIds
array of integers
Audience subtype IDs.
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
historicalData
boolean
Fetches historical data (true) or current data (false).
typeIds
array of integers
Audience type IDs.
Supported values
1Matched audience
2Segmented audience
3Retargeted audience
4Geofarmed audience
5Contextual audience
6Lookalike audience
7Campaign audience
8Pre-bid audience
9Account Based Marketing (ABM) audience
10Custom Voter audience (CVA)
11Integrated Care Team (ICT) audience
12Power Segment audience
noOfEntries
integer
Number of entries per page.
pageNo
integer
Page number of retrieved data.
Response properties
totalRecords
integer
Total records count.
filteredRecords
integer
Filtered records count.
audienceDetails
array of objects
Audience details array.
audienceDetails object properties
id
integer
Audience ID.
campaignIds
array of integers
Campaign IDs.
name
string
Audience name.
audienceSubTypeId
integer
Audience subtype ID (may be null).
Supported values
1Practitioner
2D2C
3HCP
4NP/PA
5RN
6Patient
typeId
integer
Audience type ID.
Supported values
1Matched audience
2Segmented audience
3Retargeted audience
4Geofarmed audience
5Contextual audience
6Lookalike audience
7Campaign audience
8Pre-bid audience
9Account Based Marketing (ABM) audience
10Custom Voter audience (CVA)
11Integrated Care Team (ICT) audience
12Power Segment audience
Request sample
{
"campaignId": [
540050
],
"subTypeIds": [],
"historicalData": false,
"typeIds": [],
"noOfEntries": 2,
"pageNo": 1
}
Response 200
{
"success": true,
"data": {
"totalRecords": 12,
"filteredRecords": 12,
"audienceDetails": [
{
"id": 1023234,
"campaignIds": [
540050
],
"name": "MA-1 voter id",
"audienceSubTypeId": null,
"typeId": 1
},
{
"id": 1054138,
"campaignIds": [
540050
],
"name": "MA With 90 K Records And 8 Columns NYSD 3 Digital Universe Csv",
"audienceSubTypeId": null,
"typeId": 1
}
]
}
}
Have a question?
Was this page helpful?