Creates a new Import associated with the Account List. This endpoint accepts a file to be uploaded using Content-Type "multipart/form-data", this makes the endpoint unique in that it does not only accept JSON content. Unless otherwise specified, the Import will be created with "in_preview" set to false, which will cause the import to begin after being created (the import runs asynchronously as a background job).
Request
Endpoint
GET /api/v2/account_lists/8839b785-bd5e-48d3-8e3c-11a94e8d402a/imports/9f0a424c-158e-449a-a1b1-a6ed37281cdc
Content-Type: application/vnd.api+json
Body
Response
Headers
Content-Type: application/vnd.api+json; charset=utf-8
200 OK
Description
Account list that this import belongs to
created_at
Typedate
Description
The timestamp of when this resource was created
file_constants
Typeobject
Description
Only applicable to CSV Import
file_constants_mappings
Typeobject
Description
Only applicable to CSV Import
file_headers
Typeobject
Description
Only applicable to CSV Import
file_headers_mappings
Typeobject
Description
Only applicable to CSV Import
file_url
Typestring
Description
A URL to download the file
group_tags
Typestring
Description
Group Tags
groups
Typestring
Description
Groups
import_by_group
Typeboolean
Description
Import by Group
in_preview
Typeboolean
Description
If import is still waiting to be imported
override
Typeboolean
Description
If import should override local contacts when importing
source
Typestring
Description
source of the contacts to import
tag_list
Typestring
Description
Comma delimited list of Tags
updated_at
Typedate
Description
The timestamp of when this resource was last updated
updated_in_db_at
Typedate
Description
This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
Relationships
sample_contacts.data
Type["SampleContact"]
Description
Collection of sample contacts based on data from the import for the user to validate import