Navigate...
Import CSV Distribution
sdk.lists.importCsvDistribution(req)
Create a new recipient list from a CSV string. Combines list creation and CSV import in one step — no file upload needed. Supports customizable delimiters, header detection, and row skipping.
API key required to run methods
API Key *
Base URL
request.name
string
required
List name
Name
request.notes
string
optional
Optional notes
Notes (optional)
CSV Data
address,amount (one per line)
request.delimiter
string
optional
Column delimiter (default: ",")
Delimiter (optional)
request.skipRows
number
optional
Number of rows to skip from the beginning
Skip Rows (optional)
request.hasHeader
boolean
optional
Whether CSV has a header row to skip (default: false)
Has Header (optional)
Returns
DistributionListCreateResult
Created list with import statistics
list
RecipientList
Created list with id, name, totalItems, etc.
added
number
Number of recipients successfully imported
errors
string[]
Validation error messages for failed rows
Errors
Validation error
The request is not authorized
You do not have permission to access this resource
See Also
createDistributionList()
Create from JSON data instead of CSV
importFromCsv()
Upload a CSV file into an existing list instead
Generated Code