List.Create

Description

Creates a new subscriber list.

Request Parameters

SessionID = {string} (required)
Session ID which is needed to authenticate the access. It's optional and required for desktop applications only
Command = {List.Create} (required)
API Command
ResponseFormat = {JSON | XML} (required)
Response format
JSONPCallBack = {bool}
Send this parameter for cross-domain. More info about JSONP can be found here: http: //en.wikipedia.org/wiki/JSON#JSONP
SubscriberListName = {string} (required)
Name of the subscriber list to be created.

Response Parameters

Success = {true | false}
States if there is an error or not
ErrorCode = {integer}
If there is an error, error's code
ListID = {integer}
ID of the new subscriber list

Error Codes

1
Subscriber list name is missing
2
There is already a subscriber list with given name
3
Allowed list amount exceeded
99998
Authentication failure or session expired
99999
Not enough privileges