Create List

This API is used to create list in Netcore CE.

Details

URL Schema:
US IDC:
https://api.netcoresmartech.com/apiv2

Indian IDC:
https://apiin.netcoresmartech.com/apiv2

EU IDC:
https://jsonapi.eu-north-1.eu.netcoresmartech.com/apiv2

Method:
POST

Header:

KeyValue
Content-Typeapplication/x-www-form-urlencoded

Parameters:

ParameterDescriptionData TypeRequiredParameter Type
activityActivity refers to the action that is being performed through the API, that is, add, delete, update, and so on.
Value here: add
StringYesQuery Parameter
listnameThe name of the list that you are creating.StringYesBody Parameter
descAny description of the list that you may want to specify.StringOptional
apikeyYou can obtain the API key from the Netcore CE panel. Log in to your Netcore CE panel and go to Admin. Enable the API Mode in Account Configuration under Advance details. Now, go to Sub Admin and click Edit on your user name. You can view your API key here.stringYesQuery Parameter
typeIt represents the module or group the API belongs to. For example, if the API 's functionality is related to Contacts, type is 'contact'.

value here: lists
stringYesQuery Parameter

Request:

http://api.netcoresmartech.com/apiv2?type=lists&activity=add&apikey=xxxxxxxxxxxxxxxxxxx&listname=abcd&desc=abcd

Response: 200 OK

{
    "status": "success",
    "details": "List added successfully",
    "id": xx
}