Skip to main content
Back to API List

Get All Contact Lists-v2

Retrieves metadata for all contact lists associated with all voice campaigns.
MethodPOST
Endpointhttps://{{host}}/campaign/api/v2/public/{{streamId}}/campaign/contactList/getAllListDetails?accountId={{accountId}}&type=call
Content-Typeapplication/json
Authorizationauth: {{JWT}} See How to generate the JWT Token.
API ScopeCampaign Management

Path Parameters

ParameterDescriptionType
hostEnvironment URL, for example, https://platform.kore.aistring, required
IIdThe Application ID.string, required

Query Parameter

ParameterDescriptionType
typeValue must be call to retrieve contact lists only.string, optional

Sample Request

curl --location 'https://{{host}}/campaign/api/v2/public/{{streamId}}/campaign/contactList/getAllListDetails?accountId={{accountId}}&type=call' \
--header 'iid: st-0603182c-7ffb-53c3-b307-47ca14bxxxxx' \
--header 'accountId: 67777ce93e25326494exxxxx' \
--header 'auth: <token>'

Headers

HeaderDescriptionRequired/Optional
authJWT token for authentication.required
iidThe Application Id.required
accountIdThe Account Id.required

Sample Response

{
    "status": "success",
    "message": "",
    "data": [
        {
            "_id": "cl-718e888-3aca-4008-973e-6d79940xxxxx",
            "name": "Renewal Due - May/June 2025",
            "description": "This list contains customers with services expiring in July 2025. It includes contact details and subscription info to help agents provide tailored support during live calls.",
            "totalRecordCount": 0,
            "status": "Ready",
            "mapping": {
                "firstName": "firstName",
                "lastName": "lastName",
                "phoneNumber": "phoneNumber",
                "timeZone": "timeZone",
                "uniqueId": "uniqueId",
                "contactPriority": "contactPriority"
            },
            "isListInUse": false,
            "listType": "call",
            "campaignInUse": [],
            "source": "passiveApi",
            "apiConfigurations": {
                "dataSyncMode": "allowDuplicates"
            },
            "columns": [],
            "files": [],
            "updatedAt": "2025-12-05T10:35:41.551Z"
        },
        {
            "_id": "cl-2259a6e-250d-4e30-95a8-9b813c1xxxxx",
            "name": "Renewal Due - July 2025",
            "description": "This list contains customers with services expiring in July 2025. It includes contact details and subscription info to help agents provide tailored support during live calls.",
            "totalRecordCount": 0,
            "status": "Ready",
            "mapping": {
                "firstName": "firstName",
                "lastName": "lastName",
                "phoneNumber": "phoneNumber",
                "timeZone": "timeZone",
                "uniqueId": "uniqueId",
                "contactPriority": "contactPriority"
            },
            "isListInUse": false,
            "listType": "call",
            "campaignInUse": [],
            "source": "passiveApi",
            "apiConfigurations": {
                "dataSyncMode": "allowDuplicates"
            },
            "columns": [],
            "files": [],
            "updatedAt": "2025-12-05T10:30:16.232Z"
        },
        {
            "_id": "cl-a87db5d-bd29-4327-ab8c-a7ac000xxxxx",
            "name": "CL Only 2020 Dec 4",
            "description": "CL Only 2020 Dec 4",
            "files": [
                {
                    "fileId": "693153a4f33d29f872fxxxxx",
                    "fileName": "contact list 2020 (with Priority).csv"
                }
            ],
            "totalRecordCount": 1,
            "status": "Validated",
            "mapping": {
                "firstName": "firstName",
                "lastName": "lastName",
                "phoneNumber": "phoneNumber",
                "timeZone": "timezone",
                "uniqueId": "",
                "contactPriority": ""
            },
            "isListInUse": false,
            "listType": "call",
            "campaignInUse": [
                {
                    "name": "Event Reminder SMS Campaign7",
                    "id": "cd-0c172a6b-2a01-5247-8e96-4e28effxxxxx"
                },
                {
                    "name": "Billing Alert Template Campaign-2",
                    "id": "cd-99d4074d-914e-5659-b4c1-09231b8xxxxx"
                },
                {
                    "name": "Interactive Support SMS Campaign1212",
                    "id": "cd-e35c04a1-52f7-5a7e-86ba-c4a6101xxxxx"
                },
                {
                    "id": "cd-62485d8-5d0b-4479-a433-37d3a4dxxxxx",
                    "name": "Product Feedback Voice Campaign-3.4"
                },
                {
                    "id": "cd-469cba4-2597-471d-b5ed-02732c2xxxxx",
                    "name": "Service Renewal Outreach Campaign6"
                },
                {
                    "id": "cd-10c85a3-57a3-4d2d-aad4-b09344axxxxx",
                    "name": "Billing Reminder Voice Campaign1"
                },
                {
                    "id": "cd-b2c1690-0a1b-497c-9326-1bdd229xxxxx",
                    "name": "Billing Reminder Voice Campaign1"
                },
                {
                    "id": "cd-071591b-95ce-43a0-83dd-73b465dxxxxx",
                    "name": "Agentless | Dec 5 | Latest Execution"
                },
                {
                    "name": "Event Reminder SMS Campaign71",
                    "id": "cd-964e76d3-2e70-51a5-bd47-b09b4d4xxxxx"
                },
                {
                    "name": "Billing Alert Template Campaign-21",
                    "id": "cd-99f05887-5638-59ef-90d9-5dc9ebdxxxxx"
                },
                {
                    "name": "Interactive Support SMS Campaign1212",
                    "id": "cd-e7110489-a30a-5d1e-80ee-f246cc8xxxxx"
                },
                {
                    "name": "Event Reminder SMS Campaign8",
                    "id": "cd-78d3f0a9-8f42-5d8c-af8d-d6a63eaxxxxx"
                }
            ],
            "source": "localDrive",
            "columns": [
                "firstName",
                "lastName",
                "phoneNumber",
                "timezone",
                "uniqueId",
                " Priority"
            ],
            "updatedAt": "2025-12-05T09:34:12.449Z"
        },
        {
            "_id": "cl-67a405c-ae3b-4a42-8cd2-5dcd699xxxxx",
            "name": "Renewal Due 1- July 2025",
            "description": "This list contains customers with services expiring in July 2025. It includes contact details and subscription info to help agents provide tailored support during live calls.",
            "totalRecordCount": 0,
            "status": "Ready",
            "mapping": {
                "firstName": "firstName",
                "lastName": "lastName",
                "phoneNumber": "phoneNumber",
                "timeZone": "timeZone",
                "uniqueId": "uniqueId",
                "contactPriority": "contactPriority"
            },
            "isListInUse": false,
            "listType": "call",
            "campaignInUse": [],
            "source": "passiveApi",
            "apiConfigurations": {
                "dataSyncMode": "allowDuplicates"
            },
            "columns": [],
            "files": [],
            "updatedAt": "2025-12-05T09:22:51.001Z"
        },
        {
            "_id": "cl-0b6c38b-342d-4d65-91c5-d55aec8xxxxx",
            "name": "API List | Dec 5",
            "description": "API List | Dec 5",
            "files": [
                {
                    "fileId": "6932945892331438e86xxxxx",
                    "fileName": "contact list 2020 (with Priority).csv"
                }
            ],
            "totalRecordCount": 1,
            "status": "Validated",
            "mapping": {
                "firstName": "firstName",
                "lastName": "",
                "phoneNumber": "phoneNumber",
                "timeZone": "",
                "uniqueId": "",
                "contactPriority": ""
            },
            "isListInUse": false,
            "listType": "call",
            "campaignInUse": [],
            "source": "localDrive",
            "columns": [
                "firstName",
                "lastName",
                "phoneNumber",
                "timezone",
                "uniqueId",
                " Priority"
            ],
            "updatedAt": "2025-12-05T08:14:29.673Z"
        },
        {
            "_id": "cl-94380b8-8a99-487c-a852-3c9393cxxxxx",
            "name": "Renewal Due - Nov 2025",
            "description": "This list contains customers with services expiring in July 2025. It includes contact details and subscription info to help agents provide tailored support during live calls.",
            "totalRecordCount": 0,
            "status": "Ready",
            "mapping": {
                "firstName": "firstName",
                "lastName": "lastName",
                "phoneNumber": "phoneNumber",
                "timeZone": "timeZone",
                "uniqueId": "uniqueId",
                "contactPriority": "contactPriority"
            },
            "isListInUse": false,
            "listType": "call",
            "campaignInUse": [],
            "source": "passiveApi",
            "apiConfigurations": {
                "dataSyncMode": "allowDuplicates"
            },
            "columns": [],
            "files": [],
            "updatedAt": "2025-12-04T10:03:02.550Z"
        }
    ]
}

