{"info":{"_postman_id":"a1a4ec8f-9e25-46b5-8b29-46143da47c3a","name":"BPCC List Management API v3.1","description":"<html><head></head><body><h2 id=\"overview\">Overview</h2>\n<p>Bright Pattern's List Management API supports a wide range of functionalities previously only accessible within the <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UserInterface/AboutUserInterface\">Contact Center Administrator application</a>. Version 3.1 delivers expanded list and campaign management functionality, introducing comprehensive API support for Do Not Call (DNC) lists and improved methods for accessing Calling List records.</p>\n<p>Bright Pattern's List Management API 3.1 enables you to:</p>\n<ul>\n<li><p>Manage outbound campaigns, including their DNC list <em>(new*)</em> and calling list associations</p>\n</li>\n<li><p>Update outbound campaign states, access their information, and view their results</p>\n</li>\n<li><p>Create new lists and new formats</p>\n</li>\n<li><p>View and update <em>(new*)</em> calling list properties</p>\n</li>\n<li><p>Manage calling list and DNC list records individually or in bulk</p>\n</li>\n<li><p>Retrieve the contents of Calling Lists not associated with campaigns <em>(new*)</em></p>\n</li>\n<li><p>Create, retrieve, update, and delete DNC lists <em>(new*)</em></p>\n</li>\n</ul>\n<p><strong>Note:</strong> To ensure compatibility with the last API version and facilitate seamless migration, all previously available methods are retained as is. However, methods with a \"DEPRECIATED\" tag in their name are not recommended for usage and have new corresponding methods defined for their respective functionalities.</p>\n<p>This document describes the available REST API methods, specifies their functionality, and provides example requests and responses. Individual methods, as well as the entire List Management API 3.1 collection, can be loaded into Postman and interacted with via your unique Bright Pattern Contact Center access token.</p>\n<p><em>new* - added since List API 3.0</em></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"8336025","collectionId":"a1a4ec8f-9e25-46b5-8b29-46143da47c3a","publishedId":"2sB3WmV3UC","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-10-29T02:43:41.000Z"},"item":[{"name":"Authentication","item":[{"name":"Get Access Token","id":"d62af794-1c58-4d8e-acb2-eb8fc197b22a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"Username ","type":"text"},{"key":"client_secret","value":"API secret","type":"text"},{"key":"scope","value":"<tenant_URL>","type":"text"},{"key":"grant_type","value":"client_credentials","type":"text"}]},"url":"https://<tenant_URL>/configapi/v3/oauth/token","description":"<p>This method returns an access token that will be used to authenticate each subsequent request made via this API.</p>\n<p><strong>Note:</strong> Access Tokens expire after 1 hour and require renewal.</p>\n<p>Supplementing invalid credentials in any of the parameters will return a <code>401 Authentification failed</code> response. Client authentification will also fail if the selected user is locked out or disabled, or the chosen tenant is inactive.</p>\n<p><strong>Note:</strong> Clients are authenticated using <a href=\"https://datatracker.ietf.org/doc/html/rfc6749#section-4.4\">OAuth 2.0 Client Credentials Grant</a>, therefore, the<code>grant_type</code> parameter is always set to 'client_credentials'. Examples of other parameter values can be found in the Request body below.</p>\n","urlObject":{"protocol":"https","path":["configapi","v3","oauth","token"],"host":["<tenant_URL>"],"query":[],"variable":[]}},"response":[{"id":"15ca0c19-7b6f-46bf-ae11-65a6cedb0fff","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"administrator","type":"text"},{"key":"client_secret","value":"vT4aLWAzkZ09bzO1ucA0Rhf0joud3LsqHI0EIgAonQQlgVkUShFa0r6z1RYpKdZ6","type":"text"},{"key":"scope","value":"example.com","type":"text"},{"key":"grant_type","value":"client_credentials","type":"text"}]},"url":"https://<tenant_URL>/configapi/v3/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.20.1"},{"key":"Date","value":"Tue, 05 Dec 2023 22:30:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"147"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"9E266F3C6189F70D10CBDCB6C7D457FB690C0BF401841F3FB29C463D9251FB1D\",\n    \"token_type\": \"Bearer\",\n    \"expires_in\": \"3480\",\n    \"scope\": \"example.com\"\n}"}],"_postman_id":"d62af794-1c58-4d8e-acb2-eb8fc197b22a"}],"id":"b2d5698d-2b1e-48e6-8c9d-76b8b06e9471","description":"<p>The authentification method described in this section is the first step required to successfully use Bright Pattern's List Management API. The clients of this API are authenticated in correspondence with the <a href=\"https://tools.ietf.org/html/rfc6749#section-4.4\">OAuth 2.0 Client Credentials Grant</a>. Requests made via this API are authenticated via an access token.</p>\n<p><strong>Note:</strong> Only the users with corresponding privileges can perform selected operations via this API. The complete list of privileges can be found <a href=\"https://help.brightpattern.com/5.3:Contact-center-administrator-guide/Privileges\">here</a>.</p>\n<p>To obtain the access token:</p>\n<ol>\n<li>Login to the Contact Center Administrator application.</li>\n<li>Navigate to the <a href=\"https://help.brightpattern.com/5.3:Contact-center-administrator-guide/Users\">Users</a> page. Select or create a user with privileges corresponding to the tasks you wish to perform via the List Management API.</li>\n<li>Click the Generate button to generate an <a href=\"https://help.brightpattern.com/5.3:Contact-center-administrator-guide/UsersandTeams/Users#API_secret\">API secret</a>. Copy the generated key and note the username for the next steps.</li>\n<li>Use the <em>Get Access Token</em> method to obtain an access token. Set the <em>client_id</em> to the username and <em>client_secret</em> to the generated API secret key.</li>\n<li>Use the value of <em>access_token,</em> returned in the response, to set the <em>Authorization: Bearer [access token]</em> headers of each subsequent request made via the List Management API.</li>\n</ol>\n","_postman_id":"b2d5698d-2b1e-48e6-8c9d-76b8b06e9471"},{"name":"Campaigns","item":[{"name":"Get Campaigns","id":"b0a542e6-007f-42be-8dfb-e0a820bddd2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://<tenant_URL>/configapi/v3/campaign/getAll","description":"<p>This method returns a list of <em>enabled</em> outbound campaigns, their current states, and unique identifiers. Based on the user privileges configured, the list will contain all campaigns or only those assigned to this user (see <a href=\"https://go.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/documentation/25415836-9aa410d1-164e-41c1-953c-de954a289dbc?entity=folder-b91eaa81-d91f-4c10-9939-c7c9e56b945b\">here</a>). An empty list will be returned if no outbound campaign is currently enabled or the user has no assigned campaigns.</p>\n<p><strong>Note:</strong> A campaign's unique identifier returned in the response body can be used to reference that campaign in the path variables of further API requests.</p>\n<h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","campaign","getAll"],"host":["<tenant_URL>"],"query":[],"variable":[]}},"response":[{"id":"5e1b1124-6949-417c-8ecb-5a3939efc6b9","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"https://<tenant_URL>/configapi/v3/campaign/getAll"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    {\n        \"id\": \"85389D39-E05C-4CE7-B36D-4401BEA52E14\",\n        \"name\": \"Campaign name\",\n        \"state\": \"STOPPED\"\n    },\n    {\n        \"id\": \"48B91DC5-A8CD-4FCA-9AF8-EC20A4ACC14B\",\n        \"name\": \"Campaign name 2\",\n        \"state\": \"RUNNING\"\n    }\n]"}],"_postman_id":"b0a542e6-007f-42be-8dfb-e0a820bddd2b"},{"name":"Get Campaign","id":"163b610a-e4b0-4fb9-a1ee-95d4c4a6a32d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://<tenant_URL>/configapi/v3/campaign/getCampaign/:campaign_id","description":"<p>This method returns the current state, i.e. <em>STOPPED</em> or <em>RUNNING,</em> of an <em>enabled</em> or <em>disabled</em> campaign, as well as its associated calling and Do Not Call (DNC) lists.</p>\n<p><strong>Note:</strong> List and DNC list unique identifiers returned in the response body can be used to reference these lists in further API requests.</p>\n<p><strong>Note:</strong> Bright Pattern Contact Center solution supports several DNC list types - Internal, Geographic (Postal), Geographic (State/Province), Geographic (Area codes), and Record Exclusion (see <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/DoNotCallLists#:~:text=the%20contact%20center.-,Type,results%20of%20such%20periodic%20updates%20are%20displayed%20in%20the%20Log%20tab,-List%20field%20to\">here</a>). These list types have respective values in the response body: <code>INTERNAL</code>, <code>GEOGRAPHIC_POSTAL</code>, <code>GEOGRAPHIC_STATE</code>, <code>GEOGRAPHIC_AREACODE</code>, <code>EXCLUSION</code>.</p>\n<h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified campaign was not found;  <br />Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","campaign","getCampaign",":campaign_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"984ecfbc-bf66-4abb-9d74-33295ef9d8ed","type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"de2bdd2e-0287-4953-bda0-64ef42b49ad6","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://<tenant_URL>/configapi/v3/campaign/getCampaign/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","campaign","getCampaign",":campaign_id"],"variable":[{"key":"campaign_id","value":"85389D39-E05C-4CE7-B36D-4401BEA52E14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"name\": \"Campaign name\",\n    \"enabled\": true,\n    \"state\": \"STOPPED\",\n    \"lists\": [\n        {   \"id\": \"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D\",\n            \"name\": \"List 1.csv\",\n            \"instanceId\": \"DBA3A9B0-6CC4-11EE-807C-0800200C9A66\",\n            \"instanceName\": \"\",\n            \"enabled\": true,\n            \"order\": 1,\n            \"dialingRatio\": 1,\n            \"sortingOrder\": {\n                \"type\": \"CUSTOM\",\n                \"sortingFields\": [\n                    {\n                        \"fieldId\": \"f2\",\n                        \"fieldName\": \"Expected result\",\n                        \"sortOrder\": \"ASC\"\n                    }       \n                ]\n            },\n            \"totalRecords\": 100\n        },\n        {   \n            \"id\": \"92A7FE1C-3EC1-4A4E-A662-7A8E57E6CA78\",\n            \"name\": \"List 2.csv\",\n            \"instanceId\": \"99B6B870-6CC5-11EE-807C-0800200C9A66\",\n            \"instanceName\": \"filtered\",\n            \"enabled\": false,\n            \"order\": 1,\n            \"dialingRatio\": 1,\n            \"sortingOrder\": {\n                \"type\": \"natural\",\n                \"sortingFields\": []\n            },\n            \"totalRecords\": 50\n        }\n    ],\n    \"dncLists\": [\n        {\n            \"id\": \"A5717BD2-C610-4AE9-B1B3-0DBE34CA31BD\",\n            \"name\": \"List 1\",\n            \"type\": \"GEOGRAPHIC_AREACODE\",\n            \"Country\": \"US\",\n            \"disposition\": \"Number matches DNC\"\n        },\n        {\n            \"id\": \"B494BB83-C359-4432-A720-9858A6990E06\",\n            \"name\": \"List 2\",\n            \"type\": \"EXCLUSION\",\n            \"listField\": \"firstname\",\n            \"disposition\": \"Number matches DNC\"\n        }\n    ]\n}"}],"_postman_id":"163b610a-e4b0-4fb9-a1ee-95d4c4a6a32d"},{"name":"Get Campaign Status","id":"a2f2e3dc-1f20-4c78-a844-9f06981684cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://<tenant_URL>/configapi/v3/campaign/getStatus/:campaign_id","description":"<p>This method returns the current state, i.e. <em>STOPPED</em> or <em>RUNNING</em>, of an <em>enabled</em> or <em>disabled</em> campaign.</p>\n<h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified campaign was not found;  <br />Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","campaign","getStatus",":campaign_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"2c1c1054-0f89-4973-8c10-3a1360b4e494","type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"08daef9e-fc7f-46aa-a0ee-96f8d81bd287","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://<tenant_URL>/configapi/v3/campaign/getStatus/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","campaign","getStatus",":campaign_id"],"variable":[{"key":"campaign_id","value":"85389D39-E05C-4CE7-B36D-4401BEA52E14"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Feb 2023 10:08:05 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"488"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=FZBxWivBL/0PlN4QH9nJ76t0lRa/6azqUobc8L2WoOTbJhbclb05sC23X7x4rL0q7RAZlAvv1vVk/PBLIYLFm62HjaWbydySL40YVrauQPSpmt6OOKw+D/b/dI1A; Expires=Thu, 09 Feb 2023 10:08:05 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=FZBxWivBL/0PlN4QH9nJ76t0lRa/6azqUobc8L2WoOTbJhbclb05sC23X7x4rL0q7RAZlAvv1vVk/PBLIYLFm62HjaWbydySL40YVrauQPSpmt6OOKw+D/b/dI1A; Expires=Thu, 09 Feb 2023 10:08:05 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Campaign name\",\n    \"enabled\": true,\n    \"state\": \"STOPPED\"\n}"}],"_postman_id":"a2f2e3dc-1f20-4c78-a844-9f06981684cc"},{"name":"Start","id":"f431abd0-9135-4dd8-9e1a-46536245678d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://<tenant_URL>/configapi/v3/campaign/start/:campaign_id","description":"<p>This method starts an <em>enabled</em> campaign, first checking that the campaign is not <em>disabled</em> or already running.</p>\n<p><strong>Note:</strong> Manipulating campaign states requires the user to have an additional <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UsersandTeams/Privileges#Service_and_Campaign_Administration:~:text=Start%20campaigns%20and,disable%20campaign%20lists.\">\"<i>Start campaigns and enable lists</i>\"</a> privilege.</p>\n<h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified campaign was not found;  <br />Invalid URL</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Specified campaign is disabled or already running</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","campaign","start",":campaign_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"5ef06c27-f619-48bd-8f49-6f979d4dd1e9","type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"d43ddb0b-dc30-413d-9f43-4c172c812b55","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://<tenant_URL>/configapi/v3/campaign/start/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","campaign","start",":campaign_id"],"variable":[{"key":"campaign_id","value":"85389D39-E05C-4CE7-B36D-4401BEA52E14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jan 2023 10:31:07 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"485"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=ZYR24I9wWl4737yU2ZPfw0aBWRhYB1s1uaHvU/530mcBJvK9In3CwgHL9DoplNKOaREgaBlTMmDCkv3m3h6etrmUaO8tAA0ie1OLanUK2+U7HzhvljBEauntAiEo; Expires=Fri, 27 Jan 2023 10:31:07 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=ZYR24I9wWl4737yU2ZPfw0aBWRhYB1s1uaHvU/530mcBJvK9In3CwgHL9DoplNKOaREgaBlTMmDCkv3m3h6etrmUaO8tAA0ie1OLanUK2+U7HzhvljBEauntAiEo; Expires=Fri, 27 Jan 2023 10:31:07 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n  \"state\": “RUNNING”\n}"}],"_postman_id":"f431abd0-9135-4dd8-9e1a-46536245678d"},{"name":"Stop","id":"da1396ff-64a8-409b-95b0-bfdf84a1a173","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://<tenant_URL>/configapi/v3/campaign/stop/:campaign_id","description":"<p>This method stops an <em>enabled</em> campaign, first checking that the campaign is not <em>disabled</em> or already stopped.</p>\n<p><strong>Note:</strong> Manipulating campaign states requires the user to have an additional <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UsersandTeams/Privileges#Service_and_Campaign_Administration:~:text=Start%20campaigns%20and,disable%20campaign%20lists.\">\"<i>Start campaigns and enable lists</i>\"</a> privilege.</p>\n<h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified campaign was not found;  <br />Invalid URL</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Specified campaign is disabled or already stopped</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","campaign","stop",":campaign_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"c300e1eb-85f2-4701-a1a2-9e7547458b8e","type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"0736c23a-3aa8-47b3-809a-b5def24e28b4","name":"200 OK","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://<tenant_URL>/configapi/v3/campaign/stop/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","campaign","stop",":campaign_id"],"variable":[{"key":"campaign_id","value":"85389D39-E05C-4CE7-B36D-4401BEA52E14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"state\": “STOPPED”\n}"}],"_postman_id":"da1396ff-64a8-409b-95b0-bfdf84a1a173"},{"name":"Bind List","id":"6d0d4447-098c-431d-b65a-aa94092db469","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"listId\": \"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D\",\r\n    \"instanceName\": \"\",\r\n    \"enabled\": true,\r\n    \"order\": 1,\r\n    \"dialingRatio\": 1,\r\n    \"sortingOrder\": {\r\n        \"type\": \"CUSTOM\",\r\n        \"sortingFields\": [\r\n            {\r\n                \"fieldName\": \"Expected result\",\r\n                \"sortOrder\": \"ASC\"\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/campaign/bindList/:campaign_id","description":"<p>This method adds a list to the selected campaign.</p>\n<p>Once added, an instance of the list associated with this particular campaign is created. The ID of such an instance is returned in the response body, together with the total number of records inside the original list.</p>\n<p><strong>Note:</strong> The instance's unique identifier can be further used to unbind or update the list, get campaign results, or query a record from that list.</p>\n<p><strong>Note:</strong> Manipulating calling lists associated with a campaign requires the user to have an additional <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UsersandTeams/Privileges#Service_and_Campaign_Administration:~:text=Start%20campaigns%20and,disable%20campaign%20lists.\">\"<i>Start campaigns and enable lists</i>\"</a> privilege.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>listId</td>\n<td>string</td>\n<td>yes (can be found in the <a href=\"https://solar-firefly-658194.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/request/25415836-b962ab65-a43c-4088-9c32-1432871ec377?action=share&amp;source=copy-link&amp;creator=34538377&amp;ctx=documentation\"><i>Get Campaign</i> </a> response)</td>\n<td>-</td>\n</tr>\n<tr>\n<td>instanceName</td>\n<td>string</td>\n<td>no</td>\n<td>-</td>\n</tr>\n<tr>\n<td>enabled</td>\n<td>boolean</td>\n<td>no</td>\n<td><code>false</code> (Default);  <br /><code>true</code></td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer, &gt; 0</td>\n<td>no</td>\n<td><code>1</code>(Default);  <br /><code>2,...</code></td>\n</tr>\n<tr>\n<td>dialingRatio</td>\n<td>integer, &gt; 0</td>\n<td>no</td>\n<td><code>1</code>(Default);  <br /><code>2,...</code></td>\n</tr>\n<tr>\n<td>sortingOrder</td>\n<td>string</td>\n<td>no</td>\n<td><code>NATURAL;</code> (Default)  <br /><code>RANDOM</code>;  <br /><code>CUSTOM</code></td>\n</tr>\n<tr>\n<td>sortingOrder.sortingFields.fieldName</td>\n<td>string</td>\n<td>yes, if sortingOrder.type = <code>custom</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td>sortingOrder.sortingFields.sortOrder</td>\n<td>string</td>\n<td>yes, if sortingOrder.type = <code>custom</code></td>\n<td><code>ASC</code> (Default);  <br /><code>DESC</code></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified campaign was not found;  <br />Specifed list was not found;  <br />Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","campaign","bindList",":campaign_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"6194cdce-7e3a-4ad1-897b-bb1e4f8ea36c","type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"6db611d0-8b01-44bd-80d5-8c35cce7bacf","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"listId\": \"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D\",\r\n    \"instanceName\": \"\",\r\n    \"enabled\": true,\r\n    \"order\": 1,\r\n    \"dialingRatio\": 1,\r\n    \"sortingOrder\": {\r\n        \"type\": \"CUSTOM\",\r\n        \"sortingFields\": [\r\n            {\r\n                \"fieldName\": \"Priority\",\r\n                \"sortOrder\": \"ASC\"\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/campaign/bindList/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","campaign","bindList",":campaign_id"],"variable":[{"key":"campaign_id","value":"85389D39-E05C-4CE7-B36D-4401BEA52E14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jan 2023 10:45:27 GMT"},{"key":"Content-Type","value":"application/json","description":""},{"key":"Content-Length","value":"501"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=Z309wNJHOGuC9c0n8fGe8cBTNgMESf245S9cn3djYCpMZwtky7pxEHLAMvVlaiOQOdbWN7mKJSk6HYUU7uN3JULFwtqueQpK4QGAA9Qv+mZMi2B7DFs3QBk6sn62; Expires=Fri, 27 Jan 2023 10:45:27 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=Z309wNJHOGuC9c0n8fGe8cBTNgMESf245S9cn3djYCpMZwtky7pxEHLAMvVlaiOQOdbWN7mKJSk6HYUU7uN3JULFwtqueQpK4QGAA9Qv+mZMi2B7DFs3QBk6sn62; Expires=Fri, 27 Jan 2023 10:45:27 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"instanceId\": \"DBA3A9B0-6CC4-11EE-807C-0800200C9A66\",\n    \"totalRecords\": 100\n}"}],"_postman_id":"6d0d4447-098c-431d-b65a-aa94092db469"},{"name":"Update List","id":"05cd5ba7-b36f-441f-81a4-53e9bb861f28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"instanceId\": \"DBA3A9B0-6CC4-11EE-807C-0800200C9A66\",\r\n    \"instanceName\": \"\",\r\n    \"enabled\": true,\r\n    \"order\": 1,\r\n    \"dialingRatio\": 1,\r\n    \"sortingOrder\": {\r\n        \"type\": \"CUSTOM\",\r\n        \"sortingFields\": [\r\n            {\r\n                \"fieldName\": \"Expected result\",\r\n                \"sortOrder\": \"ASC\"\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/campaign/updateList/:campaign_id","description":"<p>This method changes the properties of an instance of a list in the associated campaign. The instance is specified by its unique identifier, <code>instanceID</code>, returned in the response body of the <em>Get Campaign</em> method (see <a href=\"https://go.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/documentation/25415836-9aa410d1-164e-41c1-953c-de954a289dbc?entity=request-b962ab65-a43c-4088-9c32-1432871ec377\">here</a>). Additionally, this method can reset an <em>optional</em> parameter to its default value by passing \" \" or null to that parameter.</p>\n<p>Before the list is updated, its binding to the specified campaign is checked. If the instance is bound to the specified campaign, the list is updated successfully.</p>\n<p><strong>Note:</strong> Manipulating the content of calling lists associated with a campaign requires the user to have an additional <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UsersandTeams/Privileges#Service_and_Campaign_Administration:~:text=Start%20campaigns%20and,disable%20campaign%20lists.\">\"<i>Start campaigns and enable lists</i>\"</a> privilege.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>instanceId</td>\n<td>string</td>\n<td>yes (can be found in the <a href=\"https://solar-firefly-658194.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/request/25415836-b962ab65-a43c-4088-9c32-1432871ec377?action=share&amp;source=copy-link&amp;creator=34538377&amp;ctx=documentation\"><i>Get Campaign</i></a> response)</td>\n<td>-</td>\n</tr>\n<tr>\n<td>instanceName</td>\n<td>string</td>\n<td>no</td>\n<td>-</td>\n</tr>\n<tr>\n<td>enabled</td>\n<td>boolean</td>\n<td>no</td>\n<td><code>false</code> (Default);  <br /><code>true</code></td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer, &gt; 0</td>\n<td>no</td>\n<td><code>1</code>(Default);  <br /><code>2,...</code></td>\n</tr>\n<tr>\n<td>dialingRatio</td>\n<td>integer, &gt; 0</td>\n<td>no</td>\n<td><code>1</code>(Default);  <br /><code>2,...</code></td>\n</tr>\n<tr>\n<td>sortingOrder</td>\n<td>string</td>\n<td>no</td>\n<td><code>NATURAL;</code> (Default)  <br /><code>RANDOM</code>;  <br /><code>CUSTOM</code></td>\n</tr>\n<tr>\n<td>sortingOrder.sortingFields.fieldName</td>\n<td>string</td>\n<td>yes, if sortingOrder.type = <code>custom</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td>sortingOrder.sortingFields.sortOrder</td>\n<td>string</td>\n<td>yes, if sortingOrder.type = <code>custom</code></td>\n<td><code>ASC</code> (Default);  <br /><code>DESC</code></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified campaign was not found;  <br />Specified instance was not found;  <br />Invalid URL</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Specified instance is not bound to the selected campaign</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","campaign","updateList",":campaign_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"e36b3cdc-3edb-4d5d-8dcd-016328359723","type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"0f0cfe87-1cf3-4bbf-9ba9-865863ead136","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"instanceId\": \"DBA3A9B0-6CC4-11EE-807C-0800200C9A66\",\r\n    \"instanceName\": \"\",\r\n    \"enabled\": true,\r\n    \"order\": 1,\r\n    \"dialingRatio\": 1,\r\n    \"sortingOrder\": {\r\n        \"type\": \"CUSTOM\",\r\n        \"sortingFields\": [\r\n            {\r\n                \"fieldName\": \"Priority\",\r\n                \"sortOrder\": \"ASC\"\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/campaign/updateList/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","campaign","updateList",":campaign_id"],"variable":[{"key":"campaign_id","value":"85389D39-E05C-4CE7-B36D-4401BEA52E14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jan 2023 12:02:16 GMT"},{"key":"Content-Type","value":"application/json","description":""},{"key":"Content-Length","value":"503"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=hxD+Fjiu4Gb5/f50g5PBJU9JC+01dYmEszp9xtoWEdFT0umXsif41R57orJOLlQOc3A4rhcLVC8MI3m3o5A205pN/83XoFK7cDIBRWayjgvbDVY4/dqp6is8KTG/; Expires=Fri, 27 Jan 2023 12:02:16 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=hxD+Fjiu4Gb5/f50g5PBJU9JC+01dYmEszp9xtoWEdFT0umXsif41R57orJOLlQOc3A4rhcLVC8MI3m3o5A205pN/83XoFK7cDIBRWayjgvbDVY4/dqp6is8KTG/; Expires=Fri, 27 Jan 2023 12:02:16 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalRecords\": 50\n}"}],"_postman_id":"05cd5ba7-b36f-441f-81a4-53e9bb861f28"},{"name":"Unbind List","id":"5fed6fdd-fa0c-4b88-a46c-e50cac338b31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"instanceId\": \"DBA3A9B0-6CC4-11EE-807C-0800200C9A66\"\r\n}"},"url":"https://<tenant_URL>/configapi/v3/campaign/unbindList/:campaign_id","description":"<p>This method removes the instance of a list from the associated campaign. The instance to be removed is specified by its unique identifier, <code>instanceID</code>, returned in the response body of the <em>Get Campaign</em> method (see <a href=\"https://go.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/documentation/25415836-9aa410d1-164e-41c1-953c-de954a289dbc?entity=request-b962ab65-a43c-4088-9c32-1432871ec377\">here</a>).</p>\n<p><strong>Note:</strong> Bright Pattern Contact Center solution supports several <em>voice</em> campaign modes (see <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/ServicesandCampaigns/Outbound-General#:~:text=Type,selected%20campaign%20type.\">here</a>). Depending on the mode of the associated campaign, the active call behavior will differentiate as follows:</p>\n<ul>\n<li>Progressive, Predictive, or Automatic (IVR) campaigns<ul>\n<li>Upon instance deletion, all active, i.e. in a dialing state, within a script, or connected to an agent, calls are dropped</li>\n</ul>\n</li>\n<li>Preview campaigns<ul>\n<li>Upon instance deletion, only the calls not yet picked up by an agent are dropped. In-progress and connected calls are not affected</li>\n</ul>\n</li>\n</ul>\n<p>The results of completed calls are archived and available for downloading in the Contact Center Administrator application (see <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/ServicesandCampaigns/ArchiveTab\">here</a>). Interaction results for dropped calls are not saved.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>instanceId</td>\n<td>string</td>\n<td>yes (can be found in the <a href=\"https://solar-firefly-658194.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/request/25415836-b962ab65-a43c-4088-9c32-1432871ec377?action=share&amp;source=copy-link&amp;creator=34538377&amp;ctx=documentation\"><i>Get Campaign</i> </a> response)</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified campaign was not found;  <br />Specified instance was not found;  <br />Invalid URL</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Specified instance is not bound to the selected campaign</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","campaign","unbindList",":campaign_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"9d9d0e71-592c-4225-8dce-cbbdb7b712fa","type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"91a704e6-c213-4f5c-bdc9-82021337b48b","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"instanceId\": \"DBA3A9B0-6CC4-11EE-807C-0800200C9A66\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/campaign/unbindList/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","campaign","unbindList",":campaign_id"],"variable":[{"key":"campaign_id","value":"85389D39-E05C-4CE7-B36D-4401BEA52E14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Date","value":"Fri, 20 Jan 2023 11:02:08 GMT"},{"key":"Content-Type","value":"text/html;charset=iso-8859-1"},{"key":"Content-Length","value":"503"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=2jQSg5j26G/ut3wvz2+Xg4cXnpV6JISy6BXCpTreFv7rji78TzfjXXyx1MJSU9iWl0cjNyW8YxA5VfKP7uLYMHm93PilyTOPEFen/APIz7YoeZak4s3CAl5hWKJC; Expires=Fri, 27 Jan 2023 11:02:08 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=2jQSg5j26G/ut3wvz2+Xg4cXnpV6JISy6BXCpTreFv7rji78TzfjXXyx1MJSU9iWl0cjNyW8YxA5VfKP7uLYMHm93PilyTOPEFen/APIz7YoeZak4s3CAl5hWKJC; Expires=Fri, 27 Jan 2023 11:02:08 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"5fed6fdd-fa0c-4b88-a46c-e50cac338b31"},{"name":"Get All Records","id":"9c5d5090-9978-4f04-8b6e-02281289355f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"instanceId\": \"DBA3A9B0-6CC4-11EE-807C-0800200C9A66\",\r\n    \"extractAttempts\": true,\r\n    \"limit\": 1000,\r\n    \"cursor\": \"590e9abd4abbf1165862d342\"  \r\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/campaign/getAllRecords/:campaign_id","description":"<p>This method returns a list of all records in an instance. The instance is specified by its unique identifier, <code>instanceID</code>, returned in the response body of the <em>Get Campaign</em> method (see <a href=\"https://go.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/documentation/25415836-9aa410d1-164e-41c1-953c-de954a289dbc?entity=request-b962ab65-a43c-4088-9c32-1432871ec377\">here</a>). Optionally, this method can also display request attempts made. The records are returned and sorted by the standard MongoDB <code>_id</code> field.</p>\n<p><strong>Note:</strong> To accommodate the display of large numbers of list records, Bright Pattern Contact Solution utilizes <em>Cursor-based pagination</em> (see <a href=\"https://solar-firefly-658194.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/folder/25415836-c3a7249d-981d-419b-b482-d06c52fbd699?ctx=documentation\">here</a>). The <code>_id</code> field is used as the \"cursor\" to reference the last served record.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>instanceId</td>\n<td>string</td>\n<td>yes (can be found in the <a href=\"https://solar-firefly-658194.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/request/25415836-b962ab65-a43c-4088-9c32-1432871ec377?action=share&amp;source=copy-link&amp;creator=34538377&amp;ctx=documentation\"><i>Get Campaign</i> </a> response)</td>\n<td>-</td>\n</tr>\n<tr>\n<td>extractAttempts</td>\n<td>boolean</td>\n<td>no (if <code>true,</code>the method returns the list of all attempts)</td>\n<td><code>false</code> (Default);  <br /><code>true</code></td>\n</tr>\n<tr>\n<td>limit</td>\n<td>integer, ≤ 1000</td>\n<td>yes (Specifies the maximum number of records per page when using <a href=\"#2ed4dcaa-ed07-4724-b0d5-d537cef1046a\">cursor-based pagination</a>)</td>\n<td><code>1...1000</code></td>\n</tr>\n<tr>\n<td>cursor</td>\n<td>string</td>\n<td>no (used for pagination)</td>\n<td>First request: <code>null</code>  <br />Subsequent request: value received in the response to the previous request</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified campaign was not found;  <br />Invalid URL</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Specified instance is not bound to the selected campaign</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","campaign","getAllRecords",":campaign_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"8deaafbd-ba45-442b-84d8-3e077e66208c","type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"d0ba062d-593d-4fe5-b9b7-d4b4b321a8cd","name":"All","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"instanceId\": \"DBA3A9B0-6CC4-11EE-807C-0800200C9A66\",\r\n    \"extractAttempts\": true,\r\n    \"limit\": 1000,\r\n    \"cursor\": \"590e9abd4abbf1165862d342\"  \r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/campaign/getAllRecords/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","campaign","getAllRecords",":campaign_id"],"variable":[{"key":"campaign_id","value":"85389D39-E05C-4CE7-B36D-4401BEA52E14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jan 2023 19:32:28 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"504"},{"key":"Connection","value":"close"},{"key":"Set-Cookie","value":"AWSALB=RsvSrUR581IIyuI14qpruJZCSPoRa2w17ewFS01YCgKoPaced1kzhvUy2M4hwQQO0IHRWuPrpqAQAUdrakrGAqxqD4qULyIFyrvRl8TSx/hXZ+rsHnJsHj9XTby8; Expires=Fri, 27 Jan 2023 19:32:28 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=RsvSrUR581IIyuI14qpruJZCSPoRa2w17ewFS01YCgKoPaced1kzhvUy2M4hwQQO0IHRWuPrpqAQAUdrakrGAqxqD4qULyIFyrvRl8TSx/hXZ+rsHnJsHj9XTby8; Expires=Fri, 27 Jan 2023 19:32:28 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"next_cursor\": \"590e9abd4abbf1165862d342\",\n    \"records\": [\n        {\n            \"entry\": {\n                \"firstname\": \"Firstname4\",\n                \"date_time\": \"29-12-2023\",\n                \"phone\": \"1004\",\n                \"id\": \"N4\",\n                \"lastname\": \"Lastname4\"\n            },\n            \"status\": {\n                \"globalInteractionID\": \"\",\n                \"lastCallDuration\": 0,\n                \"lastDisposition\": \"\",\n                \"totalAttempts\": 0,\n                \"completed\": false,\n                \"completedTime\": \"\",\n                \"lastAgent\": \"\",\n                \"lastPhone\": \"\",\n                \"lastDate\": \"\"\n            },\n            \"attempts\": []\n        },\n        {\n            \"entry\": {\n                \"firstname\": \"Firstname2\",\n                \"date_time\": \"01-12-2023\",\n                \"phone\": \"1002\",\n                \"id\": \"N2\",\n                \"lastname\": \"Lastname2\"\n            },\n            \"status\": {\n                \"globalInteractionID\": \"F944CE77-2B21-472F-BE85-8BDE356A9500\",\n                \"lastCallDuration\": 30,\n                \"lastDisposition\": \"Appointment approved\",\n                \"totalAttempts\": 1,\n                \"completed\": true,\n                \"completedTime\": \"2023-01-19T20:46:35.000\",\n                \"lastAgent\": \"katie.kent\",\n                \"lastPhone\": \"1003\",\n                \"lastDate\": \"2023-01-19T20:46:35.000\",\n                \"custom_field_1\": \"value1\",\n                \"custom_field_2\": \"value2\"\n            },\n            \"attempts\": [\n                            {\n                                \"call_attempted\": true,\n                                \"disposition\": \"Appointment approved\",\n                                \"date\": \"2023-01-19T20:46:35.000\",\n                                \"phone\": \"1003\",\n                                \"timezone\": \"Europe/Dublin\",\n                                \"timezoneBy\": \"field\",                                \n                                \"callDuration\": 30,\n                                \"dialingDuration\": 5,\n                                \"callNotes\": \"\",\n                                \"agent\": \"katie.kent\",\n                                \"globalInteractionID\": \"F944CE77-2B21-472F-BE85-8BDE356A9500\",\n                                \"CPADuration\": 2,\n                                \"CPAResult\": \"Voice\",\n                                \"custom_field_1\": \"value1\",\n                                \"custom_field_2\": \"value2\"\n                            }\n            ]\n        }\n    ]\n}"}],"_postman_id":"9c5d5090-9978-4f04-8b6e-02281289355f"},{"name":"Get Completed Records","id":"d80d6858-6cb3-4f7b-a1f1-135e1640d98a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"instanceId\": \"DBA3A9B0-6CC4-11EE-807C-0800200C9A66\",\r\n    \"startTime\": \"2023-01-01T00:00:00.000\",\r\n    \"endTime\": \"2023-01-30T00:00:00.000\",\r\n    \"extractAttempts\": true,\r\n    \"limit\": 1000,\r\n    \"cursor\": \"2023-01-10T12:13:59.001_590e9abd4abbf1165862d342\"  \r\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/campaign/getCompletedRecords/:campaign_id","description":"<p>This method returns a list of all completed records within an instance. The instance is specified by its unique identifier, <code>instanceID</code>, returned in the response body of the <em>Get Campaign</em> method (see <a href=\"https://go.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/documentation/25415836-9aa410d1-164e-41c1-953c-de954a289dbc?entity=request-b962ab65-a43c-4088-9c32-1432871ec377\">here</a>). Optionally, the user can view request attempts and specify the completion time frame for which they want to display the completed records list. The records are returned and sorted by completion time (MongoDB <code>completedTime</code> field).</p>\n<p><strong>Note:</strong> To accommodate the display of large numbers of list records, Bright Pattern Contact Solution utilizes <em>Cursor-based pagination</em> (see <a href=\"https://solar-firefly-658194.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/folder/25415836-c3a7249d-981d-419b-b482-d06c52fbd699?ctx=documentation\">here</a>). The <code>_id</code> and the <code>completedTime</code>fields are concatenated and used as the \"cursor\" to reference the last served record.</p>\n<p><strong>Note:</strong> The input parameters defined for this method in the List Management API 3.0 differ from the previous version.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>instanceId</td>\n<td>string</td>\n<td>yes (can be found in the <a href=\"https://solar-firefly-658194.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/request/25415836-b962ab65-a43c-4088-9c32-1432871ec377?action=share&amp;source=copy-link&amp;creator=34538377&amp;ctx=documentation\"><i>Get Campaign</i> </a> response)</td>\n<td>-</td>\n</tr>\n<tr>\n<td>startTime</td>\n<td>time (UTC)</td>\n<td>no (if specified, the method returns all records completed at or after the <code>startTime</code>)</td>\n<td><code>-</code></td>\n</tr>\n<tr>\n<td>endTime</td>\n<td>time (UTC)</td>\n<td>no (if specified, the method returns all records completed before the <code>endTime</code>)</td>\n<td>-</td>\n</tr>\n<tr>\n<td>extractAttempts</td>\n<td>boolean</td>\n<td>no (if <code>true,</code>the method returns the list of all attempts)</td>\n<td><code>false</code> (Default);  <br /><code>true</code></td>\n</tr>\n<tr>\n<td>limit</td>\n<td>integer, ≤ 1000</td>\n<td>yes (Specifies the maximum number of records per page when using <a href=\"#2ed4dcaa-ed07-4724-b0d5-d537cef1046a\">cursor-based pagination</a>)</td>\n<td><code>1...1000</code></td>\n</tr>\n<tr>\n<td>cursor</td>\n<td>string</td>\n<td>no (used for pagination)</td>\n<td>First request: <code>null</code>  <br />Subsequent request:  <br />value received in the response to the previous request</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified campaign was not found;  <br />Invalid URL</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Specified instance is not bound to the selected campaign</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","campaign","getCompletedRecords",":campaign_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"7ab7ec56-e69c-450f-a86d-e69cee1e0cbb","type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"abdac4ed-0277-4342-9e77-97181bcb4f1f","name":"Completed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"instanceId\": \"DBA3A9B0-6CC4-11EE-807C-0800200C9A66\", \r\n    \"startTime\": \"2023-01-01T00:00:00.000\",\r\n    \"endTime\": \"2023-01-30T00:00:00.000\",\r\n    \"extractAttempts\": true,\r\n    \"limit\": 1000,\r\n    \"cursor\": \"2023-01-10T12:13:59.001_590e9abd4abbf1165862d342\"  \r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/campaign/getCompletedRecords/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","campaign","getCompletedRecords",":campaign_id"],"variable":[{"key":"campaign_id","value":"85389D39-E05C-4CE7-B36D-4401BEA52E14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jan 2023 19:32:28 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"504"},{"key":"Connection","value":"close"},{"key":"Set-Cookie","value":"AWSALB=RsvSrUR581IIyuI14qpruJZCSPoRa2w17ewFS01YCgKoPaced1kzhvUy2M4hwQQO0IHRWuPrpqAQAUdrakrGAqxqD4qULyIFyrvRl8TSx/hXZ+rsHnJsHj9XTby8; Expires=Fri, 27 Jan 2023 19:32:28 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=RsvSrUR581IIyuI14qpruJZCSPoRa2w17ewFS01YCgKoPaced1kzhvUy2M4hwQQO0IHRWuPrpqAQAUdrakrGAqxqD4qULyIFyrvRl8TSx/hXZ+rsHnJsHj9XTby8; Expires=Fri, 27 Jan 2023 19:32:28 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"next_cursor\": \"2023-01-15T18:13:59.111_6870e9abd4abbf1165862d22\",\n    \"records\": [\n        {\n            \"entry\": {\n                \"firstname\": \"Firstname2\",\n                \"date_time\": \"01-12-2023\",\n                \"phone\": \"1002\",\n                \"id\": \"N2\",\n                \"lastname\": \"Lastname2\"\n            },\n            \"status\": {\n                \"globalInteractionID\": \"F944CE77-2B21-472F-BE85-8BDE356A9500\",\n                \"lastCallDuration\": 30,\n                \"lastDisposition\": \"Appointment approved\",\n                \"totalAttempts\": 1,\n                \"completed\": true,\n                \"completedTime\": \"2023-01-19T20:46:35.000\",\n                \"lastAgent\": \"katie.kent\",\n                \"lastPhone\": \"1002\",\n                \"lastDate\": \"2023-01-19T20:46:35.000\",\n                \"custom_field_1\": \"value1\",\n                \"custom_field_2\": \"value2\"\n            },\n            \"attempts\": [\n                           {\n                                \"call_attempted\": true,\n                                \"disposition\": \"Appointment approved\",\n                                \"date\": \"2023-01-19T20:46:35.000\",\n                                \"phone\": \"1003\",\n                                \"phoneTimezone\": \"Europe/Dublin\", //Dialer 2.5\n                                \"postalCodeTimezone\": \"\", //Dialer 2.5\n                                \"timezonesBy\": \"field\", //Dialer 2.5\n                                \"callDuration\": 30,\n                                \"dialingDuration\": 5,\n                                \"callNotes\": \"\",\n                                \"agent\": \"katie.kent\",\n                                \"globalInteractionID\": \"F944CE77-2B21-472F-BE85-8BDE356A9500\",\n                                \"CPADuration\": 2,\n                                \"CPAResult\": \"Voice\",\n                                \"custom_field_1\": \"value1\",\n                                \"custom_field_2\": \"value2\"\n                            }\n            ]\n        }\n    ]\n}"}],"_postman_id":"d80d6858-6cb3-4f7b-a1f1-135e1640d98a"},{"name":"Get Updated Records","id":"d08e452d-152e-4c6e-81f2-d73006696c53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"instanceId\": \"DBA3A9B0-6CC4-11EE-807C-0800200C9A66\",\r\n    \"startTime\": \"2023-01-01T00:00:00.000\",\r\n    \"endTime\": \"2023-01-30T00:00:00.000\",\r\n    \"extractAttempts\": true,\r\n    \"limit\": 1000,\r\n    \"cursor\": \"2023-01-10T12:13:59.001_590e9abd4abbf1165862d342\"  \r\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/campaign/getUpdatedRecords/:campaign_id","description":"<p>This method returns a list of all updated records within an instance. The instance is specified by its unique identifier, <code>instanceID</code>, returned in the response body of the <em>Get Campaign</em> method. Optionally, the user can view request attempts and specify the time frame for which they want to display the updated records list. The records are returned and sorted by the last date attempted (MongoDB <code>lastDate</code> field).</p>\n<p><strong>Note:</strong> To accommodate the display of large numbers of list records, Bright Pattern Contact Solution utilizes <em>Cursor-based pagination</em> (see <a href=\"https://documenter.getpostman.com/view/8336025/2sB3WmV3UC#2ed4dcaa-ed07-4724-b0d5-d537cef1046a\">here</a>). The <code>_id</code> and the <code>lastDate</code>fields are concatenated and used as the \"cursor\" to reference the last served record.</p>\n<p><strong>Note:</strong> The input parameters defined for this method in the List Management API 3.0 differ from the previous version.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>instanceId</td>\n<td>string</td>\n<td>yes (can be found in the <a href=\"https://solar-firefly-658194.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/request/25415836-b962ab65-a43c-4088-9c32-1432871ec377?action=share&amp;source=copy-link&amp;creator=34538377&amp;ctx=documentation\"><i>Get Campaign</i> </a> response)</td>\n<td>-</td>\n</tr>\n<tr>\n<td>startTime</td>\n<td>time (UTC)</td>\n<td>no (if specified, the method returns all records completed at or after the <code>startTime</code>)</td>\n<td><code>-</code></td>\n</tr>\n<tr>\n<td>endTime</td>\n<td>time (UTC)</td>\n<td>no (if specified, the method returns all records completed before the <code>endTime</code>)</td>\n<td>-</td>\n</tr>\n<tr>\n<td>extractAttempts</td>\n<td>boolean</td>\n<td>no (if <code>true,</code>the method returns the list of all attempts)</td>\n<td><code>false</code> (Default);  <br /><code>true</code></td>\n</tr>\n<tr>\n<td>limit</td>\n<td>integer, ≤ 1000</td>\n<td>yes (Specifies the maximum number of records per page when using <a href=\"#2ed4dcaa-ed07-4724-b0d5-d537cef1046a\">cursor-based pagination</a>)</td>\n<td><code>1...1000</code></td>\n</tr>\n<tr>\n<td>cursor</td>\n<td>string</td>\n<td>no (mn for pagination)</td>\n<td>First request: <code>null</code>  <br />Subsequent request:  <br />value received in the response to the previous request</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified campaign was not found;  <br />Invalid URL</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Specified instance is not bound to the selected campaign</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","campaign","getUpdatedRecords",":campaign_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"c34d369e-2311-4c16-82cd-a179b3a15256","type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"a26bc249-18fc-4c69-b292-5e9838b94e1f","name":"Updated","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"instanceId\": \"DBA3A9B0-6CC4-11EE-807C-0800200C9A66\",  \r\n    \"startTime\": \"2023-01-01T00:00:00.000\",\r\n    \"endTime\": \"2023-01-30T00:00:00.000\",\r\n    \"extractAttempts\": true,\r\n    \"limit\": 1000,\r\n    \"cursor\": \"2023-01-10T12:13:59.001_590e9abd4abbf1165862d342\"  \r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/campaign/getUpdatedRecords/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","campaign","getUpdatedRecords",":campaign_id"],"variable":[{"key":"campaign_id","value":"85389D39-E05C-4CE7-B36D-4401BEA52E14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jan 2023 19:32:28 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"504"},{"key":"Connection","value":"close"},{"key":"Set-Cookie","value":"AWSALB=RsvSrUR581IIyuI14qpruJZCSPoRa2w17ewFS01YCgKoPaced1kzhvUy2M4hwQQO0IHRWuPrpqAQAUdrakrGAqxqD4qULyIFyrvRl8TSx/hXZ+rsHnJsHj9XTby8; Expires=Fri, 27 Jan 2023 19:32:28 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=RsvSrUR581IIyuI14qpruJZCSPoRa2w17ewFS01YCgKoPaced1kzhvUy2M4hwQQO0IHRWuPrpqAQAUdrakrGAqxqD4qULyIFyrvRl8TSx/hXZ+rsHnJsHj9XTby8; Expires=Fri, 27 Jan 2023 19:32:28 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"next_cursor\": \"2023-01-15T18:13:59.111_6870e9abd4abbf1165862d22\",\n    \"records\": [\n        {\n            \"entry\": {\n                \"firstname\": \"Firstname2\",\n                \"date_time\": \"01-12-2023\",\n                \"phone\": \"1002\",\n                \"id\": \"N2\",\n                \"lastname\": \"Lastname2\"\n            },\n            \"status\": {\n                \"globalInteractionID\": \"F944CE77-2B21-472F-BE85-8BDE356A9500\",\n                \"lastCallDuration\": 30,\n                \"lastDisposition\": \"Appointment approved\",\n                \"totalAttempts\": 1,\n                \"completed\": true,\n                \"completedTime\": \"2023-01-19T20:46:35.000\",\n                \"lastAgent\": \"katie.kent\",\n                \"lastPhone\": \"1002\",\n                \"lastDate\": \"2023-01-19T20:46:35.000\",\n                \"custom_field_1\": \"value1\",\n                \"custom_field_2\": \"value2\"\n            },\n            \"attempts\": [\n                           {\n                                \"call_attempted\": true,\n                                \"disposition\": \"Appointment approved\",\n                                \"date\": \"2023-01-19T20:46:35.000\",\n                                \"phone\": \"1003\",\n                                \"phoneTimezone\": \"Europe/Dublin\", //Dialer 2.5\n                                \"postalCodeTimezone\": \"\", //Dialer 2.5\n                                \"timezonesBy\": \"field\", //Dialer 2.5                       \n                                \"callDuration\": 30,\n                                \"dialingDuration\": 5,\n                                \"callNotes\": \"\",\n                                \"agent\": \"katie.kent\",\n                                \"globalInteractionID\": \"F944CE77-2B21-472F-BE85-8BDE356A9500\",\n                                \"CPADuration\": 2,\n                                \"CPAResult\": \"Voice\",\n                                \"custom_field_1\": \"value1\",\n                                \"custom_field_2\": \"value2\"\n                            }\n            ]\n        }\n    ]\n}"}],"_postman_id":"d08e452d-152e-4c6e-81f2-d73006696c53"},{"name":"Query a Record","id":"d582630c-c1a7-4355-af4e-f98ed9fda092","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"instanceId\": \"DBA3A9B0-6CC4-11EE-807C-0800200C9A66\",   \r\n    \"extractAttempts\": false,\r\n    \"fields\": {\r\n        \"id\": \"1\"\r\n    }\r\n}    ","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/campaign/queryRecord/:campaign_id","description":"<p>This method returns a copy of an <em>existing</em> record in an instance, as well as the information about the last interaction associated with this record. The instance is specified by its unique identifier, <code>instanceID</code>, returned in the response body of the <em>Get Campaign</em> method (see <a href=\"https://go.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/documentation/25415836-9aa410d1-164e-41c1-953c-de954a289dbc?entity=request-b962ab65-a43c-4088-9c32-1432871ec377\">here</a>). The search for the record is performed based on the defined key fields.</p>\n<p>Before the record is queried, its existence in the specified list is checked. If the record does exist in the specified list, the record is queried successfully.</p>\n<p><strong>Note:</strong> If a PHONE type field is defined as a key, the record value is checked for a full match with the value stored in the database or the original source (if the data was modified upon loading into the database).</p>\n<p><strong>Note:</strong> The response body contains the List Record JSON Object, defined by two sub-objects as follows:</p>\n<ul>\n<li><code>entry</code> object: contains a copy of the list entry<ul>\n<li>field names are retained as defined at list creation<ul>\n<li><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/CaseandContactManagement/CustomFields#Activity_History\">custom fields</a> are returned with the prefix '<code>custom_</code>' added to the name defined in the Administrator Application</li>\n</ul>\n</li>\n<li><em><strong>time</strong></em> and <em><strong>date</strong></em> field values are returned in UTC format</li>\n</ul>\n</li>\n<li><code>status</code>object: contains the campaign results for this specific record<ul>\n<li>omitted if the list is not assigned to the campaign or the campaign doesn't exist</li>\n<li>field names are predefined</li>\n<li><em><strong>completed</strong></em> field is always present, while the other fields may be absent if the record was never called or never reached an agent.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>instanceId</td>\n<td>string</td>\n<td>yes (can be found in the <a href=\"https://solar-firefly-658194.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/request/25415836-b962ab65-a43c-4088-9c32-1432871ec377?action=share&amp;source=copy-link&amp;creator=34538377&amp;ctx=documentation\"><i>Get Campaign</i> </a> response)</td>\n<td>-</td>\n</tr>\n<tr>\n<td>fields</td>\n<td>list of JSON Objects</td>\n<td>yes (specifies the key fields to be used for the object search; the non-key fields are ignored)</td>\n<td><code>-</code></td>\n</tr>\n<tr>\n<td>extractAttempts</td>\n<td>boolean</td>\n<td>no (if <code>true,</code>the method returns the list of all attempts)</td>\n<td><code>false</code> (Default);  <br /><code>true</code></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified campaign was not found;  <br />Specified record was not found;  <br />Invalid URL</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Specified instance is not bound to the selected campaign</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","campaign","queryRecord",":campaign_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"702ccbfa-da7e-4bae-9d6e-5e3562d8df0b","type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"c6e0200d-c84d-4b36-a3cc-1d3bba7aa205","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"instanceId\": \"DBA3A9B0-6CC4-11EE-807C-0800200C9A66\",   \r\n    \"extractAttempts\": false,\r\n    \"fields\": {\r\n        \"id\": \"1\"\r\n    }\r\n}  ","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/campaign/queryRecord/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","campaign","queryRecord",":campaign_id"],"variable":[{"key":"campaign_id","value":"85389D39-E05C-4CE7-B36D-4401BEA52E14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jan 2023 19:32:28 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"504"},{"key":"Connection","value":"close"},{"key":"Set-Cookie","value":"AWSALB=RsvSrUR581IIyuI14qpruJZCSPoRa2w17ewFS01YCgKoPaced1kzhvUy2M4hwQQO0IHRWuPrpqAQAUdrakrGAqxqD4qULyIFyrvRl8TSx/hXZ+rsHnJsHj9XTby8; Expires=Fri, 27 Jan 2023 19:32:28 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=RsvSrUR581IIyuI14qpruJZCSPoRa2w17ewFS01YCgKoPaced1kzhvUy2M4hwQQO0IHRWuPrpqAQAUdrakrGAqxqD4qULyIFyrvRl8TSx/hXZ+rsHnJsHj9XTby8; Expires=Fri, 27 Jan 2023 19:32:28 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"entry\": {\n        \"firstname\": \"Firstname4\",\n        \"date_time\": \"29-12-2023\",\n        \"phone\": \"1004\",\n        \"id\": \"N4\",\n        \"lastname\": \"Lastname4\"\n    },\n    \"status\": {\n        \"globalInteractionID\": \"\",\n        \"lastCallDuration\": 0,\n        \"lastDisposition\": \"\",\n        \"totalAttempts\": 0,\n        \"completed\": false,\n        \"completedTime\": \"\",\n        \"lastAgent\": \"\",\n        \"lastPhone\": \"\",\n        \"lastDate\": \"\",\n        \"custom_field_1\": \"\",\n        \"custom_field_2\": \"\"\n    }\n}"}],"_postman_id":"d582630c-c1a7-4355-af4e-f98ed9fda092"}],"id":"1b98a771-46fa-4912-b462-2c6101f3067c","description":"<p>Bright Pattern's List Management API provides a convenient way to perform routine campaign management tasks without the <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UserInterface/AboutUserInterface\">Contact Center Administrator application</a>. The API methods described in this section allow managers to manipulate campaign activity, view campaign data, and perform actions on associated calling lists.</p>\n<p>Bright Pattern Contact Center solution defines several outbound campaign types - <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/ServicesandCampaigns/ServicesandCampaignsOverview#:~:text=Outbound%20Voice,pure%20outbound%20campaigns.\">Outbound Voice</a>, <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/ServicesandCampaigns/ServicesandCampaignsOverview#:~:text=Blended%20Voice,the%20same%20way.\">Blended Voice</a>, and <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/ServicesandCampaigns/ServicesandCampaignsOverview#:~:text=Outbound%20Messaging,SMS/MMS%20campaigns\">Outbound Messaging</a>. The API methods described in this and the following sections fully support each campaign type.</p>\n<p><strong>Note:</strong> Performing operations on all campaigns requires the user to have the \"<a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UsersandTeams/Privileges#:~:text=Reserved.-,Manage%20all%20services%20and%20campaigns,to%20enable%20users%20to%20access%20only%20assigned%20service%20campaigns%20(see%20below).,-To%20prevent%20the\"><i>Manage all services and campaigns</i></a>\" privilege, configured in the Contact Center Administrator application. Alternatively, the \"<a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UsersandTeams/Privileges#:~:text=must%20be%20disabled.-,Manage%20assigned%20services%20and%20campaigns,user%20from%20creating%20new%20campaigns%2C%20both%20these%20privileges%20must%20be%20disabled.,-Manage%20caller%20IDs\"><i>Manage assigned services and campaigns</i></a>\" privilege must be enabled for users to manipulate only their assigned campaigns. Additional privileges required are explicitly specified in the corresponding method descriptions.</p>\n<p>The methods described below use the path variable, <code>campaign_id</code>, to reference the campaign an operation is to be performed on. The unique identifier of a campaign can be found by opening that campaign in the Contact Center Administrator application, <a href=\"https://help.brightpattern.com/File:CCA-Services-and-Campaigns-Overview-53.PNG\">Services &amp; Campaigns section</a>. The id will be displayed in the '#SERVICES_CAMPAIGNS:SERVICES_PROPERTIES:' fragment of the URL.</p>\n<p>Alternatively, <code>campaign_id</code>, can be found in the response body of the <em>Get Campaigns</em> method (see <a href=\"https://go.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/documentation/25415836-9aa410d1-164e-41c1-953c-de954a289dbc?entity=request-c1f82964-13a6-41db-b56f-bb702b71420a\">here</a>).</p>\n","_postman_id":"1b98a771-46fa-4912-b462-2c6101f3067c"},{"name":"Lists","item":[{"name":"Get All Records DEPRECATED","id":"3758c346-8460-49dd-bca6-7589be971475","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fromIndex\": 0,\r\n    \"maxSize\": \"100\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/getAll/:list_id/:campaign_id","description":"<p>This method returns a list of records from a calling list associated with a campaign.</p>\n<p>Records are referenced by indexes, assigned to each record in the list in sequential order of insertion (beginning from 0). All records with an index greater than or equal to the requested record index, <code>fromIndex</code>, are returned in the response.</p>\n<p><strong>Note:</strong> The returned recordset contains JSON objects sorted by the index field. List Record JSON Object has two sub-objects, <em><strong>entry</strong></em> and <em><strong>status</strong></em>, defined as follows:</p>\n<ul>\n<li><p><code>entry</code> object: contains a copy of the list entry</p>\n<ul>\n<li><p>field names are retained as defined at list creation</p>\n<ul>\n<li><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/CaseandContactManagement/CustomFields#Activity_History\">custom fields</a> are returned with the prefix '<code>custom_</code>' added to the name defined in the Administrator Application</li>\n</ul>\n</li>\n<li><p><strong>Note:</strong> The value returned in the <em><strong>id</strong></em> field can be used to reference this record in further API requests.</p>\n</li>\n</ul>\n</li>\n<li><p><code>status</code>object: contains the campaign results for this specific record</p>\n<ul>\n<li><p>omitted if the list is not assigned to the campaign or the campaign doesn't exist</p>\n</li>\n<li><p>field names are predefined</p>\n</li>\n<li><p><em><strong>completed</strong></em> field is always present, while the other fields may be absent if the record was never called or never reached an agent.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>maxSize</td>\n<td>integer, ≤ 1000</td>\n<td>yes (Specifies the maximum number of records per page when using <a href=\"#2ed4dcaa-ed07-4724-b0d5-d537cef1046a\">cursor-based pagination</a>)</td>\n<td><code>1...1000</code></td>\n</tr>\n<tr>\n<td>fromIndex</td>\n<td>string</td>\n<td>yes (specifies initial record index, used for pagination)</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified Campaign was not found;  <br />Specified List was not found;  <br />Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","getAll",":list_id",":campaign_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"6a12d483-928e-4920-89a2-d729802b92cc","type":"any","value":null,"key":"list_id"},{"id":"3953304c-a5f8-4016-91bc-f447cc43c59d","type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"4aafe4f2-ddeb-4037-9d27-98f6536289bd","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fromIndex\": 0,\r\n    \"maxSize\": \"100\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/callinglist/getAll/:list_id/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","callinglist","getAll",":list_id",":campaign_id"],"variable":[{"key":"list_id","value":"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D"},{"key":"campaign_id","value":"85389D39-E05C-4CE7-B36D-4401BEA52E14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Feb 2023 11:46:10 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"484"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=P1ZkiJcWk4TjHjsqCDgu9B7oB0Lsk+1lbFcJfjasiFio1wc/NvMY1eVlfO6y7AIftXm6H1CntVmeG0z65ATvurWusP3seVJjosI5J4Hw6j6BLzUWjfk/v4x+gHzG; Expires=Thu, 09 Feb 2023 11:46:10 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=P1ZkiJcWk4TjHjsqCDgu9B7oB0Lsk+1lbFcJfjasiFio1wc/NvMY1eVlfO6y7AIftXm6H1CntVmeG0z65ATvurWusP3seVJjosI5J4Hw6j6BLzUWjfk/v4x+gHzG; Expires=Thu, 09 Feb 2023 11:46:10 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"entry\": {\n      \"firstname\": \"Graham\",\n      \"phone\": \"16509999999\",\n      \"id\": \"1\",\n      \"lastname\": \"Smith\",\n      \"status\": \"Gold\"\n    },\n    \"index\": 0,\n    \"status\": {\n      \"globalInteractionID\": \"0B767156-D012-4F63-A3E2-12ACFC2F26EA\",\n      \"lastCallDuration\": 0,\n      \"lastDisposition\": \"No disposition\",\n      \"totalAttempts\": 1,\n      \"completed\": false,\n      \"lastAgent\": \"elizabeth\",\n      \"lastPhone\": \"16509999999\",\n      \"lastDate\": \"2021-02-19T19:11:40.000\"\n    }\n  },\n  {\n    \"entry\": {\n      \"firstname\": \"Mike\",\n      \"phone\": \"16507777777\",\n      \"id\": \"2\",\n      \"lastname\": \"Miller\",\n      \"status\": \"Platinum\"\n    },\n    \"index\": 1,\n    \"status\": {\n      \"globalInteractionID\": \"3F4F2ACD-1233-42E3-8092-3A9F7D9D84BC\",\n      \"lastCallDuration\": 0,\n      \"lastDisposition\": \"Try again later\",\n      \"totalAttempts\": 1,\n      \"completed\": false,\n      \"lastAgent\": \"elizabeth\",\n      \"lastPhone\": \"16507777777\",\n      \"lastDate\": \"2021-02-19T19:12:21.000\"\n    }\n  },\n  {\n    \"entry\": {\n      \"firstname\": \"Katrina\",\n      \"phone\": \"16505555555\",\n      \"id\": \"3\",\n      \"lastname\": \"Johnson\",\n      \"status\": \"Silver\"\n    },\n    \"index\": 2,\n    \"status\": {\n      \"globalInteractionID\": \"9D914127-C1C4-4587-8B30-4E2A9790D184\",\n      \"lastCallDuration\": 0,\n      \"lastDisposition\": \"Product sold\",\n      \"totalAttempts\": 1,\n      \"completed\": true,\n      \"completedTime\": \"2021-02-19T19:12:37.000\",\n      \"lastAgent\": \"elizabeth\",\n      \"lastPhone\": \"16505555555\",\n      \"lastDate\": \"2021-02-19T19:12:37.000\"\n    }\n  },\n  {\n    \"entry\": {\n      \"firstname\": \"Jenny\",\n      \"phone\": \"16502222222\",\n      \"id\": \"4\",\n      \"lastname\": \"Green\",\n      \"status\": \"Gold\"\n    },\n    \"index\": 3,\n    \"status\": {\n      \"globalInteractionID\": \"35DE77AC-5A37-4907-97CA-50B09B30ECDF\",\n      \"lastCallDuration\": 0,\n      \"lastDisposition\": \"Fast busy\",\n      \"totalAttempts\": 1,\n      \"completed\": false,\n      \"lastAgent\": \"elizabeth\",\n      \"lastPhone\": \"16502222222\",\n      \"lastDate\": \"2021-02-19T19:13:08.000\"\n    }\n  }\n]"}],"_postman_id":"3758c346-8460-49dd-bca6-7589be971475"},{"name":"Get Updated Records DEPRECATED","id":"cc3797ba-ac82-4274-8764-9904ebb844a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fromTime\": \"2013-03-01T13:15:06.456\",\r\n    \"maxSize\": \"100\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/getChanged/:list_id/:campaign_id","description":"<p>This method returns a list of records from a calling list that have had any activity within the associated campaign since the requested initial time, <code>fromTime</code>.</p>\n<p><strong>Note:</strong> The returned record set contains JSON objects sorted by the index field. List Record JSON Object has two sub-objects, <em><strong>entry</strong></em> and <em><strong>status</strong></em>, defined as follows:</p>\n<ul>\n<li><p><code>entry</code> object: contains a copy of the list entry</p>\n<ul>\n<li><p>field names are retained as defined at list creation</p>\n<ul>\n<li><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/CaseandContactManagement/CustomFields#Activity_History\">custom fields</a> are returned with the prefix '<code>custom_</code>' added to the name defined in the Administrator Application</li>\n</ul>\n</li>\n<li><p><em><strong>time</strong></em> and <em><strong>date</strong></em> field values are returned in UTC format</p>\n</li>\n</ul>\n</li>\n<li><p><code>status</code>object: contains the campaign results for this specific record</p>\n<ul>\n<li><p>omitted if the list is not assigned to the campaign or the campaign doesn't exist</p>\n</li>\n<li><p>field names are predefined</p>\n</li>\n<li><p><em><strong>completed</strong></em> field is always present, while the other fields may be absent if the record was never called or never reached an agent.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>maxSize</td>\n<td>integer, ≤ 1000</td>\n<td>yes (Specifies the maximum number of records per page when using <a href=\"#2ed4dcaa-ed07-4724-b0d5-d537cef1046a\">cursor-based pagination</a>)</td>\n<td><code>1...1000</code></td>\n</tr>\n<tr>\n<td>fromTime</td>\n<td>string</td>\n<td>yes (specifies initial time)</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified Campaign was not found;  <br />Specified List was not found;  <br />Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","getChanged",":list_id",":campaign_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"56204732-da94-4e64-85fb-3426e7c935d4","type":"any","value":null,"key":"list_id"},{"id":"b9d4654c-ca51-44b9-9672-9fd326b344d8","type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"574ddbdc-0910-43a2-b570-905d7a436635","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fromTime\": \"2013-03-01T13:15:06.456\",\r\n    \"maxSize\": \"100\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/callinglist/getChanged/:list_id/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","callinglist","getChanged",":list_id",":campaign_id"],"variable":[{"key":"list_id","value":"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D"},{"key":"campaign_id","value":"85389D39-E05C-4CE7-B36D-4401BEA52E14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Feb 2023 11:46:10 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"484"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=P1ZkiJcWk4TjHjsqCDgu9B7oB0Lsk+1lbFcJfjasiFio1wc/NvMY1eVlfO6y7AIftXm6H1CntVmeG0z65ATvurWusP3seVJjosI5J4Hw6j6BLzUWjfk/v4x+gHzG; Expires=Thu, 09 Feb 2023 11:46:10 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=P1ZkiJcWk4TjHjsqCDgu9B7oB0Lsk+1lbFcJfjasiFio1wc/NvMY1eVlfO6y7AIftXm6H1CntVmeG0z65ATvurWusP3seVJjosI5J4Hw6j6BLzUWjfk/v4x+gHzG; Expires=Thu, 09 Feb 2023 11:46:10 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"entry\": {\n      \"firstname\": \"Graham\",\n      \"phone\": \"16509999999\",\n      \"id\": \"1\",\n      \"lastname\": \"Smith\",\n      \"status\": \"Gold\"\n    },\n    \"completed\": false,\n    \"recordDisposition\": \"\",\n    \"recordDispositionCode\": \"\",\n    \"totalAttempts\": 1,\n    \"attempts\": [\n      {\n        \"call_attempted\": false,\n        \"disposition\": \"No disposition\",\n        \"dispositionCode\": \"\",\n        \"date\": \"2021-02-19T19:11:40.000\",\n        \"phone\": \"16509999999\",\n        \"callDuration\": 0,\n        \"dialingDuration\": 0,\n        \"callNotes\": \"\",\n        \"agent\": \"elizabeth\",\n        \"globalInteractionID\": \"0B767156-D012-4F63-A3E2-12ACFC2F26EA\",\n        \"CPADuration\": 0\n      }\n    ]\n  },\n  {\n    \"entry\": {\n      \"firstname\": \"Mike\",\n      \"phone\": \"16507777777\",\n      \"id\": \"2\",\n      \"lastname\": \"Miller\",\n      \"status\": \"Platinum\"\n    },\n    \"completed\": false,\n    \"recordDisposition\": \"\",\n    \"recordDispositionCode\": \"\",\n    \"totalAttempts\": 1,\n    \"attempts\": [\n      {\n        \"call_attempted\": false,\n        \"disposition\": \"Try again later\",\n        \"dispositionCode\": \"\",\n        \"date\": \"2021-02-19T19:12:21.000\",\n        \"phone\": \"16507777777\",\n        \"callDuration\": 0,\n        \"dialingDuration\": 0,\n        \"callNotes\": \"\",\n        \"agent\": \"elizabeth\",\n        \"globalInteractionID\": \"3F4F2ACD-1233-42E3-8092-3A9F7D9D84BC\",\n        \"CPADuration\": 0\n      }\n    ]\n  },\n  {\n    \"entry\": {\n      \"firstname\": \"Katrina\",\n      \"phone\": \"16505555555\",\n      \"id\": \"3\",\n      \"lastname\": \"Johnson\",\n      \"status\": \"Silver\"\n    },\n    \"completed\": true,\n    \"recordDisposition\": \"Product sold\",\n    \"recordDispositionCode\": \"\",\n    \"totalAttempts\": 1,\n    \"attempts\": [\n      {\n        \"call_attempted\": false,\n        \"disposition\": \"Product sold\",\n        \"dispositionCode\": \"\",\n        \"date\": \"2021-02-19T19:12:37.000\",\n        \"phone\": \"16505555555\",\n        \"callDuration\": 0,\n        \"dialingDuration\": 0,\n        \"callNotes\": \"\",\n        \"agent\": \"elizabeth\",\n        \"globalInteractionID\": \"9D914127-C1C4-4587-8B30-4E2A9790D184\",\n        \"CPADuration\": 0\n      }\n    ]\n  },\n  {\n    \"entry\": {\n      \"firstname\": \"Jenny\",\n      \"phone\": \"16502222222\",\n      \"id\": \"4\",\n      \"lastname\": \"Green\",\n      \"status\": \"Gold\"\n    },\n    \"completed\": false,\n    \"recordDisposition\": \"\",\n    \"recordDispositionCode\": \"\",\n    \"totalAttempts\": 1,\n    \"attempts\": [\n      {\n        \"call_attempted\": false,\n        \"disposition\": \"Fast busy\",\n        \"dispositionCode\": \"\",\n        \"date\": \"2021-02-19T19:13:08.000\",\n        \"phone\": \"16502222222\",\n        \"callDuration\": 0,\n        \"dialingDuration\": 0,\n        \"callNotes\": \"\",\n        \"agent\": \"elizabeth\",\n        \"globalInteractionID\": \"35DE77AC-5A37-4907-97CA-50B09B30ECDF\",\n        \"CPADuration\": 0\n      }\n    ]\n  }\n]"}],"_postman_id":"cc3797ba-ac82-4274-8764-9904ebb844a5"},{"name":"Query a Record DEPRECATED","id":"b13cb6ec-48c5-49d7-96fa-b66e07f96602","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"N4\"\r\n}    ","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/get/:list_id/:campaign_id","description":"<p>This method returns a copy of an <em>existing</em> record in a calling list of an associated campaign. The list is specified in the path variable, <code>list_id</code>, by its unique identifier returned in the response body of the <em>Get Campaign</em> method (see <a href=\"https://go.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/documentation/25415836-9aa410d1-164e-41c1-953c-de954a289dbc?entity=request-b962ab65-a43c-4088-9c32-1432871ec377\">here</a>). The campaign is specified in the path variable, <code>campaign_id</code>, by its unique identifier returned in the response body of the <em>Get Campaigns</em> method (see <a href=\"https://go.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/documentation/25415836-9aa410d1-164e-41c1-953c-de954a289dbc?entity=request-c1f82964-13a6-41db-b56f-bb702b71420a\">here</a>).</p>\n<p>The record search is performed by its unique identifier, <code>id</code>, returned in the response body of the <em>Get All Records</em> method (see <a href=\"https://go.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/documentation/25415836-9aa410d1-164e-41c1-953c-de954a289dbc?entity=request-cca81935-16c4-47fc-b22b-ec39c1f6c2d2\">here</a>). If the list has been added to the specified campaign more than once, the method returns an array of records. An error is returned if a record with the specified id does not exist in the selected list.</p>\n<p><strong>Note:</strong> The response body contains the List Record JSON Object, defined by two sub-objects as follows:</p>\n<ul>\n<li><code>entry</code> object: contains a copy of the list entry<ul>\n<li>field names are retained as defined at list creation<ul>\n<li><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/CaseandContactManagement/CustomFields#Activity_History\">custom fields</a> are returned with the prefix '<code>custom_</code>' added to the name defined in the Administrator Application</li>\n</ul>\n</li>\n<li><em><strong>time</strong></em> and <em><strong>date</strong></em> field values are returned in UTC format</li>\n</ul>\n</li>\n<li><code>status</code>object: contains the campaign results for this specific record<ul>\n<li>omitted if the list is not assigned to the campaign or the campaign doesn't exist</li>\n<li>field names are predefined</li>\n<li><em><strong>completed</strong></em> field is always present, while the other fields may be absent if the record was never called or never reached an agent.</li>\n</ul>\n</li>\n</ul>\n<p><strong>Note:</strong> If a PHONE type field is defined as a key, the record value is checked for a full match with the value stored in the database or the original source (if the data was modified upon loading into the database).</p>\n<h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified List was not found;  <br />Specified Record was not found;  <br />Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","get",":list_id",":campaign_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"85326b54-8e6d-4207-b27a-3845a55f659d","type":"any","value":null,"key":"list_id"},{"id":"6ba3f45f-df86-4ef0-83c8-69db166c6a9e","type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"16569492-f004-4278-81f8-7743e11aca78","name":"0 instances - 200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"2\"\r\n}   ","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/callinglist/get/:list_id/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","callinglist","get",":list_id",":campaign_id"],"variable":[{"key":"list_id","value":"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D"},{"key":"campaign_id","value":"non-existent"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jan 2023 19:32:28 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"504"},{"key":"Connection","value":"close"},{"key":"Set-Cookie","value":"AWSALB=RsvSrUR581IIyuI14qpruJZCSPoRa2w17ewFS01YCgKoPaced1kzhvUy2M4hwQQO0IHRWuPrpqAQAUdrakrGAqxqD4qULyIFyrvRl8TSx/hXZ+rsHnJsHj9XTby8; Expires=Fri, 27 Jan 2023 19:32:28 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=RsvSrUR581IIyuI14qpruJZCSPoRa2w17ewFS01YCgKoPaced1kzhvUy2M4hwQQO0IHRWuPrpqAQAUdrakrGAqxqD4qULyIFyrvRl8TSx/hXZ+rsHnJsHj9XTby8; Expires=Fri, 27 Jan 2023 19:32:28 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n  \"entry\": {\n    \"firstname\": \"Mike\",\n    \"phone\": \"16505555555\",\n    \"id\": \"2\",\n    \"lastname\": \"Miller\",\n    \"status\": \"Platinum\"\n  }\n}"},{"id":"d5666160-e169-41d3-a0d3-817e22c8b00f","name":"1 instance - 200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"2\"\r\n}   ","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/callinglist/get/:list_id/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","callinglist","get",":list_id",":campaign_id"],"variable":[{"key":"list_id","value":"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D"},{"key":"campaign_id","value":"85389D39-E05C-4CE7-B36D-4401BEA52E14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jan 2023 19:32:28 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"504"},{"key":"Connection","value":"close"},{"key":"Set-Cookie","value":"AWSALB=RsvSrUR581IIyuI14qpruJZCSPoRa2w17ewFS01YCgKoPaced1kzhvUy2M4hwQQO0IHRWuPrpqAQAUdrakrGAqxqD4qULyIFyrvRl8TSx/hXZ+rsHnJsHj9XTby8; Expires=Fri, 27 Jan 2023 19:32:28 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=RsvSrUR581IIyuI14qpruJZCSPoRa2w17ewFS01YCgKoPaced1kzhvUy2M4hwQQO0IHRWuPrpqAQAUdrakrGAqxqD4qULyIFyrvRl8TSx/hXZ+rsHnJsHj9XTby8; Expires=Fri, 27 Jan 2023 19:32:28 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n  \"entry\": {\n    \"firstname\": \"Mike\",\n    \"phone\": \"16505555555\",\n    \"id\": \"2\",\n    \"lastname\": \"Miller\",\n    \"status\": \"Platinum\"\n  },\n  \"status\": {\n    \"globalInteractionID\": \"3F4F2ACD-1233-42E3-8092-3A9F7D9D84BC\",\n    \"lastCallDuration\": 0,\n    \"lastDisposition\": \"Try again later\",\n    \"totalAttempts\": 1,\n    \"completed\": false,\n    \"lastAgent\": \"elizabeth\",\n    \"lastPhone\": \"16505555555\",\n    \"lastDate\": \"2021-02-19T19:12:21.000\"\n  }\n}"},{"id":"f24af413-0001-4762-8c5f-d5f45bdb4c0c","name":"2 instances - 200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"2\"\r\n}   ","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/callinglist/get/:list_id/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","callinglist","get",":list_id",":campaign_id"],"variable":[{"key":"list_id","value":"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D"},{"key":"campaign_id","value":"85389D39-E05C-4CE7-B36D-4401BEA52E14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jan 2023 19:32:28 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"504"},{"key":"Connection","value":"close"},{"key":"Set-Cookie","value":"AWSALB=RsvSrUR581IIyuI14qpruJZCSPoRa2w17ewFS01YCgKoPaced1kzhvUy2M4hwQQO0IHRWuPrpqAQAUdrakrGAqxqD4qULyIFyrvRl8TSx/hXZ+rsHnJsHj9XTby8; Expires=Fri, 27 Jan 2023 19:32:28 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=RsvSrUR581IIyuI14qpruJZCSPoRa2w17ewFS01YCgKoPaced1kzhvUy2M4hwQQO0IHRWuPrpqAQAUdrakrGAqxqD4qULyIFyrvRl8TSx/hXZ+rsHnJsHj9XTby8; Expires=Fri, 27 Jan 2023 19:32:28 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"entry\": {\n            \"firstname\": \"Mike\",\n            \"phone\": \"16505555555\",\n            \"id\": \"2\",\n            \"lastname\": \"Miller\",\n            \"status\": \"Platinum\"\n        },\n        \"status\": {\n            \"globalInteractionID\": \"3F4F2ACD-1233-42E3-8092-3A9F7D9D84BC\",\n            \"lastCallDuration\": 0,\n            \"lastDisposition\": \"Try again later\",\n            \"totalAttempts\": 1,\n            \"completed\": false,\n            \"lastAgent\": \"elizabeth\",\n            \"lastPhone\": \"16505555555\",\n            \"lastDate\": \"2021-02-19T19:12:21.000\"\n        }\n    },\n    {\n        \"entry\": {\n            \"firstname\": \"Mike\",\n            \"phone\": \"16505555555\",\n            \"id\": \"2\",\n            \"lastname\": \"Miller\",\n            \"status\": \"Platinum\"\n        },\n        \"status\": {\n            \"globalInteractionID\": \"B4923E55-A5BB-4D18-A040-B4655CFC1866\",\n            \"lastCallDuration\": 3,\n            \"lastDisposition\": \"Product sold\",\n            \"totalAttempts\": 1,\n            \"completed\": true,\n            \"lastAgent\": \"admin\",\n            \"lastPhone\": \"14151092623\",\n            \"lastDate\": \"2024-04-22T13:22:13.000\"\n        }\n    }\n]"}],"_postman_id":"b13cb6ec-48c5-49d7-96fa-b66e07f96602"},{"name":"Fetch All Records","id":"7bb15f1d-3b32-49ba-a004-8a0856b41180","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fromIndex\": 0,\r\n    \"maxSize\": \"100\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/fetchAll/:list_id","description":"<p>This method returns a list of records from an existing calling list, specified in the path variable, list_id.</p>\n<p>Records are referenced by indexes, assigned to each record in the list in sequential order of insertion (beginning from 0). All records with an index greater than or equal to the requested record index, <code>fromIndex</code>, are returned in the response.</p>\n<p><strong>Note:</strong> The returned recordset contains JSON objects sorted by the index field. List Record JSON Object contains:</p>\n<ul>\n<li><p><code>entry</code> object: contains a copy of the list entry</p>\n<ul>\n<li><p>field names are retained as defined at list creation</p>\n<ul>\n<li><strong>Note:</strong> This method doesn't return custom fields</li>\n</ul>\n</li>\n<li><p><strong>Note:</strong> The value returned in the <em><strong>id</strong></em> field can be used to reference this record in further API requests.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>maxSize</td>\n<td>integer, ≤ 1000</td>\n<td>yes (Specifies the maximum number of records per page when using <a href=\"#2ed4dcaa-ed07-4724-b0d5-d537cef1046a\">cursor-based pagination</a>)</td>\n<td><code>1...1000</code></td>\n</tr>\n<tr>\n<td>fromIndex</td>\n<td>string</td>\n<td>yes (specifies initial record index, used for pagination)</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified List was not found;  <br />Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","fetchAll",":list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"f943efd0-5c6b-4c3a-8898-4b7d0654765a","type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"e7547153-38f6-4af0-a7db-76388a9de6fa","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fromIndex\": 0,\r\n    \"maxSize\": \"100\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/callinglist/fetchAll/:list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","callinglist","fetchAll",":list_id"],"variable":[{"key":"list_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Feb 2023 11:46:10 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"484"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=P1ZkiJcWk4TjHjsqCDgu9B7oB0Lsk+1lbFcJfjasiFio1wc/NvMY1eVlfO6y7AIftXm6H1CntVmeG0z65ATvurWusP3seVJjosI5J4Hw6j6BLzUWjfk/v4x+gHzG; Expires=Thu, 09 Feb 2023 11:46:10 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=P1ZkiJcWk4TjHjsqCDgu9B7oB0Lsk+1lbFcJfjasiFio1wc/NvMY1eVlfO6y7AIftXm6H1CntVmeG0z65ATvurWusP3seVJjosI5J4Hw6j6BLzUWjfk/v4x+gHzG; Expires=Thu, 09 Feb 2023 11:46:10 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"entry\": {\n      \"firstname\": \"Graham\",\n      \"phone\": \"16509999999\",\n      \"id\": \"1\",\n      \"lastname\": \"Smith\",\n      \"status\": \"Gold\"\n    },\n    \"index\": 0,\n    },\n  {\n    \"entry\": {\n      \"firstname\": \"Mike\",\n      \"phone\": \"16507777777\",\n      \"id\": \"2\",\n      \"lastname\": \"Miller\",\n      \"status\": \"Platinum\"\n    },\n    \"index\": 1,\n    },\n  {\n    \"entry\": {\n      \"firstname\": \"Katrina\",\n      \"phone\": \"16505555555\",\n      \"id\": \"3\",\n      \"lastname\": \"Johnson\",\n      \"status\": \"Silver\"\n    },\n    \"index\": 2,\n    },\n  {\n    \"entry\": {\n      \"firstname\": \"Jenny\",\n      \"phone\": \"16502222222\",\n      \"id\": \"4\",\n      \"lastname\": \"Green\",\n      \"status\": \"Gold\"\n    },\n    \"index\": 3, \n    }\n  }\n]"}],"_postman_id":"7bb15f1d-3b32-49ba-a004-8a0856b41180"},{"name":"Fetch Record","id":"2e94d48f-80a8-450f-b583-9b2434ca6fee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"phone\": [\"16505555555\", \"16505555556\"]\r\n}   ","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/fetch/:list_id","description":"<p>This method returns a copy of one or more existing records in a calling list. The search for the records is performed based on the defined key fields.</p>\n<p><strong>Note:</strong> Time and date field values are returned in UTC format.</p>\n<p><strong>Note:</strong> If a PHONE type field is defined as a key, the record value is checked for a full match with the value stored in the database or the original source (if the data was modified upon loading into the database).</p>\n<h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified List was not found;  <br />Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","fetch",":list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"47035619-98a5-44dd-812d-3d64b3d4447d","type":"any","value":"","key":"list_id"}]}},"response":[{"id":"b634f0f9-b546-4e3e-b72d-c3fcf25d5765","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"phone\": [\"16505555555\", \"16505555556\"]\r\n}   ","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/callinglist/fetch/:list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","callinglist","fetch",":list_id"],"variable":[{"key":"list_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Feb 2023 11:46:10 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"484"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=P1ZkiJcWk4TjHjsqCDgu9B7oB0Lsk+1lbFcJfjasiFio1wc/NvMY1eVlfO6y7AIftXm6H1CntVmeG0z65ATvurWusP3seVJjosI5J4Hw6j6BLzUWjfk/v4x+gHzG; Expires=Thu, 09 Feb 2023 11:46:10 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=P1ZkiJcWk4TjHjsqCDgu9B7oB0Lsk+1lbFcJfjasiFio1wc/NvMY1eVlfO6y7AIftXm6H1CntVmeG0z65ATvurWusP3seVJjosI5J4Hw6j6BLzUWjfk/v4x+gHzG; Expires=Thu, 09 Feb 2023 11:46:10 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n  \"entry\": {\n    \"firstname\": \"Mike\",\n    \"phone\": \"16505555555\",\n    \"id\": \"2\",\n    \"lastname\": \"Miller\",\n    \"status\": \"Platinum\"\n  }\n}"}],"_postman_id":"2e94d48f-80a8-450f-b583-9b2434ca6fee"},{"name":"Get Lists","id":"22547783-ee42-45b1-960e-90005d9f46a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"limit\": 100,\n    \"cursor\": \"590e9abd4abbf1165862d342\"\n}"},"url":"https://<tenant_URL>/configapi/v3/callinglist/getAll","description":"<p>This method returns all Calling Lists, sorted by the standard MongoDB <code>_id</code> field.</p>\n<p><strong>Note:</strong> To accommodate the display of large numbers of list records, Bright Pattern Contact Solution utilizes <em>Cursor-based pagination</em> (see <a href=\"https://solar-firefly-658194.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/folder/25415836-c3a7249d-981d-419b-b482-d06c52fbd699?ctx=documentation\">here</a>). The <code>_id</code> field is used as the \"cursor\" to reference the last served record.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>integer, ≤ 1000</td>\n<td>yes (Specifies the maximum number of records per page when using <a href=\"#2ed4dcaa-ed07-4724-b0d5-d537cef1046a\">cursor-based pagination</a>)</td>\n<td><code>1...1000</code></td>\n</tr>\n<tr>\n<td>cursor</td>\n<td>string</td>\n<td>no (used for pagination)</td>\n<td>First request: <code>null</code>  <br />Subsequent request: value received in the response to the previous request</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (limit exceeded; format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","getAll"],"host":["<tenant_URL>"],"query":[],"variable":[]}},"response":[{"id":"00d189a8-d3cf-4198-8343-a239827244ba","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"limit\": 100,\n    \"cursor\": \"590e9abd4abbf1165862d342\"  \n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/getAll"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Feb 2023 11:51:10 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"484"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=uEtM6vTM32S0iuxDGfxFSYIcoQtu0OQUgb/pJSoSa78AxMYS9JPjp7yQ4SVqGk4e/BHtrkbri+X/zYRSPxnVW8K8Dm5KDjMUHBq9COkqJj5nzz43Ehw7E8FzFiyI; Expires=Thu, 09 Feb 2023 11:51:10 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=uEtM6vTM32S0iuxDGfxFSYIcoQtu0OQUgb/pJSoSa78AxMYS9JPjp7yQ4SVqGk4e/BHtrkbri+X/zYRSPxnVW8K8Dm5KDjMUHBq9COkqJj5nzz43Ehw7E8FzFiyI; Expires=Thu, 09 Feb 2023 11:51:10 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"next_cursor\": \"590e9abd4abbf1165862d342\",\n    \"records\": [\n        {\n            \"id\": \"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D\",\n            \"name\": \"List 1.csv\",\n            \"formatId\": \"31002C90-7188-11EE-A565-0800200C9A66\",\n            \"formatName\": \"format 1\",\n            \"allowUsingDefaultTimezone\": true,\n            \"defaultTimezone\": \"Europe/Dublin\",\n            \"totalRecords\": 100\n        },\n        {\n            \"id\": \"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D\",\n            \"name\": \"List 2.csv\",\n            \"formatId\": \"31002C90-7188-11EE-A565-0800200C9A66\",\n            \"formatName\": \"format 1\",\n            \"allowUsingDefaultTimezone\": false,\n            \"totalRecords\": 100\n        }\n    ]\n}"}],"_postman_id":"22547783-ee42-45b1-960e-90005d9f46a1"},{"name":"Get List","id":"ac42dea6-65b6-478b-bbec-514868e16504","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://<tenant_URL>/configapi/v3/callinglist/getList/:list_id","description":"<p>This method returns the information about a list, including its name, the format name, timezone settings, and amount of records of the specified list. Additionally, it returns the information about the associated campaign of that list, if any.</p>\n<h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (wrong cursor; format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified List was not found;  <br />Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","getList",":list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"a6bcccfb-fb57-45d8-9cf2-6f27016d1efe","type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"eadbccb9-8828-4636-850c-9da5fdde5688","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://<tenant_URL>/configapi/v3/callinglist/getList/:list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","callinglist","getList",":list_id"],"variable":[{"key":"list_id","value":"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Feb 2023 11:51:10 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"484"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=uEtM6vTM32S0iuxDGfxFSYIcoQtu0OQUgb/pJSoSa78AxMYS9JPjp7yQ4SVqGk4e/BHtrkbri+X/zYRSPxnVW8K8Dm5KDjMUHBq9COkqJj5nzz43Ehw7E8FzFiyI; Expires=Thu, 09 Feb 2023 11:51:10 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=uEtM6vTM32S0iuxDGfxFSYIcoQtu0OQUgb/pJSoSa78AxMYS9JPjp7yQ4SVqGk4e/BHtrkbri+X/zYRSPxnVW8K8Dm5KDjMUHBq9COkqJj5nzz43Ehw7E8FzFiyI; Expires=Thu, 09 Feb 2023 11:51:10 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n  \"name\": \"List 1.csv\",\n  \"formatId\": \"31002C90-7188-11EE-A565-0800200C9A66\",\n  \"formatName\": \"format 1\",\n  \"allowUsingDefaultTimezone\": true,\n  \"defaultTimezone\": \"Europe/Dublin\",\n  \"totalRecords\": 100,\n  \"campaigns\": [\n    {\n      \"campaignName\": \"Campaign name 1\",\n      \"campaignId\": \"99B6B870-6CC5-11EE-807C-0800200C9A66\",\n      \"instanceId\": \"94D63B10-6CF1-11EE-807C-0800200C9A66\"\n    },\n    {\n      \"campaignName\": \"Campaign name 1\",\n      \"campaignId\": \"99B6B870-6CC5-11EE-807C-0800200C9A66\",\n      \"instanceId\": \"9EA07CA0-6CF1-11EE-807C-0800200C9A66\"\n    },\n    {\n      \"campaignName\": \"Campaign name 2\",\n      \"campaignId\": \"7E57DE70-6CF1-11EE-807C-0800200C9A66\",\n      \"instanceId\": \"A5F55160-6CF1-11EE-807C-0800200C9A66\"\n    }\n  ]\n}"}],"_postman_id":"ac42dea6-65b6-478b-bbec-514868e16504"},{"name":"Delete List and Orphaned Format","id":"db8c0e5b-bd59-4cef-ac26-fcf80d4da22a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://<tenant_URL>/configapi/v3/callinglist/deleteList/:list_id","description":"<p>This method deletes a list, archiving all records with associated campaign results associated with that list. If the last list using a specific format was deleted, that format is removed as well.</p>\n<p><strong>Note:</strong> Bright Pattern Contact Center solution supports several <em>voice</em> campaign modes (see <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/ServicesandCampaigns/Outbound-General#:~:text=Type,selected%20campaign%20type.\">here</a>). Depending on the mode of the associated campaign, the active call behavior will differentiate as follows:</p>\n<ul>\n<li>Progressive, Predictive, or Automatic (IVR) campaigns<ul>\n<li>Upon instance deletion, all active, i.e. in a dialing state, within a script, or connected to an agent, calls are dropped</li>\n</ul>\n</li>\n<li>Preview campaigns<ul>\n<li>Upon instance deletion, only the calls not yet picked up by an agent are dropped. In-progress and connected calls are not affected</li>\n</ul>\n</li>\n</ul>\n<p>The results of completed calls are archived and available for downloading in the Contact Center Administrator application (see <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/ServicesandCampaigns/ArchiveTab\">here</a>). Interaction results for dropped calls are not saved.</p>\n<h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified List was not found;  <br />Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","deleteList",":list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"4cb4a6d5-7cfc-4cf7-9a82-58af2954f3b5","type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"ac0174c0-50dc-4640-86bf-8c876e4efead","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://<tenant_URL>/configapi/v3/callinglist/deleteList/:list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","callinglist","deleteList",":list_id"],"variable":[{"key":"list_id","value":"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Feb 2023 11:51:10 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"484"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=uEtM6vTM32S0iuxDGfxFSYIcoQtu0OQUgb/pJSoSa78AxMYS9JPjp7yQ4SVqGk4e/BHtrkbri+X/zYRSPxnVW8K8Dm5KDjMUHBq9COkqJj5nzz43Ehw7E8FzFiyI; Expires=Thu, 09 Feb 2023 11:51:10 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=uEtM6vTM32S0iuxDGfxFSYIcoQtu0OQUgb/pJSoSa78AxMYS9JPjp7yQ4SVqGk4e/BHtrkbri+X/zYRSPxnVW8K8Dm5KDjMUHBq9COkqJj5nzz43Ehw7E8FzFiyI; Expires=Thu, 09 Feb 2023 11:51:10 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"db8c0e5b-bd59-4cef-ac26-fcf80d4da22a"},{"name":"Create List","id":"d8daa665-2c72-4fb7-ae0e-0ee15bf1872e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"List 3.csv\",\r\n    \"formatId\": \"31002C90-7188-11EE-A565-0800200C9A66\",\r\n    \"allowUsingDefaultTimezone\": true,\r\n    \"defaultTimezone\": \"Europe/Dublin\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/createList","description":"<p>This method creates a new empty list using an existing format. The format is specified by its unique identifier, <code>formatId</code>, returned in the response body of the <em>Get Lists</em> method (see <a href=\"https://go.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/documentation/25415836-9aa410d1-164e-41c1-953c-de954a289dbc?entity=request-a09ba09b-48cf-4358-b55c-e7020a796c2c\">here</a>).</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>formatId</td>\n<td>string</td>\n<td>yes (can be found in the <a href=\"https://solar-firefly-658194.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/request/25415836-a09ba09b-48cf-4358-b55c-e7020a796c2c?action=share&amp;source=copy-link&amp;creator=34538377&amp;ctx=documentation\"><i>Get Lists</i> </a> response)</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified Format was not found;  <br />Invalid URL</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Duplicate name error</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","createList"],"host":["<tenant_URL>"],"query":[],"variable":[]}},"response":[{"id":"5e6e2db5-fd44-419c-8a1d-d47643bb112d","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"List 3.csv\",\r\n    \"formatId\": \"31002C90-7188-11EE-A565-0800200C9A66\",\r\n    \"allowUsingDefaultTimezone\": true,\r\n    \"defaultTimezone\": \"Europe/Dublin\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/createList"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jan 2023 20:54:36 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"468"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=JwzOce089f0iJ/jcggcQEH34NIVc7/erXwSrFTq+MkCKk+vDZxBxmgaIORyejh9pWv1qtWryXlqDSqk1Tk5XefiISET5dEPYreP+i7nzswZv1K4ObVG77mnGRs+f; Expires=Fri, 27 Jan 2023 20:54:36 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=JwzOce089f0iJ/jcggcQEH34NIVc7/erXwSrFTq+MkCKk+vDZxBxmgaIORyejh9pWv1qtWryXlqDSqk1Tk5XefiISET5dEPYreP+i7nzswZv1K4ObVG77mnGRs+f; Expires=Fri, 27 Jan 2023 20:54:36 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D\"\n}"}],"_postman_id":"d8daa665-2c72-4fb7-ae0e-0ee15bf1872e"},{"name":"Create List with New Format","id":"f9be3cb0-b9cb-459d-84f7-0aded1eb4a85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"formatName\": \"format 1\",\r\n    \"fields\": [\r\n        {\r\n            \"name\": \"id\",\r\n            \"type\": \"OTHER\",\r\n            \"required\": true,\r\n            \"searchable\": false,\r\n            \"skip\": false,\r\n            \"key\": false\r\n        },\r\n        {\r\n            \"name\": \"timeZone\",\r\n            \"type\": \"TIMEZONE\",\r\n            \"required\": true,\r\n            \"searchable\": false,\r\n            \"skip\": false,\r\n            \"key\": false,\r\n            \"default\": false\r\n        },        \r\n        {\r\n            \"name\": \"phone\",\r\n            \"type\": \"PHONE\",\r\n            \"required\": true,\r\n            \"searchable\": true,\r\n            \"skip\": false,\r\n            \"key\": true,\r\n            \"phoneType\": \"OTHER\",\r\n            \"removePrefix\": \"\",\r\n            \"defaultCountryCode\": \"\",\r\n            \"overrideTimezone\": \"timeZone\"\r\n        }            \r\n    ],\r\n    \"listName\": \"List 3.csv\",\r\n    \"allowUsingDefaultTimezone\": true,\r\n    \"defaultTimezone\": \"Europe/Dublin\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/createListWithNewFormat","description":"<p>This method creates a new empty list and a new format corresponding to that list.</p>\n<p>When creating the new list format, the fields must be defined with the following <em>properties</em> in mind:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field Property</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=Calling%20Hours.-,Name,names%20that%20differ%20in%20case%20only%20refer%20to%20the%20same%20field.,-Required%20Field\"><i>name</i></a> (string)</td>\n<td>Required property that defines field names. The names must be unique.  <br />Default value: <code>-</code></td>\n</tr>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=Required%20Field,in%20this%20field.\"><i>type</i></a> (string)</td>\n<td>Required property that indicates the type of data the field contains.  <br /><strong>Note:</strong> See the table below for available data types.  <br />Default value: <code>-</code></td>\n</tr>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=Required%20Field,cannot%20be%20unselected.\"><i>required</i></a> (boolean)</td>\n<td>Optional property that indicates that the data in this field is required.  <br />Default value: <code>false</code></td>\n</tr>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=Searchable%20Field,written%20against%20it.\"><i>searchable</i></a> (boolean)</td>\n<td>Optional property that indicates that this field will be used for record lookups.  <br />Default value: <code>false</code></td>\n</tr>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=Do%20not%20import,campaign%20results.\"><i>skip</i></a> (boolean)</td>\n<td>Optional property that indicates that the data in this field is non-essential. Such data will not be included in Campaign Results/Archives, returned in API requests, or imported into the database. However, including such fields in the request body should not result in an error since the fields are simply ignored.  <br /><strong>Note:</strong> Skipped fields cannot be set as <em>required</em>, <em>searchable</em>, or <em>key.</em>  <br />Default value: <code>false</code></td>\n</tr>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=Key%20screen%20(for,original%20list%20records.\"><i>key</i></a> (boolean)</td>\n<td>Optional property that indicates that this field will be used to identify list records uniquely. The key will be used to detect duplicated and reference Campgin Results data.  <br />Default value: <code>false</code></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Note:</strong> The following properties are not used when the method is called: <code>CUSTOM_DELIMITER</code>(default 'COMMA' value is set), <code>DEFAULT_ENCODING</code>(default 'UTF-8' value is set), <code>DELIMITER_TYPE</code>, <code>FORMAT_TYPE</code>(default 'DELIMITED' value is set),<code>NAMES_IN_FIRST_LINE</code>, <code>SOURCE_TYPE</code>.</p>\n<h4 id=\"field-types\"><strong>Field types</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=described%20as%20follows.-,ACCOUNT,below\">ACCOUNT</a></td>\n<td><em>Account</em> type fields can be used to store customer's unique identifiers. The values from such fields are stored in the Call History and can be used for <a href=\"https://help.brightpattern.com/5.19:Reporting-reference-guide/InteractionRecordsSearch\">interaction record search</a>.  <br /><strong>Note:</strong> List formats can only have one field of this type.</td>\n</tr>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=AGENT%20LOGIN%20ID,will%20be%20ignored.\">AGENT_LOGIN_ID</a></td>\n<td>Fields of this type are used to assign records to specific agents in preview and progressive campaign modes.  <br /><strong>Note:</strong> This field will be ignored if used in predictive or automatic campaigns.</td>\n</tr>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=CALLER%20ID,where%20you%20operate.\">CALLING_NUMBER</a></td>\n<td>Fields of this type contain the numbers to be displayed as caller IDs when dialing the corresponding records from campaigns.  <br /><strong>NOTE:</strong> Fields of this type are required to enable the <a href=\"https://help.brightpattern.com/5.3:Contact-center-administrator-guide/ServicesandCampaigns/NumbersTab#:~:text=From%20list%20field%20of%20type,used%20(see%20property%20Default).\"><i>From list field of type \"Caller ID\"</i></a> caller id assignment method.</td>\n</tr>\n<tr>\n<td>COMPANY</td>\n<td><em>Company</em> type fields can be used to store the information about a business/company the record belongs to, e.g. company name.</td>\n</tr>\n<tr>\n<td>DATETIME</td>\n<td>Fields of this type can be used to specify the date and time a callback request was made. Typically, such information is provided in opt-in callback lists. Fields of this type have additional properties, <code>timeZone</code> and <code>format</code>.  <br />  <br />Supported <em>formats:</em>  <br /><code>MM/dd/yyyy ::mm</code>(Default);  <br /><code>dd.MM.yyyy HH:mm</code>;  <br /><code>yyyy-MM-dd HH:mm</code>;  <br /><code>yyyy-MM-dd</code>;  <br /><code>dd-MM-yyyy</code>;  <br /><code>MM-dd-yyyy</code>;  <br /><code>MM/dd/yyyy HH:mm:ss</code></td>\n</tr>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=DATE/TIME%20%2D%20SCHEDULE,contents%20are%20ignored.\">DATETIME_CALL_AT</a></td>\n<td>Fields of this type can be used to specify the date and time the record should be called. Fields of this type have additional properties, <code>timeZone</code> and <code>format</code>(see above for details about supported <em>formats</em>).</td>\n</tr>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=FIRST%20NAME,person%27s%20first%20name.\">FIRST_NAME</a></td>\n<td>Fields of this type store the first name of the contact.</td>\n</tr>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=INTEGER,campaign%20quota.\">INTEGER</a></td>\n<td><em>Integer</em> type fields store semantically numeric data, e.g. age or account balance. Such fields can be used to set <a href=\"https://help.brightpattern.com/5.3:Contact-center-administrator-guide/ServicesandCampaigns/ListsTab#Quota_tab\">campaign quotas</a>.</td>\n</tr>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=LAST%20NAME,person%27s%20last%20name.\">LAST_NAME</a></td>\n<td>Fields of this type store the last name of the contact.</td>\n</tr>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=person%27s%20last%20name.-,OTHER,do%20not%20fall%20into%20any%20specific%20field%20type%20uses%20outlined%20here.,-PHONE\">OTHER</a></td>\n<td><em>Other</em> is used to specify that the field has a type different than the predefined types outlined here.</td>\n</tr>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=uses%20outlined%20here.-,PHONE,A%20list%20must%20contain%20at%20least%20one%20field%20of%20this%20type.,-POSTAL%20CODE\">PHONE</a></td>\n<td><em>Phone</em> type fields store the phone numbers to be dialed during campaigns.  <br /><strong>Note:</strong> Fields of this type have additional properties defined in the table below.  <br /><strong>Note:</strong> List formats must have at least one <em>Phone</em> field defined.</td>\n</tr>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=POSTAL%20CODE,option%20is%20desired.\">ZIP_CODE</a></td>\n<td>Fields of this type store the postal code of the contact.  <br /><strong>Note:</strong> Fields of this type are required to enable the <a href=\"https://help.brightpattern.com/5.3:Contact-center-administrator-guide/ServicesandCampaigns/Outbound-CallingHours#:~:text=Use%20safe%20calling,US%20zip%20codes.\"><i>Use safe calling hours</i></a> setting.</td>\n</tr>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=PRIORITY,expires%20after\">PRIORITY</a></td>\n<td><em>Priority</em> type fields indicate that the record must be attempted before the other records in the list. Fileds of this type  <br />have additional properties:<code>order,</code>i.e. <em>First-in-First-out</em> or <em>Last-in-FIrst-Out</em>, and<code>expiresAfter,</code>used to set the expiration date of the priority setting.</td>\n</tr>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=STATE/PROVINCE,Calling%20Hours.\">STATE</a></td>\n<td>Fields of this type store the state the contact lives in.  <br /><strong>Note:</strong> Fields of this or the <em>ZIP_CODE</em> type are required to enable the <a href=\"https://help.brightpattern.com/5.3:Contact-center-administrator-guide/ServicesandCampaigns/Outbound-CallingHours#:~:text=US%20zip%20codes.-,Comply%20with%20State%20calling%20hours,or%20change%20the%20configured%20restrictions%2C%20click%20the%20State%20calling%20hours%20link.,-%3C%20Previous%20%7C%20Next\">Comply with State calling hours</a> setting.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"phone-type-properties\"><strong>Phone Type Properties</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>phoneType</td>\n<td>string</td>\n<td>no (if =<code>US_CANADA,</code> sets <code>hasCountryCode</code> to <code>true</code>)</td>\n<td><code>OTHER</code> (Default);  <br /><code>US_CANADA</code></td>\n</tr>\n<tr>\n<td>removePrefix</td>\n<td>string</td>\n<td>yes ( ignore this field if <code>phoneType</code> = <code>US_CANADA</code>)</td>\n<td>-</td>\n</tr>\n<tr>\n<td>defaultCoutryCode</td>\n<td>string</td>\n<td>no (ignore this field if <code>phoneType</code> = <code>US_CANADA</code>)</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>formatName</td>\n<td>string</td>\n<td>yes</td>\n<td>-</td>\n</tr>\n<tr>\n<td>fields</td>\n<td>list of JSON Objects</td>\n<td>yes</td>\n<td>-</td>\n</tr>\n<tr>\n<td>listName</td>\n<td>string</td>\n<td>no (appropriate list format must be defined by \"<code>FORMAT: $(formatName)</code>\")</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Invalid URL</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Duplicate name error</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","createListWithNewFormat"],"host":["<tenant_URL>"],"query":[],"variable":[]}},"response":[{"id":"d3db9326-08be-4502-a0b6-6d80ebc7f4cd","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"formatName\": \"format 1\",\r\n    \"fields\": [\r\n        {\r\n            \"name\": \"id\",\r\n            \"type\": \"OTHER\",\r\n            \"required\": true,\r\n            \"searchable\": false,\r\n            \"skip\": false,\r\n            \"key\": false\r\n        },\r\n        {\r\n            \"name\": \"timeZone\",\r\n            \"type\": \"TIMEZONE\",\r\n            \"required\": true,\r\n            \"searchable\": false,\r\n            \"skip\": false,\r\n            \"key\": false,\r\n            \"default\": false\r\n        },        \r\n        {\r\n            \"name\": \"phone\",\r\n            \"type\": \"PHONE\",\r\n            \"required\": true,\r\n            \"searchable\": true,\r\n            \"skip\": false,\r\n            \"key\": true,\r\n            \"phoneType\": \"OTHER\",\r\n            \"removePrefix\": \"\",\r\n            \"defaultCountryCode\": \"\",\r\n            \"overrideTimezone\": \"timeZone\"\r\n        }            \r\n    ],\r\n    \"listName\": \"List 3.csv\",\r\n    \"allowUsingDefaultTimezone\": true,\r\n    \"defaultTimezone\": \"Europe/Dublin\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/createListWithNewFormat"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jan 2023 11:49:53 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"483"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=JLC6c1D0yZI5QczAD17WpOftm+VflX3mQPH9brf0bvih40oPyctjP35XXKMSpSGki2WDm39UYizUKAPKbeg6Foqwmwbtl95G9eXYK37bfz7mPREFC1DszMSSLULJ; Expires=Wed, 01 Feb 2023 11:49:53 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=JLC6c1D0yZI5QczAD17WpOftm+VflX3mQPH9brf0bvih40oPyctjP35XXKMSpSGki2WDm39UYizUKAPKbeg6Foqwmwbtl95G9eXYK37bfz7mPREFC1DszMSSLULJ; Expires=Wed, 01 Feb 2023 11:49:53 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": \"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D\",\r\n    \"formatId\": \"31002C90-7188-11EE-A565-0800200C9A66\"\r\n}"}],"_postman_id":"f9be3cb0-b9cb-459d-84f7-0aded1eb4a85"},{"name":"Update List Properties","id":"946aa992-008d-4dc4-9a23-20585e4fa0c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{ \n    \"name\": \"Updated Calling List Name\",\n    \"expireRecords\" : true,\n    \"expirationPeriod\" : 90,\n    \"expirationMode\": \"INSERTION\"\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/updateListProperties/:list_id","description":"<p>This method allows to change the name and the expiration settings of an existing calling list, specified in the path variable, list_id.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string, ≤ 255 characters  <br />  <br /><em><strong>Note:</strong></em> Calling <em>list name must be unique within the contact center</em></td>\n<td>no</td>\n<td>-</td>\n</tr>\n<tr>\n<td>expireRecords</td>\n<td>boolean</td>\n<td>no</td>\n<td>Default = <code>false</code></td>\n</tr>\n<tr>\n<td>expirationPeriod</td>\n<td>integer, [0, 365]  <br />  <br /><em><strong>Note:</strong></em> <em>Specifies number of days since record was added to the Calling list, after which that records is considered expired by the Dialer</em></td>\n<td>required, if <strong>expireRecords =</strong> <strong><code>true</code></strong></td>\n<td>Default = <code>90</code> days</td>\n</tr>\n<tr>\n<td>expirationMode</td>\n<td>Filed name to be set as \"key\" for records exclusion  <br />  <br /><em><strong>Note:</strong></em> <em>Must contain a valid field from the available calling list formats.</em></td>\n<td>required, if <strong>expireRecords =</strong> <strong><code>true</code></strong></td>\n<td>-<code>“INSERTION”</code>  <br />-<code>“DATE_FIELD”</code>  <br />  <br />Default = <code>“INSERTION”</code></td>\n</tr>\n<tr>\n<td>dateField</td>\n<td>Filed name to be set as \"key\" for record expiration  <br />  <br /><em><strong>Note:</strong></em> <em>Must contain a</em> <em><strong>valid Date/time</strong></em> <em>field from the available calling list formats.</em></td>\n<td>required, if <strong>expirationMode</strong> <strong>=</strong> <strong><code>“DATE_FIELD”</code></strong></td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Invalid URL</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Duplicate name error</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","updateListProperties",":list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"1ef1538f-f6c4-4e51-a0b0-355f63b94b5a","type":"any","value":"","key":"list_id"}]}},"response":[{"id":"6342db31-7753-4d1d-b5d1-d88c7cd13ae2","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{ \n    \"name\": \"Updated Calling List Name\",\n    \"expireRecords\" : true,\n    \"expirationPeriod\" : 90,\n    \"expirationMode\": \"INSERTION\"\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/callinglist/updateListProperties/:list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","callinglist","updateListProperties",":list_id"],"variable":[{"key":"list_id","value":""}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"946aa992-008d-4dc4-9a23-20585e4fa0c1"},{"name":"Add Many Records","id":"f6c08f1d-193b-4d76-80a5-9d1a2750a27a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"firstname\": \"Firstname4\",\r\n        \"date_time\": \"01-11-2023\",\r\n        \"phone\": \"1004\",\r\n        \"id\": \"N4\",\r\n        \"lastname\": \"Lastname4\"\r\n    },\r\n    {\r\n        \"firstname\": \"Firstname5\",\r\n        \"date_time\": \"12-11-2023\",\r\n        \"phone\": \"10045\",\r\n        \"id\": \"N5\",\r\n        \"lastname\": \"Lastname5\"\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/addAll/:list_id","description":"<p>This method updates fields in <em>existing</em> records of a calling list and returns the number of successfully updated records.</p>\n<p><strong>Note:</strong> Manipulating the content of calling lists requires the user to have an additional \"<a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UsersandTeams/Privileges#:~:text=Update%20content%20of%20calling,contents%20of%20calling%20lists\">Update content of calling list</a>\" privilege.</p>\n<p>This method catches and displays the following errors (if any were encountered during the request execution):</p>\n<ul>\n<li><code>limitExceeded</code> - the maximum total number of rows across all existing lists has been reached</li>\n<li><code>missingKey</code> - one or more key field values were not found;</li>\n<li><code>duplicateKey</code> - a record with the same key already exists in the list;</li>\n<li><code>missingRequired</code> - one or more required fields are missing values;</li>\n<li><code>formatError</code> - format was mismatched in one or more field values (e.g. string value was defined for an integer field); one or more unsupported fields were defined in the request body</li>\n</ul>\n<h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privilegesv</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified List was not found;  <br />Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","addAll",":list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"9205c7bc-1ac7-4191-8e86-9a84e2d3e73d","type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"786200e4-39da-4068-b412-0fd111e09ec9","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"firstname\": \"Firstname4\",\r\n        \"date_time\": \"01-11-2023\",\r\n        \"phone\": \"1004\",\r\n        \"id\": \"N4\",\r\n        \"lastname\": \"Lastname4\"\r\n    },\r\n    {\r\n        \"firstname\": \"Firstname5\",\r\n        \"date_time\": \"12-11-2023\",\r\n        \"phone\": \"10045\",\r\n        \"id\": \"N5\",\r\n        \"lastname\": \"Lastname5\"\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/callinglist/addAll/:list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","callinglist","addAll",":list_id"],"variable":[{"key":"list_id","value":"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Jan 2023 19:50:58 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"504"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=hCVQCJ05eua9lebmrB1c/+QpMgeR0aLc4dGxZYnUnvgpefb3ak1WBtCDbYH3HzmxxYyKPQrYqpo6UkX5fOcnS8d74KliZBP7ftFGFLLxQsUyr8QdRWeOnVnfQHBc; Expires=Tue, 31 Jan 2023 19:50:58 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=hCVQCJ05eua9lebmrB1c/+QpMgeR0aLc4dGxZYnUnvgpefb3ak1WBtCDbYH3HzmxxYyKPQrYqpo6UkX5fOcnS8d74KliZBP7ftFGFLLxQsUyr8QdRWeOnVnfQHBc; Expires=Tue, 31 Jan 2023 19:50:58 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"added\": 1,\n    \"error\": {\n        \"duplicateKey\": [\n            {\n                \"firstname\": \"Firstname4\",\n                \"date_time\": \"01-11-2023\",\n                \"phone\": \"1004\",\n                \"id\": \"N4\",\n                \"lastname\": \"Lastname4\"\n            }\n        ]\n    }\n}"}],"_postman_id":"f6c08f1d-193b-4d76-80a5-9d1a2750a27a"},{"name":"Add Record","id":"c87edf4b-b388-481f-b433-82f4cca3cd69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"firstname\": \"Firstname4\",\r\n    \"date_time\": \"01-11-2023\",\r\n    \"phone\": \"1004\",\r\n    \"id\": \"N4\",\r\n    \"lastname\": \"Lastname4\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/add/:list_id","description":"<p>This method adds a single new record to a calling list.</p>\n<p>Before the record is added, the uniqueness of its key values is checked against the contents of the list. If the list does not already have a record with the specified key values, the new record is added successfully.</p>\n<p><strong>Note:</strong> Manipulating the content of calling lists requires the user to have an additional \"<a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UsersandTeams/Privileges#:~:text=Update%20content%20of%20calling,contents%20of%20calling%20lists\">Update content of calling list</a>\" privilege.</p>\n<h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified List was not found;  <br />Invalid URL</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Duplicate key error</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","add",":list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"b597dafb-fd52-4b8d-8b82-4be2492e757c","type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"6833cf77-b2b4-4fab-8479-3648e5d2551e","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"firstname\": \"Firstname4\",\r\n    \"date_time\": \"01-11-2023\",\r\n    \"phone\": \"1004\",\r\n    \"id\": \"N4\",\r\n    \"lastname\": \"Lastname4\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/callinglist/add/:list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","callinglist","add",":list_id"],"variable":[{"key":"list_id","value":"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Jan 2023 19:50:58 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"504"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=hCVQCJ05eua9lebmrB1c/+QpMgeR0aLc4dGxZYnUnvgpefb3ak1WBtCDbYH3HzmxxYyKPQrYqpo6UkX5fOcnS8d74KliZBP7ftFGFLLxQsUyr8QdRWeOnVnfQHBc; Expires=Tue, 31 Jan 2023 19:50:58 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=hCVQCJ05eua9lebmrB1c/+QpMgeR0aLc4dGxZYnUnvgpefb3ak1WBtCDbYH3HzmxxYyKPQrYqpo6UkX5fOcnS8d74KliZBP7ftFGFLLxQsUyr8QdRWeOnVnfQHBc; Expires=Tue, 31 Jan 2023 19:50:58 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""}],"_postman_id":"c87edf4b-b388-481f-b433-82f4cca3cd69"},{"name":"Update Many Records","id":"5b9b3e17-ddec-48df-8a60-9a4f77e19292","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"date_time\": \"01-11-2023\",\r\n        \"phone\": \"1004\"\r\n    },\r\n    {\r\n        \"date_time\": \"12-11-2023\",\r\n        \"phone\": \"10045\"\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/updateAll/:list_id","description":"<p>This method updates fields in <em>existing</em> records of a calling list and returns the number of successfully updated records. Additionally, this method can reset <em>optional</em> parameters to their default values by passing \" \" or null to these parameters.</p>\n<p><strong>Note:</strong> Manipulating the content of calling lists requires the user to have an additional \"<a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UsersandTeams/Privileges#:~:text=Update%20content%20of%20calling,contents%20of%20calling%20lists\">Update content of calling list</a>\" privilege.</p>\n<p>This method catches and displays the following errors (if any were encountered during the request execution):</p>\n<ul>\n<li><code>missingKey</code> - one or more key field values were not found;</li>\n<li><code>keyNotFound</code> - a record with the same key already exists in the DNC list;</li>\n<li><code>formatError</code> - format was mismatched in one or more field values (e.g. string value was defined for an integer field); one or more unsupported fields were defined in the request body</li>\n</ul>\n<p><strong>Note:</strong> This method is similar to the <a href=\"https://go.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/documentation/25415836-9aa410d1-164e-41c1-953c-de954a289dbc?entity=request-d5802cad-0efa-4585-b347-f10a4269f7ca\"><i>Update Record</i></a> method. However, the input parameters differ to accommodate updating multiple records within one request. This is done to account for the fact that each request requires reprocessing of the entire calling list.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>DNC List Record JSON Objects</td>\n<td>list</td>\n<td>yes (only the <em><strong>key</strong></em> fields are required)</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified List was not found;  <br />Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","updateAll",":list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"bef1e0f9-c831-4c74-b896-92602a2287e6","type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"e7da347e-c251-471b-a069-6e7c19ca8157","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"date_time\": \"01-11-2023\",\r\n        \"phone\": \"1004\"\r\n    },\r\n    {\r\n        \"date_time\": \"12-11-2023\",\r\n        \"phone\": \"10045\"\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/callinglist/updateAll/:list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","callinglist","updateAll",":list_id"],"variable":[{"key":"list_id","value":"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jan 2023 10:23:25 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"500"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=Sy5saxOAjRZYrSMvdBEcWvADZPd+q9IW977oi6pp6arCzCXcmEu+Za5Yt6+1S1vWRRx/KeAdOcsNMnHOOO4so1VoVf5X3mcsHxi2hAu2yPNQheEPOpBB0Wf01XO2; Expires=Wed, 01 Feb 2023 10:23:25 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=Sy5saxOAjRZYrSMvdBEcWvADZPd+q9IW977oi6pp6arCzCXcmEu+Za5Yt6+1S1vWRRx/KeAdOcsNMnHOOO4so1VoVf5X3mcsHxi2hAu2yPNQheEPOpBB0Wf01XO2; Expires=Wed, 01 Feb 2023 10:23:25 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"updated\": 1,\n    \"error\": {\n        \"keyNotFound\": [\n            {\n                \"phone\": \"1004\"\n            }\n        ]\n    }\n}"}],"_postman_id":"5b9b3e17-ddec-48df-8a60-9a4f77e19292"},{"name":"Update Record","id":"880eb0b0-8e81-43d0-9e81-4a99d627896d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"date_time\": \"01-11-2023\",\r\n    \"phone\": \"1004\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/update/:list_id","description":"<p>This method updates fields in an <em>existing</em> record of a calling list. Additionally, this method can reset an <em>optional</em> parameter to its default value by passing \" \" or null to that parameter.</p>\n<p><strong>Note:</strong> Manipulating the content of calling lists requires the user to have an additional \"<a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UsersandTeams/Privileges#:~:text=Update%20content%20of%20calling,contents%20of%20calling%20lists\">Update content of calling list</a>\" privilege.</p>\n<p>The search for the record is performed based on the defined key fields. The request can contain either a full or partial set of fields of the List Record JSON Object, but the key fields are mandatory and must be retained as configured during list creation.</p>\n<p>Before the record is queried, its existence in the specified list is checked by its unique key values. If the record does exist in the specified list, the record is updated successfully.</p>\n<p><strong>Note:</strong> If a PHONE type field is defined as a key, the record value is checked for a full match with the value stored in the database or the original source (if the data was modified upon loading into the database).</p>\n<p>To avoid disruptions in the campaign work caused by the list reprocessing time, the Dialer ignores the changes made to the record until it makes a call attempt to that record. Thus, if a list containing the updated record has <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/ServicesandCampaigns/ListsTab#:~:text=Filter,quota%20is%20configured.\">Filters</a> or <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/ServicesandCampaigns/ListsTab#:~:text=Sorting%20order%20allows,new%20records%20immediately.\">Sorting</a> configured, the changes made to that record will not affect that filtering or sorting order.</p>\n<p><strong>Note:</strong> Always remember to reapply the desired <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/ServicesandCampaigns/ListsTab#:~:text=Filter,quota%20is%20configured.\">Filters</a> or <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/ServicesandCampaigns/ListsTab#:~:text=Sorting%20order%20allows,new%20records%20immediately.\">Sorting</a> settings if you wish for it to reflect the changes made to the updated record.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>DNC List Record JSON Object</td>\n<td>string</td>\n<td>yes (can provide either all or some fields; <em><strong>key</strong></em> fields are mandatory and <em>must</em> have a value)</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified List was not found;  <br />Specified Record was not found;  <br />Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","update",":list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"bcc4005e-ffdc-41ea-a3f7-724eeeb0c87c","type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"f0f5ea63-d86e-4a3c-9687-c1ba9791337f","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"date_time\": \"01-11-2023\",\r\n    \"phone\": \"1004\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/callinglist/update/:list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","callinglist","update",":list_id"],"variable":[{"key":"list_id","value":"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jan 2023 10:23:25 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"500"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=Sy5saxOAjRZYrSMvdBEcWvADZPd+q9IW977oi6pp6arCzCXcmEu+Za5Yt6+1S1vWRRx/KeAdOcsNMnHOOO4so1VoVf5X3mcsHxi2hAu2yPNQheEPOpBB0Wf01XO2; Expires=Wed, 01 Feb 2023 10:23:25 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=Sy5saxOAjRZYrSMvdBEcWvADZPd+q9IW977oi6pp6arCzCXcmEu+Za5Yt6+1S1vWRRx/KeAdOcsNMnHOOO4so1VoVf5X3mcsHxi2hAu2yPNQheEPOpBB0Wf01XO2; Expires=Wed, 01 Feb 2023 10:23:25 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""}],"_postman_id":"880eb0b0-8e81-43d0-9e81-4a99d627896d"},{"name":"Delete Many Records","id":"dfe8b5ca-349e-4313-b5da-757a4cb0180c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"fields\": {\r\n        \"accountId\": [\"id1\", \"id2\", \"id3\"]\r\n    },\r\n    \r\n    \"byCampaignResult\": {\r\n        \"campaignId\": \"85389D39-E05C-4CE7-B36D-4401BEA52E14\",\r\n        \"policy\": \"ALL\"\r\n    },\r\n    \"createdFrom\": \"2023-01-01T00:00:00.000\",\r\n    \"createdTo\": \"2023-01-10T00:00:00.000\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/delete/:list_id","description":"<p>This method deletes records from a list and returns the number of successfully deleted records.</p>\n<p><strong>Note:</strong> Manipulating the content of calling lists requires the user to have an additional \"<a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UsersandTeams/Privileges#:~:text=Update%20content%20of%20calling,contents%20of%20calling%20lists\">Update content of calling list</a>\" privilege.</p>\n<p>Records are searched for by one or many criteria defined in correspondence with the associated list fields. At least one of the available filtering criteria has to be specified. Otherwise, no record is deleted.</p>\n<p>The method supports filtering records by:</p>\n<ul>\n<li><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=Key%20screen-,Fields,used%20to%20reference%20the%20campaign%20results%20to%20the%20original%20list%20records.,-Save%20config%20only\">key</a> and <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=Searchable%20Field,written%20against%20it.\">searchable</a> fields (defined in the <code>fields.some_field</code> parameter);</li>\n<li>status in the associated campaign (defined in the <code>byCampaignResult.policy</code> parameter);</li>\n<li>creation date (defined in the <code>createdFrom</code> and <code>createdTo</code> parameters);</li>\n<li>combination of the above<ul>\n<li><strong>Note:</strong> If several criteria are specified, the record should match all of them</li>\n</ul>\n</li>\n</ul>\n<p><strong>Note:</strong> Filtered records will be deleted from all campaigns the list is associated with.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fields.some_field</td>\n<td>string</td>\n<td>no (specifies the fields to be used for search; the field must be searchable or key)</td>\n<td><code>-</code></td>\n</tr>\n<tr>\n<td>byCampaignResult.campaignId</td>\n<td>string</td>\n<td>no (specifies that the records are to be filtered by their associated campaign; <code>campaignId</code> is required (can be found in the <a href=\"https://go.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/documentation/25415836-9aa410d1-164e-41c1-953c-de954a289dbc?entity=request-79cca077-9433-4c94-92c9-f8beb7a2cf5c\"><i>Get List</i></a> response)</td>\n<td><code>-</code></td>\n</tr>\n<tr>\n<td>byCampaignResult.policy</td>\n<td>string</td>\n<td>no (specifies that the records are to be filtered by their state; if = <code>ONLY_COMPLETED</code>, both completed and expired records are removed)</td>\n<td><code>ALL</code> (Default);  <br /><code>ONLY_COMPLETED</code>;  <br /><code>ONLY_NEVER_ATTEMPTED</code>;</td>\n</tr>\n<tr>\n<td>createdFrom</td>\n<td>time (UTC)</td>\n<td>no (allows filtering by creation date; must be less than <code>createdTo</code>, if configured)</td>\n<td><code>-</code></td>\n</tr>\n<tr>\n<td>createdTo</td>\n<td>time (UTC)</td>\n<td>no (allows filtering by creation date; must be more than <code>createdFrom</code>, if configured)</td>\n<td><code>-</code></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified List was not found;  <br />Invalid URL</td>\n</tr>\n<tr>\n<td>422</td>\n<td>????????????????????????????????????????1 or more required fields are missing</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","delete",":list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"4cd99ade-e05f-43f4-9f18-d27de70568a0","type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"c5eb7857-f927-4a62-95b9-eea6eafce9a8","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"fields\": {\r\n        \"accountId\": [\"76574\", \"76543\", \"76417\"]\r\n    },\r\n    \"byCampaignResult\": {\r\n        \"campaignId\": \"85389D39-E05C-4CE7-B36D-4401BEA52E14\",\r\n        \"policy\": \"ALL\"\r\n    },\r\n    \"createdFrom\": \"2023-01-01T00:00:00.000\",\r\n    \"createdTo\": \"2023-01-10T00:00:00.000\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/callinglist/delete/:list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","callinglist","delete",":list_id"],"variable":[{"key":"list_id","value":"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jan 2023 10:23:25 GMT"},{"key":"Content-Type","value":"application/json","description":""},{"key":"Content-Length","value":"500"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=Sy5saxOAjRZYrSMvdBEcWvADZPd+q9IW977oi6pp6arCzCXcmEu+Za5Yt6+1S1vWRRx/KeAdOcsNMnHOOO4so1VoVf5X3mcsHxi2hAu2yPNQheEPOpBB0Wf01XO2; Expires=Wed, 01 Feb 2023 10:23:25 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=Sy5saxOAjRZYrSMvdBEcWvADZPd+q9IW977oi6pp6arCzCXcmEu+Za5Yt6+1S1vWRRx/KeAdOcsNMnHOOO4so1VoVf5X3mcsHxi2hAu2yPNQheEPOpBB0Wf01XO2; Expires=Wed, 01 Feb 2023 10:23:25 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"deleted\": 3\n}"}],"_postman_id":"dfe8b5ca-349e-4313-b5da-757a4cb0180c"},{"name":"Erase Record","id":"fb21d9b4-ee56-49cf-bc51-aaaa8fe6f46e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fields\": {\r\n        \"phone\": \"1004\"\r\n    },\r\n    \"reason\": \"for audit log\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/erase/:list_id","description":"<p>This method removes a record from a list and all associated campaign results. The search for the record is performed based on the defined key fields. An error is returned if a record does not exist.</p>\n<p><strong>Note:</strong> Manipulating the content of calling lists requires the user to have an additional \"<a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UsersandTeams/Privileges#:~:text=Update%20content%20of%20calling,contents%20of%20calling%20lists\">Update content of calling list</a>\" privilege.</p>\n<p>Bright Pattern Contact Center solution supports several <em>voice</em> campaign modes (see <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/ServicesandCampaigns/Outbound-General#:~:text=Type,selected%20campaign%20type.\">here</a>). <em>If the last record is being deleted</em>, depending on the mode of the associated campaign, the active call behavior will differentiate as follows:</p>\n<ul>\n<li>Progressive, Predictive, or Automatic (IVR) campaigns<ul>\n<li>Upon instance deletion, all active, i.e. in a dialing state, within a script, or connected to an agent, calls are dropped</li>\n</ul>\n</li>\n<li>Preview campaigns<ul>\n<li>Upon instance deletion, only the calls not yet picked up by an agent are dropped. In-progress and connected calls are not affected</li>\n</ul>\n</li>\n</ul>\n<p>Otherwise, <em>if there are still other records in the list</em>, the method won't impact any calls.</p>\n<p>The list of deleted records with completed calls, as well as their results, are archived and available for downloading in the Contact Center Administrator application (see <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/ServicesandCampaigns/ArchiveTab\">here</a>). Interaction results for dropped calls are not saved.</p>\n<p><strong>Note:</strong> This method does not delete contacts, activities, voice recordings, transcriptions, or screen recordings. This functionality is covered by other APIs.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fields</td>\n<td>string</td>\n<td>yes (specifies the key fields to be used for the object search; the non-key fields are ignored)</td>\n<td><code>-</code></td>\n</tr>\n<tr>\n<td>reason</td>\n<td>string</td>\n<td>yes (used to specify the reason for audit log purposes)</td>\n<td><code>-</code></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified List was not found;  <br />Specified Record was not found;  <br />Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","erase",":list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"bb9c643b-2354-4d6d-907d-47efd1e1adeb","type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"bb02ad23-2820-4b08-9529-f8ebdb6feeb3","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fields\": {\r\n        \"phone\": \"1004\"\r\n    },\r\n    \"reason\": \"for audit log\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/callinglist/erase/:list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","callinglist","erase",":list_id"],"variable":[{"key":"list_id","value":"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Jan 2023 10:23:25 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"500"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=Sy5saxOAjRZYrSMvdBEcWvADZPd+q9IW977oi6pp6arCzCXcmEu+Za5Yt6+1S1vWRRx/KeAdOcsNMnHOOO4so1VoVf5X3mcsHxi2hAu2yPNQheEPOpBB0Wf01XO2; Expires=Wed, 01 Feb 2023 10:23:25 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=Sy5saxOAjRZYrSMvdBEcWvADZPd+q9IW977oi6pp6arCzCXcmEu+Za5Yt6+1S1vWRRx/KeAdOcsNMnHOOO4so1VoVf5X3mcsHxi2hAu2yPNQheEPOpBB0Wf01XO2; Expires=Wed, 01 Feb 2023 10:23:25 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""}],"_postman_id":"fb21d9b4-ee56-49cf-bc51-aaaa8fe6f46e"},{"name":"Delete All Records","id":"d1b03de2-43b7-4cfd-8e30-d430ab98875d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://<tenant_URL>/configapi/v3/callinglist/deleteAll/:list_id","description":"<p>This method removes all records from a list and returns the number of successfully deleted records.</p>\n<p><strong>Note:</strong> Manipulating the content of calling lists requires the user to have an additional \"<a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UsersandTeams/Privileges#:~:text=Update%20content%20of%20calling,contents%20of%20calling%20lists\">Update content of calling list</a>\" privilege.</p>\n<p>Bright Pattern Contact Center solution supports several <em>voice</em> campaign modes (see <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/ServicesandCampaigns/Outbound-General#:~:text=Type,selected%20campaign%20type.\">here</a>). Depending on the mode of the associated campaign, the active call behavior will differentiate as follows:</p>\n<ul>\n<li>Progressive, Predictive, or Automatic (IVR) campaigns<ul>\n<li>Upon instance deletion, all active, i.e. in a dialing state, within a script, or connected to an agent, calls are dropped</li>\n</ul>\n</li>\n<li>Preview campaigns<ul>\n<li>Upon instance deletion, only the calls not yet picked up by an agent are dropped. In-progress and connected calls are not affected</li>\n</ul>\n</li>\n</ul>\n<p>The list of deleted records with completed calls, as well as their results, are archived and available for downloading in the Contact Center Administrator application (see <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/ServicesandCampaigns/ArchiveTab\">here</a>). Interaction results for dropped calls are not saved.</p>\n<h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified List was not found;  <br />Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","deleteAll",":list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"3a6eac89-5101-4e78-9549-324148d76fd7","type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"a32174a8-056a-42b7-b5d4-ce9d4d93c5dc","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://<tenant_URL>/configapi/v3/callinglist/deleteAll/:list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","callinglist","deleteAll",":list_id"],"variable":[{"key":"list_id","value":"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Jan 2023 19:54:53 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"503"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=50RX/hrm/sDi+hQim7drB8V01nmdb4R4lA/Rn9BAFlq9iojtpF8ulJhBZlkk5hSZsXAwH8mOFmtAGJESNjY04vnLs0COry6MGFImWNSlq6RMAsjh9p4wrGS9Nm41; Expires=Tue, 31 Jan 2023 19:54:53 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=50RX/hrm/sDi+hQim7drB8V01nmdb4R4lA/Rn9BAFlq9iojtpF8ulJhBZlkk5hSZsXAwH8mOFmtAGJESNjY04vnLs0COry6MGFImWNSlq6RMAsjh9p4wrGS9Nm41; Expires=Tue, 31 Jan 2023 19:54:53 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"deleted\": 2\n}"}],"_postman_id":"d1b03de2-43b7-4cfd-8e30-d430ab98875d"}],"id":"3ba6ba74-1c9d-4818-9c18-fbcbff3c99a2","description":"<p>Bright Pattern's List Management API streamlines the creation and deletion of lists and formats and provides a convenient way to manage list records.</p>\n<p><strong>Note:</strong> Performing operations on lists requires the user to have the \"<a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UsersandTeams/Privileges#:~:text=Manage%20lists,with%20campaigns.\"><i>Manage Lists</i></a>\" privilege, configured in the Contact Center Administrator application. Additional privileges required are explicitly specified in the corresponding method description.</p>\n<p>All of the methods described below use the path variable, <code>list_id</code>, to specify the list an operation is to be performed on. The unique identifier of a list can be found by opening that list in the Contact Center Administrator application, <a href=\"https://help.brightpattern.com/File:CCA-Lists-Properties-54.PNG\">Lists section</a>. The id will be displayed in the '#LISTS:LISTS_PROPERTIES:' fragment of the URL.</p>\n<p>Alternatively, <code>list_id</code>, can be found in the response body of the <em>Get Lists</em> method (see <a href=\"https://go.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/documentation/25415836-9aa410d1-164e-41c1-953c-de954a289dbc?entity=request-a09ba09b-48cf-4358-b55c-e7020a796c2c\">here</a>).</p>\n<p>Methods retained from the previous version of the List management API, tagged as \"DEPRECIATED\", require an additional path variable, <code>campaign_id</code>, to reference the campaign associated with the selected list. The unique identifier of a campaign can be found by opening that campaign in the Contact Center Administrator application, <a href=\"https://help.brightpattern.com/File:CCA-Services-and-Campaigns-Overview-53.PNG\">Services &amp; Campaigns section</a>. The id will be displayed in the '#SERVICES_CAMPAIGNS:SERVICES_PROPERTIES:' fragment of the URL.</p>\n<p>Alternatively, <code>campaign_id</code>, can be found in the response body of the <em>Get Campaigns</em> method (see <a href=\"https://go.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/documentation/25415836-9aa410d1-164e-41c1-953c-de954a289dbc?entity=request-c1f82964-13a6-41db-b56f-bb702b71420a\">here</a>).</p>\n<p><strong>Note:</strong> When importing records or updating records it is important to remember that:</p>\n<ol>\n<li><p>All leading and trailing whitespaces should be deleted.</p>\n</li>\n<li><p>For all PHONE numbers:</p>\n<ol>\n<li><p>If a number begins with “+”, the leading \"+\" sign will be removed.</p>\n</li>\n<li><p>If a number contains non-numeric characters, they will be removed.</p>\n</li>\n<li><p>At least one PHONE number is required.</p>\n</li>\n</ol>\n</li>\n<li><p>For the United States and Canada PHONE numbers:</p>\n<ol>\n<li><p>If a number begins with “011”, it will be kept as is.</p>\n</li>\n<li><p>If a number begins with “1” and has eleven digits, it will be kept as is.</p>\n</li>\n<li><p>If a number does not begin with “1” and has ten digits, “1” will be prepended.</p>\n</li>\n<li><p>If a number begins with “1” and has ten digits, the record will not be imported, returning a format error.</p>\n</li>\n<li><p>In any other case, the record will not be imported, returning a format error.</p>\n</li>\n<li><p>Remove prefix and Default country code fields will be ignored.</p>\n</li>\n</ol>\n</li>\n<li><p>For Other countries PHONE numbers:</p>\n<ol>\n<li><p>If a number begins with prefix matching Remove prefix, the prefix will be deleted.</p>\n</li>\n<li><p>If a number does not begin with prefix matching Remove prefix, it will be kept as is.</p>\n</li>\n<li><p>If a number does not begin with prefix matching Default country code, Default country code will be added.</p>\n</li>\n</ol>\n</li>\n<li><p>For all INTEGER fields:</p>\n<ol>\n<li><p>If the value is presented as a string, it should be converted to an integer.</p>\n</li>\n<li><p>Values presented as integers should be supported.</p>\n</li>\n</ol>\n</li>\n<li><p>For all fields that expect strings (ACCOUNT, AGENT_LOGIN_ID, FIRST_NAME, LAST_NAME, etc.) integer values should be converted to strings.</p>\n</li>\n<li><p>Capitalization matters: values with different capitalizations are treated as distinct.</p>\n</li>\n<li><p>For all DATE/TIME and DATE/TIME - SCHEDULE CALL AT fields:</p>\n<ol>\n<li>If a value is not valid date/time, the record will not be imported with formatError.</li>\n</ol>\n</li>\n<li><p>The search can be performed by both the original values created in third-party systems and their transformed equivalents visible in the Administrator Application and Agent Desktop.</p>\n</li>\n</ol>\n","_postman_id":"3ba6ba74-1c9d-4818-9c18-fbcbff3c99a2"},{"name":"DNC Lists","item":[{"name":"Delete All Records","id":"7cb4a942-4964-4122-bd88-77aebad9f899","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://<tenant_URL>/configapi/v3/donotcalllist/deleteAll/:do_not_call_list_id","description":"<p><strong>Privileges required:</strong></p>\n<ul>\n<li><em>Service and Campaign Administration -&gt; Manage Lists</em></li>\n</ul>\n<p>This method deletes all records from the specified DNC List and returns the number of deleted records.</p>\n<p><strong>Response Codes:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood/1 or more required fields are missed or have unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed</td>\n</tr>\n<tr>\n<td>403</td>\n<td>User authenticated but does not have sufficient privileges, or modification of this type of list is not allowed</td>\n</tr>\n<tr>\n<td>404</td>\n<td>DNC List is not found or invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","donotcalllist","deleteAll",":do_not_call_list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"2bd04583-6f17-4b61-8ee4-f9655093c966","type":"any","value":null,"key":"do_not_call_list_id"}]}},"response":[{"id":"0cfd7c80-a6a4-43f1-95f8-9224786ed158","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://<tenant_URL>/configapi/v3/donotcalllist/deleteAll/:do_not_call_list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","donotcalllist","deleteAll",":do_not_call_list_id"],"variable":[{"key":"do_not_call_list_id","value":"A5717BD2-C610-4AE9-B1B3-0DBE34CA31BD"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jan 2023 11:31:48 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"495"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=5g1xmr46Sxs39JdEwlGHBpa0H+u9pxTKJVYsjJvYMv5DTSK0pVU4rkxesuejd8p5n4H+tgMboypr7jACWJQX0BZrCQXTqXnXWgyAT35WVFM2FdqcXSiMtitwzMCW; Expires=Fri, 27 Jan 2023 11:31:48 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=5g1xmr46Sxs39JdEwlGHBpa0H+u9pxTKJVYsjJvYMv5DTSK0pVU4rkxesuejd8p5n4H+tgMboypr7jACWJQX0BZrCQXTqXnXWgyAT35WVFM2FdqcXSiMtitwzMCW; Expires=Fri, 27 Jan 2023 11:31:48 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": 2\n}"}],"_postman_id":"7cb4a942-4964-4122-bd88-77aebad9f899"},{"name":"Delete Many Records","id":"4b50b564-71e6-457f-8651-1f4907be65ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"key\": \"9999999\"\r\n    },\r\n    {\r\n        \"key\": \"8888888\"\r\n    }\r\n]\r\n","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/donotcalllist/delete/:do_not_call_list_id","description":"<p><strong>Privileges required:</strong></p>\n<ul>\n<li><em>Service and Campaign Administration -&gt; Manage Lists</em></li>\n</ul>\n<p>This method deletes the list of specified records from the DNC List, returns the number of deleted records and list of errors if there are.</p>\n<p>The following errors should be caught:</p>\n<ul>\n<li>missingKey - one or more key fields are missed;</li>\n<li>formatError - one or more fields has wrong format (e.g. string value for an integer field).</li>\n</ul>\n<p><strong>Input parameters:</strong> list of DNC list record JSON objects, only key field is required.</p>\n<p><strong>Response Codes:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood/1 or more required fields are missed or have unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed</td>\n</tr>\n<tr>\n<td>403</td>\n<td>User authenticated but does not have sufficient privileges, or modification of this type of list is not allowed</td>\n</tr>\n<tr>\n<td>404</td>\n<td>DNC List is not found or invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","donotcalllist","delete",":do_not_call_list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"fbb2f4b9-3e4c-4bd5-a66a-36371f3aff58","type":"any","value":null,"key":"do_not_call_list_id"}]}},"response":[{"id":"8443007d-ee13-4016-ab26-f00b2e9be42a","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"key\": \"9999999\"\r\n    },\r\n    {\r\n        \"key\": \"8888888\"\r\n    }\r\n]\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/donotcalllist/delete/:do_not_call_list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","donotcalllist","delete",":do_not_call_list_id"],"variable":[{"key":"do_not_call_list_id","value":"A5717BD2-C610-4AE9-B1B3-0DBE34CA31BD"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jan 2023 11:47:15 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"492"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=HRZEdc278UHaqBhfIJpjBkgzuVaxlGCLFzG4ayDsfrZ2jLU2CYyfB9gLn5RMxOCaKVUe+hAs32zLp2PpGIMQDb7ZRbG5jSO/Y/affTSuJeyh4YpaymMBB0YMIRfo; Expires=Fri, 27 Jan 2023 11:47:15 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=HRZEdc278UHaqBhfIJpjBkgzuVaxlGCLFzG4ayDsfrZ2jLU2CYyfB9gLn5RMxOCaKVUe+hAs32zLp2PpGIMQDb7ZRbG5jSO/Y/affTSuJeyh4YpaymMBB0YMIRfo; Expires=Fri, 27 Jan 2023 11:47:15 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": 1,\n    \"error\": {\n        \"keyNotFound\": [\n            {\n                \"key\": \"9999999\"\n            }\n        ]\n    }\n}"}],"_postman_id":"4b50b564-71e6-457f-8651-1f4907be65ac"},{"name":"Add Many Records","id":"ae651e5d-3c4d-4c2a-bd89-64131436be67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"key\": \"9999999\",\r\n        \"expirationPeriod\": 3,\r\n        \"comment\": \"optional comment\"\r\n    },\r\n    {\r\n        \"key\": \"8888888\"\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/donotcalllist/addAll/:do_not_call_list_id","description":"<p><strong>Privileges required:</strong></p>\n<ul>\n<li><em>Service and Campaign Administration -&gt; Manage Lists</em></li>\n</ul>\n<p>This method adds new records to the specified Do Not Call (DNC) list and returns the number of added (i.e., appended) records. Duplicates are ignored.</p>\n<p>The following errors should be caught:</p>\n<ul>\n<li>missingKey - one or more key fields are missed;</li>\n<li>duplicateKey - a record with the same key already exists;</li>\n<li>formatError - one or more fields has wrong format (e.g. string value for an integer field) or unsupported fields are sent;</li>\n</ul>\n<p><strong>Input parameters:</strong> list of DNC list record JSON objects.</p>\n<p><strong>Response Codes:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood/1 or more required fields are missed or have unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed</td>\n</tr>\n<tr>\n<td>403</td>\n<td>User authenticated but does not have sufficient privileges, or modification of this type of list is not allowed</td>\n</tr>\n<tr>\n<td>404</td>\n<td>DNC List is not found or invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","donotcalllist","addAll",":do_not_call_list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"8b8a87f5-8ea5-4ba1-94ad-1c4fcf3c1a06","type":"any","value":null,"key":"do_not_call_list_id"}]}},"response":[{"id":"119ab1c6-f868-498b-b583-911cfffabd09","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"key\": \"9999999\",\r\n        \"expirationPeriod\": 3,\r\n        \"comment\": \"optional comment\"\r\n    },\r\n    {\r\n        \"key\": \"8888888\"\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/donotcalllist/addAll/:do_not_call_list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","donotcalllist","addAll",":do_not_call_list_id"],"variable":[{"key":"do_not_call_list_id","value":"A5717BD2-C610-4AE9-B1B3-0DBE34CA31BD"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Jan 2023 21:41:36 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"489"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=/AOPxyxfbZvwlVbV245FOCkuUY7/c8OkkvwhAtT0qJhFRaZhfa4qosfjiEeM+pbtTB+rTLQVb+ifYiw7f+FG/yYfKjVizWlXP8vAZzvS6jzukPo0qiZXh3bhCfuL; Expires=Tue, 31 Jan 2023 21:41:36 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=/AOPxyxfbZvwlVbV245FOCkuUY7/c8OkkvwhAtT0qJhFRaZhfa4qosfjiEeM+pbtTB+rTLQVb+ifYiw7f+FG/yYfKjVizWlXP8vAZzvS6jzukPo0qiZXh3bhCfuL; Expires=Tue, 31 Jan 2023 21:41:36 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"added\": 1,\n    \"error\": {\n        \"duplicateKey\": [\n            {\n                \"key\": \"8888888\"\n            }\n        ]\n    }\n}"}],"_postman_id":"ae651e5d-3c4d-4c2a-bd89-64131436be67"},{"name":"Add Records DEPRECATED","id":"70b5778c-7c22-4334-88f4-3055d748e27e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    [\r\n        \"123456789\",\r\n        \"optional comment\"\r\n    ],\r\n    [\r\n        \"9999999999\",\r\n        \"optional comment\"\r\n    ]\r\n]","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/donotcalllist/add/:do_not_call_list_id","description":"<p><strong>Privileges required:</strong></p>\n<ul>\n<li><em>Service and Campaign Administration -&gt; Manage Lists</em></li>\n</ul>\n<p>This method adds new records to the specified Do Not Call (DNC) list and returns the number of added (i.e., appended) records. Duplicates are ignored.</p>\n<p><strong>Response Codes:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood/1 or more required fields are missed or have unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed</td>\n</tr>\n<tr>\n<td>403</td>\n<td>User authenticated but does not have sufficient privileges, or modification of this type of list is not allowed</td>\n</tr>\n<tr>\n<td>404</td>\n<td>DNC List is not found or invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","donotcalllist","add",":do_not_call_list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"dd37002e-c209-49c6-848d-664ae90ea0d9","type":"any","value":null,"key":"do_not_call_list_id"}]}},"response":[{"id":"19906254-7764-48e1-b679-c69d8fc7e1eb","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    [\r\n        \"123456789\",\r\n        \"optional comment\"\r\n    ],\r\n    [\r\n        \"9999999999\",\r\n        \"optional comment\"\r\n    ]\r\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/donotcalllist/add/:do_not_call_list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","donotcalllist","add",":do_not_call_list_id"],"variable":[{"key":"do_not_call_list_id","value":"A5717BD2-C610-4AE9-B1B3-0DBE34CA31BD"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Jan 2023 21:41:36 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"489"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=/AOPxyxfbZvwlVbV245FOCkuUY7/c8OkkvwhAtT0qJhFRaZhfa4qosfjiEeM+pbtTB+rTLQVb+ifYiw7f+FG/yYfKjVizWlXP8vAZzvS6jzukPo0qiZXh3bhCfuL; Expires=Tue, 31 Jan 2023 21:41:36 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=/AOPxyxfbZvwlVbV245FOCkuUY7/c8OkkvwhAtT0qJhFRaZhfa4qosfjiEeM+pbtTB+rTLQVb+ifYiw7f+FG/yYfKjVizWlXP8vAZzvS6jzukPo0qiZXh3bhCfuL; Expires=Tue, 31 Jan 2023 21:41:36 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"added\": 2\n}"}],"_postman_id":"70b5778c-7c22-4334-88f4-3055d748e27e"},{"name":"Replace Records DEPRECATED","id":"a74188a8-e02a-4b5d-a881-804217800a8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    [\r\n        \"123456789\",\r\n        \"optional comment\"\r\n    ],\r\n    [\r\n        \"9999999999\",\r\n        \"optional comment\"\r\n    ]\r\n]","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/donotcalllist/replaceAll/:do_not_call_list_id","description":"<p><strong>Privileges required:</strong></p>\n<ul>\n<li><em>Service and Campaign Administration -&gt; Manage Lists</em></li>\n</ul>\n<p>The method deletes all records in the specified Do Not Call (DNC) list, inserts new ones and returns the number of newly inserted records. Duplicates are ignored.</p>\n<p><strong>Response Codes:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood/1 or more required fields are missed or have unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed</td>\n</tr>\n<tr>\n<td>403</td>\n<td>User authenticated but does not have sufficient privileges, or modification of this type of list is not allowed</td>\n</tr>\n<tr>\n<td>404</td>\n<td>DNC List is not found or invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","donotcalllist","replaceAll",":do_not_call_list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"e83afc13-b261-4057-a57d-a25211e7575c","type":"any","value":null,"key":"do_not_call_list_id"}]}},"response":[{"id":"00b2613f-5a45-4610-b13b-ae3d1e944158","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    [\r\n        \"123456789\",\r\n        \"optional comment\"\r\n    ],\r\n    [\r\n        \"9999999999\",\r\n        \"optional comment\"\r\n    ]\r\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/donotcalllist/replaceAll/:do_not_call_list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","donotcalllist","replaceAll",":do_not_call_list_id"],"variable":[{"key":"do_not_call_list_id","value":"A5717BD2-C610-4AE9-B1B3-0DBE34CA31BD"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Jan 2023 21:44:25 GMT"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"},{"key":"Content-Length","value":"493"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=d91kTbL+Hubq6JwYXlgAdIk3XzFl+lD02THaw5VaZRrII99DPTBwRa+bkmruokuI0qXiOT5eV2FvLH5pZaRYJYQT/smowX45UCXy5H2wYffMwmVOsprwW83SNsJL; Expires=Tue, 31 Jan 2023 21:44:25 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=d91kTbL+Hubq6JwYXlgAdIk3XzFl+lD02THaw5VaZRrII99DPTBwRa+bkmruokuI0qXiOT5eV2FvLH5pZaRYJYQT/smowX45UCXy5H2wYffMwmVOsprwW83SNsJL; Expires=Tue, 31 Jan 2023 21:44:25 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n  \"added\": 2\n}"}],"_postman_id":"a74188a8-e02a-4b5d-a881-804217800a8a"},{"name":"Get DNC Records","id":"eb7253f0-3a49-43d1-ad97-1677235a5c3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"limit\": 1000,\r\n    \"cursor\": \"590e9abd4abbf1165862d342\"  \r\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/donotcalllist/getDNCRecords/:do_not_call_list_id","description":"<p>This method returns a list of all records, including their in an existing DNC List, specified in the path variable, <code>do_not_call_list_id</code>. The records are returned and sorted by the standard MongoDB <code>_id</code> field.</p>\n<p><strong>Note:</strong> To accommodate the display of large numbers of list records, Bright Pattern Contact Solution utilizes <em>Cursor-based pagination</em> (see <a href=\"https://solar-firefly-658194.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/folder/25415836-c3a7249d-981d-419b-b482-d06c52fbd699?ctx=documentation\">here</a>). The <code>_id</code> field is used as the \"cursor\" to reference the last served record.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>integer, ≤ 1000</td>\n<td>yes (Specifies the maximum number of records per page when using <a href=\"#2ed4dcaa-ed07-4724-b0d5-d537cef1046a\">cursor-based pagination</a>)</td>\n<td><code>1...1000</code></td>\n</tr>\n<tr>\n<td>cursor</td>\n<td>string</td>\n<td>no (used for pagination)</td>\n<td>First request: <code>null</code>  <br />Subsequent request: value received in the response to the previous request</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges;  <br />Modification of this type of list is not allowed</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified DNC List was not found;  <br />Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","donotcalllist","getDNCRecords",":do_not_call_list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"df810c16-4ed9-4357-aeb6-7d5cd847c750","type":"any","value":"","key":"do_not_call_list_id"}]}},"response":[{"id":"ae86b827-1396-4f5d-91a2-d9171835399e","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"limit\": 1000,\r\n    \"cursor\": \"590e9abd4abbf1165862d342\"  \r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/donotcalllist/getDNCRecords/:do_not_call_list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","donotcalllist","getDNCRecords",":do_not_call_list_id"],"variable":[{"key":"do_not_call_list_id","value":"6F409476-06AA-4B47-82EE-72322ECCF1D8"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 20 Jan 2023 19:32:28 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"504"},{"key":"Connection","value":"close"},{"key":"Set-Cookie","value":"AWSALB=RsvSrUR581IIyuI14qpruJZCSPoRa2w17ewFS01YCgKoPaced1kzhvUy2M4hwQQO0IHRWuPrpqAQAUdrakrGAqxqD4qULyIFyrvRl8TSx/hXZ+rsHnJsHj9XTby8; Expires=Fri, 27 Jan 2023 19:32:28 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=RsvSrUR581IIyuI14qpruJZCSPoRa2w17ewFS01YCgKoPaced1kzhvUy2M4hwQQO0IHRWuPrpqAQAUdrakrGAqxqD4qULyIFyrvRl8TSx/hXZ+rsHnJsHj9XTby8; Expires=Fri, 27 Jan 2023 19:32:28 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx/1.23.2"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"next_cursor\": \"590e9abd4abbf1165862d342\",\n    \"records\": [\n        {\n            \"key\": \"8888888\",\n            \"added\": \"2023-01-19T20:46:34.000\",\n            \"comment\": \"optional comment\",\n            \"setOn\": \"2023-01-19T20:46:35.000\",\n            \"expireAt\": \"2023-04-19T20:46:35.000\"\n        },\n        {\n            \"key\": \"9999999\",\n            \"comment\": \"optional comment\",\n            \"setOn\": \"2023-01-19T20:48:35.000\",\n            \"expireAt\": \"2023-02-09T20:46:35.000\"\n        }\n    ]\n}"}],"_postman_id":"eb7253f0-3a49-43d1-ad97-1677235a5c3d"},{"name":"Get DNC Lists","id":"2843c161-1344-40de-9ab1-ed07c6c76d77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"limit\": 100,\n    \"cursor\": \"590e9abd4abbf1165862d342\"  \n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/donotcalllist/getAll","description":"<p>This method returns all DNC Lists, sorted by the standard MongoDB <code>_id</code> field.</p>\n<p><strong>Note:</strong> To accommodate the display of large numbers of list records, Bright Pattern Contact Solution utilizes <em>Cursor-based pagination</em> (see <a href=\"https://solar-firefly-658194.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/folder/25415836-c3a7249d-981d-419b-b482-d06c52fbd699?ctx=documentation\">here</a>). The <code>_id</code> field is used as the \"cursor\" to reference the last served record.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>integer, ≤ 100</td>\n<td>yes (Specifies the maximum number of records per page when using <a href=\"#2ed4dcaa-ed07-4724-b0d5-d537cef1046a\">cursor-based pagination</a>)</td>\n<td><code>1...100</code></td>\n</tr>\n<tr>\n<td>cursor</td>\n<td>string</td>\n<td>no (used for pagination)</td>\n<td>First request: <code>null</code>  <br />Subsequent request: value received in the response to the previous request</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; limit exceeded; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","donotcalllist","getAll"],"host":["<tenant_URL>"],"query":[],"variable":[]}},"response":[{"id":"7d2738c3-43c9-4a2f-a25b-dc5f757ed364","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://<tenant_URL>/configapi/v3/donotcalllist/getAll"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"next_cursor\": \"590e9abd4abbf1165862d342\",\n    \"records\": [\n        {\n            \"id\": \"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D\",\n            \"name\": \"DNC - July\",\n            \"type\": \"Internal\"\n            \"creationDate\": \"2024-07-01T19:11:40.000\",\n            \"totalRecords\": 29\n        },\n        {\n            \"id\": \"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2C\",\n            \"name\": \"DNC - June\",\n            \"type\": \"Internal\"\n            \"creationDate\": \"2025-06-01T19:11:41.000\",\n            \"totalRecords\": 34\n        }\n    ]\n}\n"}],"_postman_id":"2843c161-1344-40de-9ab1-ed07c6c76d77"},{"name":"Get DNC List","id":"34c6acc0-3aed-42fe-aa9f-068bd3b0b97a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://<tenant_URL>/configapi/v3/donotcalllist/getDNCList/:do_not_call_list_id","description":"<p>This method returns the detailed information about a specified DNC list, including it's name, type and total number of records, as well as exipartion and reset settings, if applicable.</p>\n<p>Additionally, this method returns information about the campaigns associated with that DNC list, if any.</p>\n<h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; limit exceeded; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","donotcalllist","getDNCList",":do_not_call_list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"d55962e3-1e00-4525-aeca-f8739e4805c0","type":"any","value":"","key":"do_not_call_list_id"}]}},"response":[{"id":"425ea88d-4a8a-45fc-be95-71bee0b1a11a","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://<tenant_URL>/configapi/v3/donotcalllist/getDNCList/:do_not_call_list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","donotcalllist","getDNCList",":do_not_call_list_id"],"variable":[{"key":"do_not_call_list_id","value":""}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{ \n  \"id\": \"635DB66C-AA54-41C9-9F0E-AC3A9B5EDB2D\",\n  \"name\": \"DNC - July\",\n  \"type\": \"INTERNAL\",\n  \"creationDate\": \"2024-07-01T19:11:40.000\",\n  \"totalRecords\": 100,\n  \"expireRecords\": true,\n  \"defaultExpirationPeriod\": 120,\n  \"resetDaily\" : true,\n  \"resetTime\" : \"12:00:00 PM -08:00\"\n\n  \"campaigns\": [\n    {\n      \"campaignName\": \"Campaign name 1\",\n      \"campaignId\": \"99B6B870-6CC5-11EE-807C-0800200C9A66\",\n      \"disposition\": \"Requested DNC\",\n\t  \"allowAppend\": true\n    },\n    {\n      \"campaignName\": \"Campaign name 2\",\n      \"campaignId\": \"99B6B870-6CC5-11EE-807C-0800200C9A66\",\n      \"disposition\": \"Requested DNC\",\n      \"allowAppend\": true\n    },\n    {\n      \"campaignName\": \"Campaign name 3\",\n      \"campaignId\": \"7E57DE70-6CF1-11EE-807C-0800200C9A66\",\n      \"disposition\": \"Matched DNC\",\n      \"allowAppend\": false\n    }\n  ]\n} "}],"_postman_id":"34c6acc0-3aed-42fe-aa9f-068bd3b0b97a"},{"name":"Create DNC List","id":"dec1357d-220e-400d-bb7b-c94f4568c877","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"//FOR INTERNAL, GEOGRAPHIC POSTAL, AREA CODES\n\n{\n    \"name\": \"DNC - June\",\n    \"type\": \"INTERNAL\",\n    \"expireRecords\": true, \n    \"defaultExpirationPeriod\": 120\n}\n\n//FOR GEOGRAPHIC POSTAL, AREA CODES\n\n{\n    \"name\": \"DNC - June\",\n    \"type\": \"AREA_CODES\",\n    \"country\": \"US\"\n}\n\n//FOR RECORD EXCLUSION\n\n{\n    \"name\": \"Account Exclusion List\",\n    \"type\": \"EXCLUSION\",\n    \"expireRecords\": true, \n    \"defaultExpirationPeriod\": 120, \n    \"exclusionField\": \"Account Number\",\n    \"resetDaily\" : true,\n    \"resetPeriod\": \n        { \n        \"time\": \"04:00:00\",\n        \"timezoneID\" : \"America/Los_Angeles\" \t\n        }\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/donotcalllist/createDNCList","description":"<p>This method creates a new empty DNC list. Depending on the specified DNC list type, the creation process is as follows:</p>\n<ul>\n<li><p>For Internal, Geographic, Area Codes - new DNC lists are created using the fixed format corresponding to the list type</p>\n</li>\n<li><p>For Record Exclusion - the exclusion field has to be explicitly specified in the request body</p>\n</li>\n</ul>\n<p>Additionally, for DNC lists of Area Codes and Geographic Postal types, the ISO country code has to be explicitly specified in the request body.</p>\n<p><strong>Note:</strong> For Area Codes, additional option “Each area code had country prefix” is available. This option can be specified using “Prefixed” as the country value.</p>\n<p>On succesfull excution, the response should contain the ID of the newly created DNC list.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string, ≤ 255 characters  <br />  <br /><em><strong>Note:</strong></em> <em>DNC list name must be unique within the contact center</em></td>\n<td>yes</td>\n<td>-</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>yes</td>\n<td><code>“INTERNAL”</code>  <br /><code>“GEOGRAPHIC_POSTAL”</code>  <br /><code>“AREA_CODES”</code>  <br /><code>“EXCLUSION”</code></td>\n</tr>\n<tr>\n<td>country</td>\n<td>ISO country code;  <br />OR <code>“prefixed”</code> (applicable only to DNC lists of <strong>Area Codes</strong> type)</td>\n<td>only required for DNC lists of <strong>Area Codes</strong> and <strong>Geographic Postal</strong> types</td>\n<td></td>\n</tr>\n<tr>\n<td>expireRecords</td>\n<td>boolean</td>\n<td>only required for DNC lists of <strong>Internal</strong> and <strong>Record Exclusion</strong> types</td>\n<td>Default = <code>false</code></td>\n</tr>\n<tr>\n<td>defaultExpirationPeriod</td>\n<td>integer, [0, 365]  <br /><em><strong>Note:</strong></em> <em>Specifies number of days since record was added to the DNC list, after which that records is considered expired by the Dialer</em></td>\n<td>required, if <strong>expireRecords =</strong> <strong><code>true</code></strong></td>\n<td>Default = <code>90</code> days</td>\n</tr>\n<tr>\n<td>exclusionField</td>\n<td>Filed name to be set as \"key\" for records exclusion  <br />  <br /><em><strong>Note:</strong></em> <em>Must contain a valid field from the available calling list formats.</em></td>\n<td>only required for DNC lists of <strong>Record Exclusion</strong> type</td>\n<td>-</td>\n</tr>\n<tr>\n<td>resetDaily</td>\n<td>boolean</td>\n<td>only required for DNC lists of <strong>Record Exclusion</strong> type</td>\n<td>Default = <code>false</code></td>\n</tr>\n<tr>\n<td>resetPeriod</td>\n<td>JSON object, consisting of:  <br />  <br /><code>resetTime</code>, formatted as <code>HH:mm:ss</code>  <br />AND  <br />  <br /><code>timezoneID</code>, formatted as <code>{Area}/{Location}</code>  <br />e.g., \"America/New_York\"</td>\n<td>required, if <strong>resetDaily =</strong> <strong><code>true</code></strong></td>\n<td>Default <code>resetTime</code> = <code>00:00:00</code>  <br />  <br />Default <code>timezoneID</code> = user’s timezone</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Invalid URL</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Duplicate name error</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","donotcalllist","createDNCList"],"host":["<tenant_URL>"],"query":[],"variable":[]}},"response":[{"id":"6c615cd8-05bc-4fdd-a0c1-398e44265ce8","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://<tenant_URL>/configapi/v3/donotcalllist/createDNCList"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"31CAA7DA-0AE0-4D1A-BE8C-07CA1A4C39AC\",\n    \"id\": \"31CAA7DA-0AE1-4D1A-BE8C-07CA1A4C39AD\",\n    \"id\": \"31CAA7DA-0AE2-4D1A-BE8C-07CA1A4C39AE\"\n}"}],"_postman_id":"dec1357d-220e-400d-bb7b-c94f4568c877"},{"name":"Update DNC List Properties","id":"998586fb-93b3-42eb-9674-06d103abf403","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{ \n    \"name\": \"new DNC name\",\n    \"expireRecords\": true, \n    \"defaultExpirationPeriod\": 180,\n    \"resetDaily\" : true,\n    \"resetTime\" : \"12:00:00 PM -08:00\"\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/donotcalllist/updateDNCProperties/do_not_call_list_id","description":"<p>This method allows to change properties and settings of an existing DNC list, specified in the path variable, do_not_call_list_id.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string, ≤ 255 characters  <br />  <br /><em><strong>Note:</strong></em> <em>DNC list name must be unique within the contact center</em></td>\n<td>no</td>\n<td>-</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>no</td>\n<td><code>“INTERNAL”</code>  <br /><code>“GEOGRAPHIC_POSTAL”</code>  <br /><code>“AREA_CODES”</code>  <br /><code>“EXCLUSION”</code></td>\n</tr>\n<tr>\n<td>country</td>\n<td>ISO country code;  <br />OR <code>“prefixed”</code> (applicable only to DNC lists of <strong>Area Codes</strong> type)</td>\n<td>no, only applicable to DNC lists of <strong>Area Codes</strong> and <strong>Geographic Postal</strong> types</td>\n<td></td>\n</tr>\n<tr>\n<td>expireRecords</td>\n<td>boolean</td>\n<td>no, only applicable to DNC lists of <strong>Internal</strong> and <strong>Record Exclusion</strong> types</td>\n<td>Default = <code>false</code></td>\n</tr>\n<tr>\n<td>defaultExpirationPeriod</td>\n<td>integer, [0, 365]  <br /><em><strong>Note:</strong></em> <em>Specifies number of days since record was added to the DNC list, after which that records is considered expired by the Dialer</em></td>\n<td>required, if <strong>expireRecords =</strong> <strong><code>true</code></strong></td>\n<td>Default = <code>90</code> days</td>\n</tr>\n<tr>\n<td>exclusionField</td>\n<td>Filed name to be set as \"key\" for records exclusion  <br />  <br /><em><strong>Note:</strong></em> <em>Must contain a valid field from the available calling list formats.</em></td>\n<td>no, only applicable to DNC lists of <strong>Record Exclusion</strong> type</td>\n<td>-</td>\n</tr>\n<tr>\n<td>resetDaily</td>\n<td>boolean</td>\n<td>no, only applicable to DNC lists of <strong>Record Exclusion</strong> type</td>\n<td>Default = <code>false</code></td>\n</tr>\n<tr>\n<td>resetPeriod</td>\n<td>JSON object, consisting of:  <br />  <br /><code>resetTime</code>, formatted as <code>HH:mm:ss</code>  <br />AND  <br />  <br /><code>timezoneID</code>, formatted as <code>{Area}/{Location}</code>  <br />e.g., \"America/New_York\"</td>\n<td>required, if <strong>resetDaily =</strong> <strong><code>true</code></strong></td>\n<td>Default <code>resetTime</code> = <code>00:00:00</code>  <br />  <br />Default <code>timezoneID</code> = user’s timezone</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Invalid URL</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Duplicate name error</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","donotcalllist","updateDNCProperties","do_not_call_list_id"],"host":["<tenant_URL>"],"query":[],"variable":[]}},"response":[{"id":"3dc0a49a-9f13-42b9-9c4e-b58769c97a79","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{ \n    \"name\": \"new DNC name\",\n    \"expireRecords\": true, \n    \"defaultExpirationPeriod\": 180,\n    \"resetDaily\" : true,\n    \"resetTime\" : \"12:00:00 PM -08:00\"\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/donotcalllist/updateDNCProperties/do_not_call_list_id"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"998586fb-93b3-42eb-9674-06d103abf403"},{"name":"Delete DNC List","id":"02abdcd5-0b2c-4784-8ff9-1b82e2ca977e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://<tenant_URL>/configapi/v3/donotcalllist/deleteDNCList/:do_not_call_list_id","description":"<p>This method deletes the DNC list specified in the path variable, do_not_call_list_id.</p>\n<p>Once the DNC List is deleted, all records previously blocked by it in the associated campaign(s) become dialable again.</p>\n<p><strong>Note:</strong> Archivation of DNC Lists and DNS List records is not supported in the Admin Portal, so no special considerations should be made for List API.</p>\n","urlObject":{"protocol":"https","path":["configapi","v3","donotcalllist","deleteDNCList",":do_not_call_list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"37570333-663e-4b76-8463-757ba5e5a46c","type":"any","value":"","key":"do_not_call_list_id"}]}},"response":[{"id":"255095d0-d8a8-4f56-86c0-f7a3783e6880","name":"200 OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://<tenant_URL>/configapi/v3/donotcalllist/deleteDNCList/:do_not_call_list_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","donotcalllist","deleteDNCList",":do_not_call_list_id"],"variable":[{"key":"do_not_call_list_id","value":""}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"02abdcd5-0b2c-4784-8ff9-1b82e2ca977e"},{"name":"Bind DNC List","id":"421b0ab0-ec18-4ea7-9850-33ec1b4d704b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n   \"dncListid\": \"31CAA7DA-0AE0-4D1A-BE8C-07CA1A4C39AC\",\n   \"disposition\" : \"Number matched DNC\",\n   \"applyToLinkGroup\": false, \n   \"allowAppend\": true \n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/campaign/bindDNCList/:campaign_id","description":"<p>This method adds a DNC list to the campaign, referenced by its ID in the path variable.</p>\n<p><strong>Note:</strong> Manipulating calling lists associated with a campaign requires the user to have an additional <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UsersandTeams/Privileges#Service_and_Campaign_Administration:~:text=Start%20campaigns%20and,disable%20campaign%20lists.\">\"Start campaigns and enable lists\"</a> privilege.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>dncListId</td>\n<td>string</td>\n<td>yes</td>\n<td>-</td>\n</tr>\n<tr>\n<td>disposition</td>\n<td>string  <br />  <br /><strong>Note:</strong> Specifies disposition to be attached to call attempts and completed records in case of a match against DNC record</td>\n<td>yes</td>\n<td>-</td>\n</tr>\n<tr>\n<td>applyToLinkGroup</td>\n<td>boolean  <br />  <br /><em><strong>Note:</strong></em> <em>Allows to automatically apply DNC to all other campaigns in link group</em></td>\n<td>no</td>\n<td>-</td>\n</tr>\n<tr>\n<td>allowAppend</td>\n<td>boolean  <br />  <br /><em><strong>Note:</strong></em> <em>Allows numbers to be added to Internal DNC list based on “Add to DNC” disposition set by agents during the given campaign</em></td>\n<td>only required for DNC lists of <strong>Internal</strong> type</td>\n<td>Default = <code>false</code></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-codes\"><strong>Response Codes</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request (format not understood; 1 or more required fields are missing or have an unsupported value)</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication failed (invalid token format; token is expired)</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Authentication succeeded but the user does not have sufficient privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified campaign was not found;  <br />Specifed DNC list was not found;  <br />Invalid URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","campaign","bindDNCList",":campaign_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"006451f9-581e-42d3-a000-3f1a50e60337","type":"any","value":"","key":"campaign_id"}]}},"response":[{"id":"a906e3ff-1369-40a2-ad7a-661fa0778114","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"dncListid\": \"31CAA7DA-0AE0-4D1A-BE8C-07CA1A4C39AC\",\n   \"disposition\" : \"Number matched DNC\",\n   \"applyToLinkGroup\": false, \n   \"allowAppend\": true \n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/campaign/bindDNCList/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","campaign","bindDNCList",":campaign_id"],"variable":[{"key":"campaign_id","value":""}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"421b0ab0-ec18-4ea7-9850-33ec1b4d704b"},{"name":"Unbind DNC List","id":"6813ba5b-0fbb-4da8-9db1-4c1ad592108d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"dncListId\": \"DBA3A9B0-6CC4-11EE-807C-0800200C9A66\"\n}","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/campaign/unbindDNCList/:campaign_id","description":"<p>This method removes the DNC list from the associated campaign, referenced by its ID in the path variable., campaign_id.</p>\n<p>The DNC list to be removed is specified in the request body by its unique identifier, dncListId.</p>\n<p><strong>Note:</strong> Manipulating calling lists associated with a campaign requires the user to have an additional <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UsersandTeams/Privileges#Service_and_Campaign_Administration:~:text=Start%20campaigns%20and,disable%20campaign%20lists.\">\"Start campaigns and enable lists\"</a> privilege.</p>\n<h4 id=\"input-parameters\"><strong>Input parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Possible/Default Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>dncListId</td>\n<td>string</td>\n<td>yes</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","campaign","unbindDNCList",":campaign_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"id":"bbd13d8e-c3ea-4fb7-b8ed-d0be4becfca3","type":"any","value":"","key":"campaign_id"}]}},"response":[{"id":"19335c0b-4289-41b9-90ee-9d8534d4b3b5","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"dncListId\": \"DBA3A9B0-6CC4-11EE-807C-0800200C9A66\"\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://<tenant_URL>/configapi/v3/campaign/unbindDNCList/:campaign_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","campaign","unbindDNCList",":campaign_id"],"variable":[{"key":"campaign_id","value":""}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"6813ba5b-0fbb-4da8-9db1-4c1ad592108d"}],"id":"95f9ed76-61df-43a4-b8cd-06a838982c81","description":"<p>Bright Pattern's List Management API makes it easy to manage the contents of Do Not Call (DNC) lists with bulk delete, add, and replace actions. The API methods described in this section fully support <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/DoNotCallLists#:~:text=Internal%3A%20A%20list,numbers%20in%20it\">Internal</a>, <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/DoNotCallLists#:~:text=Geographic%20(Postal),a%20country%20code.\">Geographic (Postal)</a>, <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/DoNotCallLists#:~:text=Area%20codes%3A%20A%20list%20of%20area%20codes%3B%20if%20the%20area%20code%20of%20a%20phone%20number%20in%20a%20calling%20record%20matches%20an%20area%20code%20in%20this%20type%20of%20DNC%20list%2C%20this%20number%20will%20not%20be%20dialed%20(but%20the%20record%20itself%20may%20continue%20to%20be%20used%20if%20it%20has%20other%20numbers%20in%20it).\">Geographic (Area codes)</a>, and <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/DoNotCallLists#:~:text=Record%20Exclusion%3A%20A,the%20Log%20tab\">Record Exclusion</a> DNC list types. <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/DoNotCallLists#:~:text=Geographic%20(State/Province)%3A%20A,start%20with%20a%20country%20code.\">Geographic (State/Province)</a> DNC List type is not supported in the current implementation.</p>\n<p><strong>Note:</strong> Performing operations on DNC lists requires the user to have the \"<a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/UsersandTeams/Privileges#:~:text=Manage%20lists,with%20campaigns.\"><i>Manage Lists</i></a>\" privilege, configured in the Contact Center Administrator application.</p>\n<p>The functionality of the API methods described in this section is built upon a DNC List Record JSON Object with a <em>required non-empty</em> <em><strong>key</strong></em> field and an optional <em><strong>comment</strong></em> field. Depending on the DNC list type, the object's field values vary as follows:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>DNC List Type</th>\n<th>Field Values</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Internal</td>\n<td><em><strong>key</strong></em> (required field): <code>Phone number</code>  <br /><em><strong>comment</strong></em> (optional field): <code>Campaign Name</code></td>\n</tr>\n<tr>\n<td>Geographic (Postal)</td>\n<td><em><strong>key</strong></em> (required field): <code>Postal Code</code>  <br /><em><strong>comment</strong></em> (optional field): <code>Notes</code></td>\n</tr>\n<tr>\n<td>Geographic (Area Codes)</td>\n<td><em><strong>key</strong></em> (required field): <code>Area code</code>  <br /><em><strong>comment</strong></em> (optional field): <code>Notes</code></td>\n</tr>\n<tr>\n<td>Record Exclusion</td>\n<td><em><strong>key</strong></em> (required field): <code>Exclusion field</code>  <br /><em><strong>comment</strong></em> (optional field): -</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Note:</strong> When importing records or updating records it is important to remember that:</p>\n<ol>\n<li>All leading and trailing whitespaces should be deleted.</li>\n<li>All integer values should be converted to strings.</li>\n<li>Capitalization matters: values with different capitalizations are treated as distinct.</li>\n<li>The search can be performed by both the original values created in third-party systems and their transformed equivalents visible in the Administrator Application and Agent Desktop.</li>\n</ol>\n","_postman_id":"95f9ed76-61df-43a4-b8cd-06a838982c81"},{"name":"Cursor-based Pagination","item":[],"id":"2ed4dcaa-ed07-4724-b0d5-d537cef1046a","description":"<p><em>Cursor-based Pagination</em>, utilized in many of the Bright Pattern's List Management API methods is a current state-of-the-art approach to dealing with large volumes of data.</p>\n<p>In cases where API requests are expected to contain many and many rows of records, returning them all at once is not an option. Instead, it makes sense to return one subset of a predefined size, a <em>page,</em> at a time. This technique, called <em>paging</em>, is commonly used across the majority of APIs. The <em>cursor-based</em> part of our approach comes from the idea of using a \"cursor\" - something like a bookmark that points exactly to where you left off.</p>\n<p>At the core of <em>Cursor-based pagination</em> lies a rather basic concept of <em>pointers.</em> The pointer in this case is called a \"cursor\", and is used to reference a specific record in a database. In each request, clients pass <code>cursor</code> along with <code>page_size</code> parameter that specifies the number of records returned per page.</p>\n<p>It is important to remember that:</p>\n<ul>\n<li>The <code>cursor</code> must refer to a specific <em>unique</em> value in the database.<ul>\n<li>If the <code>cursor</code> value is not provided, the first record in the database will be used by default.</li>\n</ul>\n</li>\n<li>The number of records, specified in <code>page_size</code> , with corresponding field values less than the value of <code>cursor</code> are returned.<ul>\n<li>If the number of records returned is less than <code>page_size</code>, it implies that there are no more records and the page returned was the last one.</li>\n</ul>\n</li>\n<li>The record whose position is <code>page_size + 1</code> is passed back to the client as the <code>next_cursor</code>.</li>\n</ul>\n","_postman_id":"2ed4dcaa-ed07-4724-b0d5-d537cef1046a"},{"name":"Error Handling","item":[],"id":"ed3b3b04-32bf-4ddf-9e2a-67cdc550816c","description":"<p><strong>Note:</strong> This section provides general information regarding unsuccessful execution responses. We recommend you refer to the <em>Response Codes</em> description provided for each method individually for more specific information about any encountered errors.</p>\n<p>Bright Pattern’s List Management API utilizes standard HTTP codes to indicate successful execution and flag errors if any occur. For each error listed in this documentation, the response includes the following information:</p>\n<ol>\n<li><p>Human-readable error name - e.g. <code>\"bad_request\"</code></p>\n</li>\n<li><p>Detailed description of what caused the error to occur - e.g. <code>\"'parameter_name' has unsupported value 'parameter_value': integer is expected\"</code></p>\n</li>\n</ol>\n<p>and has the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{ \n  “error”: “name”, //error name\n  “error_description”: “description” //detailed description of the reasons that led to this error\n}\n\n</code></pre><p><strong>Note:</strong> We highly recommend paying close attention to the content of <code>error_description</code> as it offers useful information to aid debugging.</p>\n<h3 id=\"possible-errors\">Possible Errors</h3>\n<p>The table below contains the full list of HTTP errors and specifies possible underlying reasons for each of them.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Error</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Possible Reasons</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>400 Bad Request</code></strong></td>\n<td>Request cannot be processed due to a format error</td>\n<td>- Empty or missed required parameter  <br />- Duplicated parameter  <br />- Unsupported parameter  <br />- Wrong value format or value out of boundaries</td>\n</tr>\n<tr>\n<td><strong><code>401 Unauthorized</code></strong></td>\n<td>Authentification failed for some reason</td>\n<td>- Wrong Client ID/Secret or Grant type  <br />- Tenant is inactive  <br />- Client is disabled or locked out  <br />- Token is expired or has an invalid format</td>\n</tr>\n<tr>\n<td><strong><code>403 Forbidden</code></strong></td>\n<td>Requested operation cannot be performed due to insufficient privileges on the current user's profile</td>\n<td>- User is authenticated but doesn't have sufficient privileges</td>\n</tr>\n<tr>\n<td><strong><code>404 Not Found</code></strong></td>\n<td>Specified resource cannot be found</td>\n<td>- Wrong path or key  <br />- Wrong or missing object ID</td>\n</tr>\n<tr>\n<td><strong><code>405 Method Not Allowed</code></strong></td>\n<td>Requested method cannot be performed for the specified resource</td>\n<td>- Wrong request type  <br />- HEAD request type</td>\n</tr>\n<tr>\n<td><strong><code>409 Conflict</code></strong></td>\n<td>Request conflicts with the current state of the server</td>\n<td>- Duplicate or missing value  <br />- Issue with specified instance  <br />- Campaign is already in the requested state  <br />- List is not bound to the specified campaign</td>\n</tr>\n<tr>\n<td><strong><code>415 Unsupported Media Type</code></strong></td>\n<td>Media format of the requested data is not supported</td>\n<td>- No content type in HTTP header  <br />- Content type is text/plain but JSON is expected</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"ed3b3b04-32bf-4ddf-9e2a-67cdc550816c"}]}