These docs are for v1.0. Click to read the latest docs for v2.0.

Create List

This API is used to create list in Smartech.

Details

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

Indian IDC:
https://apiin.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 Smartech panel. Log in to your Smartech 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
}