Skip to main content

Endpoint

This is the first of the two calls that store a list. It stages the file and returns an asset id; Create an audience then turns that id into a reusable audience.
This endpoint takes multipart/form-data, not JSON, so it is the one call in this API you cannot build from the OpenAPI schema.

Request

Send the CSV as multipart form data under the field name file.
The file must parse as a CSV and at least one field in the first 50 rows must look like a recipient — an E.164 phone number or a BSUID. A file that parses but names nobody is rejected, so this endpoint cannot be used as general file storage.

Response

Pass entity.id as csvAssetId when you create the audience.
The file is stored privately. It is not published to a CDN and is not reachable without your credentials — which is why recipient lists go through this route rather than the general asset upload.

Errors

Next step

Create an audience

Turn the asset id into a stored, reusable recipient list.