Create NPI List

This endpoint allows clients to create a new NPI list to be used in your campaigns for targeting. The API user must have access to the advertiser and account you are attaching the list to.

Endpoint

Method: POST

/v2/npi/npi-list/account/accountId

**Path Parameter: **The account that the new NPI list should be associated with

Fields

Field NameData TypeRequiredNotes
nameStringYes
npisArray of StringsYeslist must have <100k elements, NPIs must not exceed 10 characters
advertisersArray of StringsYesmust be valid advertiser names in Life
applicationsEnumYes[“LIFE”], [“SIGNAL”] or [‘SOCIAL”]

Sample Request


{
 "name": "Endocrinologist_2022_1",
  "npis": ["3137933127", "3134730121"],
  "advertisers": ["Demo"],
  "applications": ["LIFE"]
}

Response

Here is a response to a successful call:

{
    "id": 70435,
    "npis": [
        "3137933127", "3134730121"
    ],
    "advertisers": [
        "Demo"
    ],
    "applications": [
        "LIFE"
    ],
    "name": "Endocrinologist_2022_1",
   

Validations/Error Messages

CodeDescription
400Invalid property name for post operation
400Invalid values for field "applications"
400npis is a required field
400Invalid NPI number
400NPI ID cannot exceed 10 characters
400advertisers is a required field
400>1M npis