Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 2.32 KB

RequestContactImport.md

File metadata and controls

17 lines (14 loc) · 2.32 KB

SibApiV3Sdk::RequestContactImport

Properties

Name Type Description Notes
file_url String Mandatory if fileBody or jsonBody is not defined. URL of the file to be imported (no local file). Possible file formats: .txt, .csv, .json [optional]
file_body String Mandatory if fileUrl and jsonBody is not defined. CSV content to be imported. Use semicolon to separate multiple attributes. Maximum allowed file body size is 10MB . However we recommend a safe limit of around 8 MB to avoid the issues caused due to increase of file body size while parsing. Please use fileUrl instead to import bigger files. [optional]
json_body Array<Hash<String, Object>> Mandatory if fileUrl and fileBody is not defined. JSON content to be imported. Maximum allowed json body size is 10MB . However we recommend a safe limit of around 8 MB to avoid the issues caused due to increase of json body size while parsing. Please use fileUrl instead to import bigger files. [optional]
list_ids Array<Integer> Mandatory if newList is not defined. Ids of the lists in which the contacts shall be imported. For example, [2, 4, 7]. [optional]
notify_url String URL that will be called once the import process is finished. For reference, https://help.sendinblue.com/hc/en-us/articles/360007666479 [optional]
new_list RequestContactImportNewList [optional]
email_blacklist BOOLEAN To blacklist all the contacts for email [optional] [default to false]
sms_blacklist BOOLEAN To blacklist all the contacts for sms [optional] [default to false]
update_existing_contacts BOOLEAN To facilitate the choice to update the existing contacts [optional] [default to true]
empty_contacts_attributes BOOLEAN To facilitate the choice to erase any attribute of the existing contacts with empty value. emptyContactsAttributes = true means the empty fields in your import will erase any attribute that currently contain data in SendinBlue, & emptyContactsAttributes = false means the empty fields will not affect your existing data ( only available if `updateExistingContacts` set to true ) [optional] [default to false]