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

Get All Lists

This API provides a list of all the users in a list.

API Details

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

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

Method:
GET

Header:

KeyValue
Content-Typeapplication/json

Parameters:

ParameterDecriptionData TypeRequiredParameter Type
activityActivity refers to the action that is being performed through the API, that is, add, delete, update, and so on.
Value here: getall
StringYesQuery Parameter
typeHere type is lists StringYesBody Parameter
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

Request:

http://api.netcoresmartech.com/apiv2?activity=getall&apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&type=lists

Response: 200 OK

{
    "status": "success",
    "results": [
        {
            "id": "23",
            "name": "testlist1",
            "created_date": "2020-01-03 13:17:21",
            "total_contact": 0
        },
        {
            "id": "22",
            "name": "Zapier List",
            "created_date": "2019-12-30 11:16:22",
            "total_contact": "2"
        },
        {
            "id": "19",
            "name": "testZap",
            "created_date": "2019-12-24 11:38:00",
            "total_contact": "6"
        },
        {
            "id": "18",
            "name": "new list gaurav2",
            "created_date": "2019-12-24 00:18:06",
            "total_contact": 0
        }
       
    ]
}