GET /contact_imports/new

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/contact_imports/new

Build Blacklist File with defaults.

Return a new, unsaved blacklist import pre-filled with defaults.

Params

Param name Description
name
Optional Blank value allowed

Name

  • Must be a String

import_file
Optional Blank value allowed

The file containing phone numbers to block or unblock, used when select_import_type is file.

  • Must be a valid file upload.

apply_block_or_unblock
Optional Blank value allowed

Apply Block Or Unblock

  • Must be one of: block, unblock.

select_import_type
Optional Blank value allowed

Upload Import File Or Text

  • Must be one of: file, text_blob.

import_file_blob
Optional Blank value allowed

Text Blob

  • Must be a String

data_map_caller_id
Optional Blank value allowed

The column header from your uploaded file that contains the phone numbers to block or unblock.

  • Must be a String