Response Parameters

ParameterDescriptionType
statusIndicates whether the API call was successful.string
messageOptional message describing the result of the operation.string
dataArray of contact list objects.array
data[]._idUnique identifier of the contact list.string
data[].nameName of the contact list.string
data[].descriptionDescription of the contact list.string
data[].totalRecordCountNumber of contacts in the list.number
data[].statusCurrent status of the contact list (for example, Ready).string
data[].mappingObject that maps fields in the contact list to expected keys.object
data[].mapping.firstNameMapping for the contact’s first name.string
data[].mapping.lastNameMapping for the contact’s last name.string
data[].mapping.phoneNumberMapping for the contact’s phone number.string
data[].mapping.timeZoneMapping for the contact’s timezone.string
data[].mapping.uniqueIdMapping for the contact’s unique identifier.string
data[].isListInUseIndicates whether the list is currently in use in a campaign.boolean
data[].listTypeType of contact list (call, sms, etc.).string
data[].campaignInUseArray of campaign IDs currently using this contact list.array
data[].sourceSource of the contact list (passiveApiIntegration, upload, etc.).string
data[].apiConfigurationsConfiguration related to API data syncing.object
data[].apiConfigurations.dataSyncModeMode for syncing data (for example, allowDuplicates).string
data[].filesList of uploaded files associated with the contact list.array
data[].updatedAtTimestamp of the last update to the contact list (ISO 8601 format).string