Navigate...

K

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 *

Don't have an API key?Get one at dashboard.multisender.app

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

400

Validation error

401

The request is not authorized

403

You do not have permission to access this resource

See Also

importFromCsv()

Upload a CSV file into an existing list instead

Previous

createDistributionList()

Next

Distributions

Generated Code