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:
Key | Value |
---|---|
Content-Type | application/json |
Parameters:
Parameter | Decription | Data Type | Required | Parameter Type |
---|---|---|---|---|
activity | Activity refers to the action that is being performed through the API, that is, add, delete, update, and so on. Value here: getall | String | Yes | Query Parameter |
type | Here type is lists | String | Yes | Body Parameter |
apikey | You 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. | String | Yes | Query Parameter |
id | You can pass the specific list id in order to get the info of the list. | Int | No | Query Parameter |
listname | You can pass the actual list name in order to get the info of the list. | String | No | Query 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
}
]
}
Updated about 1 month ago