Skip to Content

The AddressListBatchResult type of the TypeScript SDK, which accountAddressLists.addEntries and 3 more methods take or answer.

type AddressListBatchResult = {
  added: number
  invalid: string[]
  invalidCount?: number
}

Fields

FieldTypeDescription
addednumberCount of new patterns added to the list
invalidstring[]List of invalid pattern strings that could not be added (a CSV import reports at most the first 100)
invalidCountnumberOptional. Total invalid rows when the list above was truncated (CSV import only)

Used by

MethodWhat it does
accountAddressLists.addEntriesAdd multiple patterns to an address list
accountAddressLists.importEntriesImport patterns into an address list from CSV
mailboxAddressLists.addEntriesAdd multiple patterns to an address list
mailboxAddressLists.importEntriesImport patterns into an address list from CSV

On this page