Reference
Lists
Materialised, downloadable record sets. Build from an audience, upload from CSV, or append enrichment columns to an existing list.
Create an audience list
/api/v1/lists
Create a list from an audience query. You can specify which fields to include in the output and how many records to include. The list will be submitted for processing and you can check its status using the get list endpoint. Once ready, you can download it using the file_url. list_suppression_ids must be lists in your account, or the request returns 422.
See Filters, Deduplication, List suppression, and Request modifiers.
Body parameters
name
string
Required
The name of the list
data_source_id
integer
Required
ID of the data source to query
select_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual
Record selection strategy for deduplication: - address_zip: Match on address + zip code - last_address_zip: Match on last name + address + zip - name_address_zip: Match on full name + address + zip - phone: Match on phone number - email: Match on email address - mkey: Match on company identifier - individual: Match on individual identifier
phones
all | none
Phone number selection criteria: - all: Include all phone numbers - none: Exclude phone numbers
phone_type
none | landline | wireless | landline_priority | wireless_priority
Phone number type preference: - none: No type preference - landline: Landline numbers only - wireless: Wireless/mobile numbers only - landline_priority: Prefer landline numbers - wireless_priority: Prefer wireless/mobile numbers On Business, wireless means the number is in a carrier wireless block or was ported to wireless. Landline means any other valid US number, so it can include VoIP and numbers the carrier tables don't cover. Some data sources have untyped phones: Business ID, Business Combined, Business Email, Business Mortgage and Consumer Geo (and Business while its phone types are not yet available). On these, wireless_priority and landline_priority count as plain phones, the same result as none. Strict landline or wireless returns 422 with `phone_type "<type>" is not available for data source "<name>" (phones are not typed); use "none"`.
phone_score
integer | null
Minimum phone quality score (0-100)
dnc
boolean
Leave out numbers on the Do Not Call list. With phones required, records whose phone is on the list are dropped; otherwise records are kept and their DNC numbers come back blank in phone columns. Always on for accounts that enforce the DNC scrub, whatever this value says.
emails
all | none
Email selection criteria: - all: Include all emails - none: Exclude emails
filters
array<object>
Array of filter criteria to apply
output_field_keys
array<string>
Required
Array of field keys to include in output
record_count
integer | null
Maximum number of records to include in list
list_suppression_ids
array | null
IDs of lists to suppress from results. Each must be a list in your account that is not withdrawn. Any other id, one that does not exist or belongs to another account included, or a value that is not an array of list ids, returns 422 with a `list_suppression_ids` error and nothing is saved.
match_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | null
Match type for deduplication
Response fields
id
integer
Unique identifier for the list
name
string
The name of the list
list_type
audience | uploaded | append
Type of list: - audience: Created from an audience query - uploaded: Uploaded CSV/file - append: Created by appending data to another list
data_source_id
integer | null
ID of the data source
status
submitted | processing | ready | failed | cancelled
List processing status: - submitted: List has been queued for processing - processing: List is currently being processed - ready: List is complete and ready for download - failed: List processing failed (check error_message) - cancelled: List processing was cancelled by user
error_message
string | null
Why the list failed, when status is failed. For a problem in the uploaded CSV it names the row (the header is row 1), what is wrong and how to fix it.
filters
array<object>
Applied filter criteria (for audience lists)
output_field_keys
array | null
Field keys included in output
record_count
integer | null
Number of records in the list
file_url
string | null
Download URL for the list (available when status is ready; null when list downloads are switched off for the account's API user). The link expires after 15 minutes; fetch the list again for a fresh one.
phones
all | none
Phone number selection criteria: - all: Include all phone numbers - none: Exclude phone numbers
phone_type
none | landline | wireless | landline_priority | wireless_priority | null
phone_score
integer | null
Minimum phone quality score
dnc
boolean | null
Do Not Call filtering enabled
emails
all | none
Email selection criteria: - all: Include all emails - none: Exclude emails
select_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | null
match_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | null
available_match_types
array<address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | vin>
Match types this list's mapped columns support, usable as a suppression or include match field. `vin` appears when the list maps a VIN column.
list_suppression_ids
array<integer>
IDs of suppressed lists
column_mappings
object | null
Column mappings for uploaded lists
first_line
string | null
Header row of the uploaded file; for an Excel file, its first visible sheet's header as CSV
append_input_fields
array | null
Input fields used for append operation
append_output_fields
array | null
Output fields added by append operation
append_data_source_id
integer | null
Data source ID used for append operation
append_fill
boolean | null
Whether fill was enabled for append operation
max_matches
integer | null
Maximum matches per record for append operation
original_list_id
integer | null
ID of the original list for append operations
created_at
string
Timestamp when list was created
updated_at
string
Timestamp when list was last updated
Upload a list
/api/v1/lists/upload
Upload a CSV or Excel (.xlsx, .xls) file to create a list that can be used for suppression or matching. The file should have a header row and you must provide column mappings to map its columns to system fields. An Excel file is read from its first visible sheet, converted to CSV: text cells keep leading zeros, dates become ISO 8601 and formulas their calculated value. Excel files can be up to 100 MB (.xlsx) or 20 MB (.xls). A workbook that is too large, can't be read or holds more data than can be converted is refused with a 422 whose `errors.file` explains why; save it as CSV and upload that instead. Any other binary file, such as a macro-enabled (.xlsm) or binary (.xlsb) workbook, is refused with a 422 whose `errors.file` is `unsupported file type`. When `first_line` is not sent, a CSV's header row is read from the file in plain ASCII: accented letters become their base letters (`compañía` becomes `compania`, `ß` becomes `ss`) and other non-ASCII characters are removed.
Body parameters
name
string
Required
The name of the uploaded list
file
string
Required
CSV or Excel (.xlsx, .xls) file to upload
column_mappings
object
Required
Mapping of field names to zero-based column indices. Email and phone accept exactly one representation each — plaintext, MD5, or SHA-256; mapping more than one of `email`/`email_md5`/`email_sha256` (or the phone equivalents) is rejected.
Response fields
id
integer
Unique identifier for the list
name
string
The name of the list
list_type
audience | uploaded | append
Type of list: - audience: Created from an audience query - uploaded: Uploaded CSV/file - append: Created by appending data to another list
data_source_id
integer | null
ID of the data source
status
submitted | processing | ready | failed | cancelled
List processing status: - submitted: List has been queued for processing - processing: List is currently being processed - ready: List is complete and ready for download - failed: List processing failed (check error_message) - cancelled: List processing was cancelled by user
error_message
string | null
Why the list failed, when status is failed. For a problem in the uploaded CSV it names the row (the header is row 1), what is wrong and how to fix it.
filters
array<object>
Applied filter criteria (for audience lists)
output_field_keys
array | null
Field keys included in output
record_count
integer | null
Number of records in the list
file_url
string | null
Download URL for the list (available when status is ready; null when list downloads are switched off for the account's API user). The link expires after 15 minutes; fetch the list again for a fresh one.
phones
all | none
Phone number selection criteria: - all: Include all phone numbers - none: Exclude phone numbers
phone_type
none | landline | wireless | landline_priority | wireless_priority | null
phone_score
integer | null
Minimum phone quality score
dnc
boolean | null
Do Not Call filtering enabled
emails
all | none
Email selection criteria: - all: Include all emails - none: Exclude emails
select_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | null
match_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | null
available_match_types
array<address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | vin>
Match types this list's mapped columns support, usable as a suppression or include match field. `vin` appears when the list maps a VIN column.
list_suppression_ids
array<integer>
IDs of suppressed lists
column_mappings
object | null
Column mappings for uploaded lists
first_line
string | null
Header row of the uploaded file; for an Excel file, its first visible sheet's header as CSV
append_input_fields
array | null
Input fields used for append operation
append_output_fields
array | null
Output fields added by append operation
append_data_source_id
integer | null
Data source ID used for append operation
append_fill
boolean | null
Whether fill was enabled for append operation
max_matches
integer | null
Maximum matches per record for append operation
original_list_id
integer | null
ID of the original list for append operations
created_at
string
Timestamp when list was created
updated_at
string
Timestamp when list was last updated
Get a list
/api/v1/lists/:id
Get details about a specific list. When the list is ready to download, the file_url attribute will contain a download link. An order file that has been withdrawn returns 404 until it is restored.
Path parameters
id
integer
Required
List ID
Response fields
id
integer
Unique identifier for the list
name
string
The name of the list
list_type
audience | uploaded | append
Type of list: - audience: Created from an audience query - uploaded: Uploaded CSV/file - append: Created by appending data to another list
data_source_id
integer | null
ID of the data source
status
submitted | processing | ready | failed | cancelled
List processing status: - submitted: List has been queued for processing - processing: List is currently being processed - ready: List is complete and ready for download - failed: List processing failed (check error_message) - cancelled: List processing was cancelled by user
error_message
string | null
Why the list failed, when status is failed. For a problem in the uploaded CSV it names the row (the header is row 1), what is wrong and how to fix it.
filters
array<object>
Applied filter criteria (for audience lists)
output_field_keys
array | null
Field keys included in output
record_count
integer | null
Number of records in the list
file_url
string | null
Download URL for the list (available when status is ready; null when list downloads are switched off for the account's API user). The link expires after 15 minutes; fetch the list again for a fresh one.
phones
all | none
Phone number selection criteria: - all: Include all phone numbers - none: Exclude phone numbers
phone_type
none | landline | wireless | landline_priority | wireless_priority | null
phone_score
integer | null
Minimum phone quality score
dnc
boolean | null
Do Not Call filtering enabled
emails
all | none
Email selection criteria: - all: Include all emails - none: Exclude emails
select_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | null
match_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | null
available_match_types
array<address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | vin>
Match types this list's mapped columns support, usable as a suppression or include match field. `vin` appears when the list maps a VIN column.
list_suppression_ids
array<integer>
IDs of suppressed lists
column_mappings
object | null
Column mappings for uploaded lists
first_line
string | null
Header row of the uploaded file; for an Excel file, its first visible sheet's header as CSV
append_input_fields
array | null
Input fields used for append operation
append_output_fields
array | null
Output fields added by append operation
append_data_source_id
integer | null
Data source ID used for append operation
append_fill
boolean | null
Whether fill was enabled for append operation
max_matches
integer | null
Maximum matches per record for append operation
original_list_id
integer | null
ID of the original list for append operations
created_at
string
Timestamp when list was created
updated_at
string
Timestamp when list was last updated
Append data to a list
/api/v1/lists/:id/append
Append additional fields from a data source to an existing list. This is a premium feature that must be enabled on your account. The source list must be in "ready" status. The appended list becomes a new list with list_type of "append", and the source list remains unchanged. Appended lists can themselves be appended to for progressive enrichment. Matching on `address` compares the full delivery line. Data sources that keep apartment and suite numbers on a second address line have both lines compared against both of the list's mapped address columns, so records with a unit number match the same way records without one do. The data source must be one listed by GET /data_sources for your account; any other id returns 404, the same as an id that does not exist. A token acting as a Giant Partners staff user can append from any data source. An account can be limited to a subset of appendable fields. When that limit is set, any `output_fields` outside it are rejected with a 422 and an `append_output_fields` error.
See Deduplication and Request modifiers.
Path parameters
id
integer
Required
List ID to append to
Body parameters
name
string | null
Custom name for appended list (defaults to "{original_list_name} - Appended")
input_fields
array<first_name | last_name | address | city | state | zip | county | phone | email>
Required
Fields from source list to use for matching. When `address` is selected and the data source stores apartment and suite numbers on a second address line, the whole delivery line is matched: the list's address line 2 column is included automatically, so it does not need to be listed here.
data_source_id
integer
Required
ID of the data source to append from: one listed by GET /data_sources for your account. Any other id returns 404, the same as an id that does not exist.
output_fields
array<string>
Required
Field keys from data source to append
select_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | null
Match type to use when matching records
phone_type
none | landline | wireless | landline_priority | wireless_priority | null
Type of phone number to append when `phone` is included in output_fields
max_matches
integer
Maximum number of matches to return per record
fill
boolean
Fill in missing input field data using matched records
dnc
boolean
Leave out numbers on the Do Not Call list. With phones required, records whose phone is on the list are dropped; otherwise records are kept and their DNC numbers come back blank in phone columns. Always on for accounts that enforce the DNC scrub, whatever this value says.
Response fields
id
integer
Unique identifier for the list
name
string
The name of the list
list_type
audience | uploaded | append
Type of list: - audience: Created from an audience query - uploaded: Uploaded CSV/file - append: Created by appending data to another list
data_source_id
integer | null
ID of the data source
status
submitted | processing | ready | failed | cancelled
List processing status: - submitted: List has been queued for processing - processing: List is currently being processed - ready: List is complete and ready for download - failed: List processing failed (check error_message) - cancelled: List processing was cancelled by user
error_message
string | null
Why the list failed, when status is failed. For a problem in the uploaded CSV it names the row (the header is row 1), what is wrong and how to fix it.
filters
array<object>
Applied filter criteria (for audience lists)
output_field_keys
array | null
Field keys included in output
record_count
integer | null
Number of records in the list
file_url
string | null
Download URL for the list (available when status is ready; null when list downloads are switched off for the account's API user). The link expires after 15 minutes; fetch the list again for a fresh one.
phones
all | none
Phone number selection criteria: - all: Include all phone numbers - none: Exclude phone numbers
phone_type
none | landline | wireless | landline_priority | wireless_priority | null
phone_score
integer | null
Minimum phone quality score
dnc
boolean | null
Do Not Call filtering enabled
emails
all | none
Email selection criteria: - all: Include all emails - none: Exclude emails
select_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | null
match_type
address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | null
available_match_types
array<address_zip | last_address_zip | name_address_zip | phone | email | mkey | individual | vin>
Match types this list's mapped columns support, usable as a suppression or include match field. `vin` appears when the list maps a VIN column.
list_suppression_ids
array<integer>
IDs of suppressed lists
column_mappings
object | null
Column mappings for uploaded lists
first_line
string | null
Header row of the uploaded file; for an Excel file, its first visible sheet's header as CSV
append_input_fields
array | null
Input fields used for append operation
append_output_fields
array | null
Output fields added by append operation
append_data_source_id
integer | null
Data source ID used for append operation
append_fill
boolean | null
Whether fill was enabled for append operation
max_matches
integer | null
Maximum matches per record for append operation
original_list_id
integer | null
ID of the original list for append operations
created_at
string
Timestamp when list was created
updated_at
string
Timestamp when list was last updated