Skip to main content

Create a List

Create a new contact list for use in campaigns.

HTTP Request

POST /v2/accounts/<account_sid>/lists

Request Parameters

ParameterRequiredDescription
nameYesUnique list name within your account
tagNoOptional tag for categorization

Response

Returns the created list with its SID, creation timestamp, and contact count.


Add Contacts to List

HTTP Request

POST /v2/accounts/<account_sid>/lists/<list_sid>/contacts

Request Parameters

ParameterDescription
contact_referencesArray of contact SIDs to add (max 5,000 per request)

Response

Returns success/failure status for each contact.


Upload Contacts via CSV

HTTP Request

POST /v2/accounts/<account_sid>/contacts/csv-upload

Request Parameters

ParameterRequiredDescription
list_nameYesTarget list name
file_nameYesLocal CSV file path
typeNo"static" or "dynamic"

Check Upload Status

GET /v2/accounts/<account_sid>/csv-status/<upload_id>

Returns upload progress: in-progress or completed, with stats on duplicates, successes, and failures.