Create Contact List API
Use this API to create a new contact list for use in passive voice campaigns.| Method | POST |
|---|---|
| Endpoint | https://{{host}}/agentassist/api/v1/public/{{IID}}/campaign/contactList/createContactList |
| Content-Type | application/json |
| Authorization | auth: {{JWT}} See How to generate the JWT Token. |
| API Scope | Campaign Management |
Path Parameters
| Parameter | Description | Type |
|---|---|---|
host | Environment URL, for example, https://platform.kore.ai | string, required |
IId | The Application ID. | string, required |
Sample Request
Headers
| Header | Description | Required/Optional |
|---|---|---|
auth | JWT token for authentication. | required |
iid | The Application Id. | required |
accountId | The Account Id. | required |
Body Parameters
| Parameter | Description | Type |
|---|---|---|
name | Name of the contact list. Max 48 characters. Used to identify and display the list across the platform. | string, required |
description | Description of the contact list. Max 256 characters. Should briefly explain the list’s purpose and audience. | string, required |
source | Data origin/source. Must be "passiveApi", indicating the list is populated via API rather than file/manual upload. | string, required |
allowDuplicates | Whether to allow duplicate contact entries in the list. Defaults to false if not provided. Must be a boolean value. | boolean, optional |
Sample Response
Response Body Parameters
| Parameter | Description | Type |
|---|---|---|
_id | Unique ID of the contact list | string |
name | Name of the contact list | string |
description | Description of the contact list | string |
status | Current state of the contact list. Usually Ready | string |
isActive | Indicates if the contact list is active | boolean |
totalRecordCount | Number of records currently in the list | number |
source | Source of list creation. For passive API, the value is passiveApi | string |
allowDuplicates | Indicates if duplicate contact records are allowed | boolean |
createdAt | Timestamp when the list was created (ISO format) | string |
updatedAt | Timestamp when the list was last updated (ISO format) | string |
createdBy | Internal ID of the user who created the list | string |
updatedBy | Internal ID of the user who last updated the list | string |
mapping | Field mapping for contact data | object |
apiConfigurations | Contains passive API sync configuration (for example, dataSyncMode) | object |
apiConfigurations.dataSyncMode | Describes how the API handles duplicate entries (allowDuplicates) | string |
listType | Type of list. Value is call for voice campaigns | string |
isListInUse | Indicates if the contact list is currently associated with any campaign | boolean |
campaignInUse | List of campaigns (IDs) currently using this list (empty if unused) | array |
files | List of file objects, if any uploaded via UI or API (empty for passive API) | array |