Create a list

Create a new contact list inside a specified folder. Both the list name and the parent folder ID are required. The newly created list will be empty and ready to receive contacts via the add contacts endpoint.

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Request

Values to create a list
folderIdlongRequired
Id of the parent folder in which this list is to be created
namestringRequired
Name of the list

Response

successfully created
idlong
ID of the object created

Errors

400
Bad Request Error