Create a New List

This endpoint allows you to upload a file to create a new list in the account.

Parameters

Name Parameter
Type
Allow
Multiple
Required/
Optional
Data Type Description
Authorization: Header false required String Insert your generated access token.
("Bearer {access token}")
listname form false required string Specify a unique name for the list.
foldername form false optional string Specify the folder name to store the list. Lists are stored in the default folder by default.
headings form false Optional String Does the first row of the source data contain a heading?
("Y","N")
fieldseparator form false Optional String Set field separator character
("COMMA", "SEMICOLON" )
quotecharacter form false required String Set field quote character
("NONE", "SINGLE_QUOTE", "DOUBLE_QUOTE")
uploadspecs form false required String A JSON formatted object to describe the structure of the list that is being created.
Body false optional File The file to upload (in CSV format).

Parameter Notes

uploadspecs

Please see the uploadspecs page to learn how to format your uploadspecs.

Response

Code Examples

cURlPython