POST /contact_imports

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

Create Blacklist File.

Upload a file or paste a text blob of phone numbers to bulk block or unblock, as set by apply_block_or_unblock. The import is validated on save and then processed asynchronously.

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

description
Optional Blank value allowed

A human readable description of this import.

  • Must be a String