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

EU IDC:
https://jsonapi.eu-north-1.eu.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 CEE panel. Log in to your CEE 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
idYou can pass the specific list id in order to get the info of the list.IntNoQuery Parameter
listnameYou can pass the actual list name in order to get the info of the list.StringNoQuery Parameter

Request:

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

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
        }
       
    ]
}
{
    "status": "success",
    "results": [
        {
            "id": "23",
            "name": "testlist1",
            "created_date": "2020-01-03 13:17:21",
            "total_contact": 0
        }
      ]
}