Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 2.45 KB

RequestContactImport.md

File metadata and controls

19 lines (15 loc) · 2.45 KB

RequestContactImport

Properties

Name Type Description Notes
fileUrl 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]
fileBody 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]
jsonBody map[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]
listIds int[] Mandatory if newList is not defined. Ids of the lists in which the contacts shall be imported. For example, [2, 4, 7]. [optional]
notifyUrl string URL that will be called once the import process is finished. For reference, https://help.sendinblue.com/hc/en-us/articles/360007666479 [optional]
newList \SendinBlue\Client\Model\RequestContactImportNewList [optional]
emailBlacklist bool To blacklist all the contacts for email [optional] [default to false]
smsBlacklist bool To blacklist all the contacts for sms [optional] [default to false]
updateExistingContacts bool To facilitate the choice to update the existing contacts [optional] [default to true]
emptyContactsAttributes bool 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]

[Back to Model list] [Back to API list] [Back to README]