{"info":{"_postman_id":"da48d93d-8a6f-449b-aa18-93c0583ffc44","name":"BPCC List Management API v3.0","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.0 features new and enhanced API methods to help you overcome operational challenges and streamline campaign management processes.</p>\n<p>Bright Pattern's List Management API 3.0 enables you to:</p>\n<ul>\n<li><p>Access information about enabled outbound campaigns and view their results</p>\n</li>\n<li><p>Start/Stop outbound campaigns and bind/unbild/update associated calling lists (new*)</p>\n</li>\n<li><p>View calling lists' data and manage records individually or in bulk</p>\n</li>\n<li><p>Create new lists and new formats (new*)</p>\n</li>\n<li><p>Manage the contents of Do Not Call lists</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 \"DEPRECATED\" 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.0 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 Management API 2.0</em></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"8336025","collectionId":"da48d93d-8a6f-449b-aa18-93c0583ffc44","publishedId":"2sA3Qy5U4z","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-06-03T21:01:30.000Z"},"item":[{"name":"Authentication","item":[{"name":"Get Access Token","id":"1e3d9c95-baf0-40a6-b7c3-06b210ba5bfe","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":"05a1a7ba-f1df-4733-a988-545620057aa4","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":"1e3d9c95-baf0-40a6-b7c3-06b210ba5bfe"}],"id":"f1349350-ea81-4d33-95cd-62d52c3a5419","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><p>Login to the Contact Center Administrator application.</p>\n</li>\n<li><p>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.</p>\n</li>\n<li><p>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.</p>\n</li>\n<li><p>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.</p>\n</li>\n<li><p>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.</p>\n</li>\n</ol>\n","_postman_id":"f1349350-ea81-4d33-95cd-62d52c3a5419"},{"name":"Campaigns","item":[{"name":"Get Campaigns","id":"3cb37d57-e2d4-44c7-9561-cff21ef01a4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"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":"61526cac-aa86-44f9-a09a-97c500fff8f9","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":"3cb37d57-e2d4-44c7-9561-cff21ef01a4a"},{"name":"Get Campaign","id":"3395bd06-be68-4f51-86cb-d3972566f8e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"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":[{"type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"2d6fb969-2d98-4c06-9932-3876566ec45c","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","description":""}],"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\": \"f1\",\n                        \"fieldName\": \"Priority\",\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\": \"accountId\",\n            \"disposition\": \"Number matches DNC\"\n        }\n    ]\n}"}],"_postman_id":"3395bd06-be68-4f51-86cb-d3972566f8e5"},{"name":"Get Campaign Status","id":"ceecbb92-870b-4f83-a38f-02b770b2c0b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"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":[{"type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"502d95a5-2722-4a5e-94fd-f07615d483a4","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":"ceecbb92-870b-4f83-a38f-02b770b2c0b4"},{"name":"Start","id":"34cab801-320d-4735-989e-41bfa76c7d84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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":[{"type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"be27dc60-a282-4f78-b662-1169b980d1ee","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":"34cab801-320d-4735-989e-41bfa76c7d84"},{"name":"Stop","id":"0560cca2-8a43-46c9-843d-090c0cf18886","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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":[{"type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"b54ac218-1848-4c44-b9bd-3144c27a984b","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":"0560cca2-8a43-46c9-843d-090c0cf18886"},{"name":"Bind List","id":"fffc2ef4-3a4c-4491-a8f4-5ab2b955d06d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"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\": \"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":[{"type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"bcd9f82d-9ec3-4b45-bac1-dbff65e9e557","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":"fffc2ef4-3a4c-4491-a8f4-5ab2b955d06d"},{"name":"Update List","id":"6804d161-a3c8-415c-af3c-b5e56cc836fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"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\": \"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":[{"type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"3eb43943-3a94-43c6-bec4-2f57ed9620d4","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":"6804d161-a3c8-415c-af3c-b5e56cc836fc"},{"name":"Unbind List","id":"747ba182-1d13-4985-bd99-5586c01342d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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":[{"type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"35f1e7e4-6711-4e2c-8e28-e295d8497777","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":"747ba182-1d13-4985-bd99-5586c01342d6"},{"name":"Get All Records","id":"a20e1ad5-88a7-418d-a8f8-91367c2c3d43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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, and optionally displays the number of request attempts made. Records returned are sorted by the standard MongoDB <code>_id</code> field. The instance to query is specified by its unique identifier, <code>instanceID</code>, which can be retrieved using the <a href=\"https://documenter.getpostman.com/view/8336025/2sA3Qy5U4z#152661b9-21ac-43cb-991c-0f363ba27cbf\"><i>Get Lists</i> method</a>.</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<p><strong>Note:</strong> The input parameters defined for this method in the List Management API 3.0 differ from the Lists.Get All Records DEPRECATED version.</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><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</ul>\n</li>\n<li><p><code>status</code>object: contains the campaign results for this specific record</p>\n<ul>\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<li><p><code>attempts</code> list: contains all of the request attempts made (if enabled)</p>\n</li>\n</ul>\n<p><strong>Note:</strong> <em><strong>Time</strong></em> and <em><strong>date</strong></em> field values are returned in UTC format.</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 with the <a href=\"https://documenter.getpostman.com/view/8336025/2sA3Qy5U4z#152661b9-21ac-43cb-991c-0f363ba27cbf\"><i>Get Lists</i> method</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 size of the returned list)</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; 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>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":[{"type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"253b2006-4399-458d-a0b3-d842bb814cfc","name":"All","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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","description":""},{"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                \"lastname\": \"Lastname4\",\n                \"date_time\": \"29-12-2023\",\n                \"phone\": \"1004\",\n                \"id\": \"N4\"\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                \"lastname\": \"Lastname2\",\n                \"date_time\": \"01-12-2023\",\n                \"phone\": \"1002\",\n                \"id\": \"N2\"\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                                \"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":"a20e1ad5-88a7-418d-a8f8-91367c2c3d43"},{"name":"Get Completed Records","id":"eca8a415-0082-4ce2-9ba6-28c6d993963c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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 response body contains the List Record JSON Object, defined by two sub-objects 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</ul>\n</li>\n<li><p><code>status</code>object: contains the campaign results for this specific record</p>\n<ul>\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<li><p><code>attempts</code> list: contains all of the request attempts made (if enabled)</p>\n</li>\n</ul>\n<p><strong>Note:</strong> <em><strong>Time</strong></em> and <em><strong>date</strong></em> field values are returned in UTC format.</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 size of the returned list)</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; 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>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":[{"type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"522012b5-1ea0-4345-95f5-f2991e376b89","name":"Completed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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","description":""},{"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                \"lastname\": \"Lastname2\",\n                \"date_time\": \"01-12-2023\",\n                \"phone\": \"1002\",\n                \"id\": \"N2\"\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                                \"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":"eca8a415-0082-4ce2-9ba6-28c6d993963c"},{"name":"Get Updated Records","id":"5714be25-9c42-43ce-a101-e45e1469488f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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 (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 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://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>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 <a href=\"https://brightpattern.postman.co/workspace/BPCC-APIs~7850a0d0-1d22-4d63-82e0-676ee5f5905b/request/8336025-42e621e0-ee29-43d3-9cc8-52c62959ab49?action=share&amp;source=copy-link&amp;creator=34778214&amp;ctx=documentation\">Lists - Get Updated Records</a> DEPRECATED version.</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><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</ul>\n</li>\n<li><p><code>status</code>object: contains the campaign results for this specific record</p>\n<ul>\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<li><p><code>attempts</code> list: contains all of the request attempts made (if enabled)</p>\n</li>\n</ul>\n<p><strong>Note:</strong> <em><strong>Time</strong></em> and <em><strong>date</strong></em> field values are returned in UTC format.</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 size of the returned list)</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; 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>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":[{"type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"96321d35-e944-4a08-b375-5080ce15ac44","name":"Updated","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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","description":""},{"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                \"lastname\": \"Lastname2\",\n                \"date_time\": \"01-12-2023\",\n                \"phone\": \"1002\",\n                \"id\": \"N2\"\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                                \"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":"5714be25-9c42-43ce-a101-e45e1469488f"},{"name":"Query a Record","id":"dba8a692-4805-4c0f-9a9a-52d604982dd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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>). Optionally, the user can view all request attempts made.</p>\n<p>The search for the record is performed based on the defined key fields. 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><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</ul>\n</li>\n<li><p><code>status</code>object: contains the campaign results for this specific record</p>\n<ul>\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<li><p><code>attempts</code> list: contains all of the request attempts made (if enabled)</p>\n</li>\n</ul>\n<p><strong>Note:</strong> <em><strong>Time</strong></em> and <em><strong>date</strong></em> field values are returned in UTC format.</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>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":[{"type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"4b645015-bf97-44f5-bb35-248a90c87fa8","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"instanceId\": \"DBA3A9B0-6CC4-11EE-807C-0800200C9A66\",   \r\n    \"extractAttempts\": false,\r\n    \"fields\": {\r\n        \"id\": \"N4\"\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","description":""},{"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        \"lastname\": \"Lastname4\",\n        \"date_time\": \"29-12-2023\",\n        \"phone\": \"1004\",\n        \"id\": \"N4\"\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":"dba8a692-4805-4c0f-9a9a-52d604982dd9"}],"id":"f1573f94-94c9-4761-a87d-4b36770df2f2","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":"f1573f94-94c9-4761-a87d-4b36770df2f2"},{"name":"Lists","item":[{"name":"Get All Records DEPRECATED","id":"e487cf55-90f9-413f-85ce-69f3fa43a7a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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><strong>Note:</strong> This method was retained from the previous List Management API version and is not recommended for usage. Instead, we recommend using the enhanced <a href=\"https://documenter.getpostman.com/view/8336025/2sA3Qy5U4z#a20e1ad5-88a7-418d-a8f8-91367c2c3d43\">Campaigns - Get All Records</a> method.</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>field names are retained as defined at list creation<ul>\n<li><strong>Note:</strong> This method doesn't return custom fields</li>\n</ul>\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>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<p><strong>Note:</strong> If the specified list is not bound to the campaign, the method returns an empty list, i.e.<code>([]).</code></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>maxSize</td>\n<td>integer, ≤ 1000</td>\n<td>yes (specifies the maximum size of the returned list)</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":[{"type":"any","value":null,"key":"list_id"},{"type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"8a24ccb9-359a-4b06-bf5b-377bfdd9e5e6","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":"e487cf55-90f9-413f-85ce-69f3fa43a7a2"},{"name":"Get Updated Records DEPRECATED","id":"42e621e0-ee29-43d3-9cc8-52c62959ab49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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> This method was retained from the previous List Management API version and is not recommended for usage. Instead, we recommend using the enhanced <a href=\"https://documenter.getpostman.com/view/8336025/2sA3Qy5U4z#5714be25-9c42-43ce-a101-e45e1469488f\">Campaigns - Get Updated Records</a> method.</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><strong>Note:</strong> This method doesn't return custom fields</li>\n</ul>\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>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<li><p><code>attempts</code> list: contains all of the request attempts made</p>\n</li>\n</ul>\n<p><strong>Note:</strong> <em><strong>Time</strong></em> and <em><strong>date</strong></em> field values are returned in UTC format.</p>\n<p><strong>Note:</strong> If the specified list is not bound to the campaign, the method returns an empty list, i.e.<code>([]).</code></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>maxSize</td>\n<td>integer, ≤ 1000</td>\n<td>yes (specifies the maximum size of the returned list)</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":[{"type":"any","value":null,"key":"list_id"},{"type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"ef4a6deb-ce11-4f7a-ba8f-e6a6581d2442","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":"42e621e0-ee29-43d3-9cc8-52c62959ab49"},{"name":"Query a Record DEPRECATED","id":"f286c16c-cfc9-41ac-a0eb-56b46f474d00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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 search for the record is performed based on the defined key fields.</p>\n<p><strong>Note:</strong> This method was retained from the previous List Management API version and is not recommended for usage. Instead, we recommend using the enhanced <a href=\"https://documenter.getpostman.com/view/8336025/2sA3Qy5U4z#dba8a692-4805-4c0f-9a9a-52d604982dd9\">Campaigns - Query a Record </a> method.</p>\n<p>If the list has been added to the specified campaign more than once, the method returns an array of records. If the list is not bound to any campaign, the record can still be queried by passing any string, e.g. '<code>aaa'</code> as <code>campaign_id</code></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><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</ul>\n</li>\n<li><p><code>status</code>object: contains the campaign results for this specific record</p>\n<ul>\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<p><strong>Note: T</strong><em><strong>ime</strong></em> and <em><strong>date</strong></em> 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<p><strong>Note:</strong> If the specified list is not bound to the campaign, the method does not return the status object.</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":[{"type":"any","value":null,"key":"list_id"},{"type":"any","value":null,"key":"campaign_id"}]}},"response":[{"id":"bf237370-ae19-4591-a282-e3edaa40a466","name":"0 instances - 200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"phone\": \"16505555555\"\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","description":""},{"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":"d223c13c-083f-4816-ae72-fd36fe8b553b","name":"1 instance - 200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"phone\": \"16505555555\"\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","description":""},{"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":"eb511883-ef3c-48e3-95b8-4e7d0852a3bf","name":"2 instances - 200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"phone\": \"16505555555\"\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","description":""},{"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":"f286c16c-cfc9-41ac-a0eb-56b46f474d00"},{"name":"Get Lists","id":"152661b9-21ac-43cb-991c-0f363ba27cbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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, ≤ 100</td>\n<td>yes (specifies the maximum size of the returned list)</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","callinglist","getAll"],"host":["<tenant_URL>"],"query":[],"variable":[]}},"response":[{"id":"de0f0316-ecd6-40b5-b944-eec0a10b3b09","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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","description":""},{"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            \"creationDate\": \"2021-02-19T19:11:40.000\",\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            \"creationDate\": \"2021-02-19T19:11:41.000\",\n            \"totalRecords\": 100\n        }\n    ]\n}"}],"_postman_id":"152661b9-21ac-43cb-991c-0f363ba27cbf"},{"name":"Get List","id":"d6c78bf2-04cf-46e3-bece-29325c9eafe7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"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, 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":[{"type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"9f6f712b-a1d1-43b7-8000-235baab2747b","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"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","description":""},{"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  \"creationDate\": \"2021-02-19T19:11:40.000\",\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":"d6c78bf2-04cf-46e3-bece-29325c9eafe7"},{"name":"Delete List and Orphaned Format","id":"28713b9d-e1ad-49e5-adc1-ae163aaf40f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"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":[{"type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"8db2e00d-72fc-4be3-8351-ef57918b4614","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":"28713b9d-e1ad-49e5-adc1-ae163aaf40f6"},{"name":"Create List","id":"323a4a24-9b48-41c8-be1f-30706559f463","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"List 3.csv\",\r\n    \"formatId\": \"31002C90-7188-11EE-A565-0800200C9A66\"\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":"8ace39d1-e292-4fab-90ed-aa1f201a0772","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"List 2.csv\",\r\n    \"formatId\": \"31002C90-7188-11EE-A565-0800200C9A66\"\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","description":""},{"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":"323a4a24-9b48-41c8-be1f-30706559f463"},{"name":"Create List with New Format","id":"33bb1586-81b9-4627-ad01-7c6c4afae404","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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\": \"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        }            \r\n    ],\r\n    \"listName\": \"List 1.csv\"\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><strong>Note:</strong> By default, the newly created format will have the following settings, that <em>cannot</em> be changed:</p>\n<ul>\n<li><p><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=Input%20file%20encoding,subsequent%20list%20imports.\">Input file encoding</a> is set to UTF-8</p>\n</li>\n<li><p>No header row is added to <a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=First%20line%20contains,can%27t%20be%20imported.\">contain filed names</a></p>\n</li>\n<li><p><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=Delimiter,as%20a%20table.\">Delimiter</a> is set to \"comma\" character</p>\n</li>\n</ul>\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><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><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=COMPANY,store%20company%20names.\">COMPANY</a></td>\n<td><em>Company</em> type fields can be used to store the information about the company the record belongs to, e.g. company name.</td>\n</tr>\n<tr>\n<td><a href=\"https://help.brightpattern.com/5.19:Contact-center-administrator-guide/Lists#:~:text=DATE/TIME,be%20used%20to%20set%20campaign%20quotas.\">DATETIME</a></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</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>no ( applicable only for <code>phoneType</code> = <code>OTHER</code>)</td>\n<td>-</td>\n</tr>\n<tr>\n<td>defaultCoutryCode</td>\n<td>string</td>\n<td>no (applicable only for <code>phoneType</code> = <code>OTHER</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</td>\n<td>-; \"<code>FORMAT: $(formatName)\"</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>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":"991f6323-6a38-4cd9-a06d-a57c295de185","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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\": \"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        }            \r\n    ],\r\n    \"listName\": \"List 1.csv\"\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","description":""},{"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":"33bb1586-81b9-4627-ad01-7c6c4afae404"},{"name":"Add Many Records","id":"66ebbc89-2ede-4340-8250-4f1e1ce065e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"firstname\": \"Firstname4\",\r\n        \"lastname\": \"Lastname4\",\r\n        \"date_time\": \"01-11-2023\",\r\n        \"phone\": \"1004\",\r\n        \"id\": \"N4\"\r\n    },\r\n    {\r\n        \"firstname\": \"Firstname5\",\r\n        \"lastname\": \"Lastname5\",\r\n        \"date_time\": \"12-11-2023\",\r\n        \"phone\": \"10045\",\r\n        \"id\": \"N5\"\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://<tenant_URL>/configapi/v3/callinglist/addAll/:list_id","description":"<p>This method adds multiple new records to a calling list and returns the number of successfully added 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><p><code>limitExceeded</code> - the maximum total number of rows across all existing lists has been reached</p>\n</li>\n<li><p><code>missingKey</code> - one or more key field values were not found;</p>\n</li>\n<li><p><code>duplicateKey</code> - a record with the same key already exists in the list;</p>\n</li>\n<li><p><code>missingRequired</code> - one or more required fields are missing values;</p>\n</li>\n<li><p><code>formatError</code> - format was mismatched in one or more field values (e.g. boolean value was defined for an integer field); one or more unsupported fields were defined in the request body</p>\n</li>\n</ul>\n<p><strong>Note:</strong> The type of error encountered is returned in the response body, along with the list of objects that could not be added due to that error. The example provided below reflects the response format of all of the described errors.</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","addAll",":list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"85057a6e-1f96-4fe5-b65c-b930587dcf78","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"firstname\": \"Firstname1\",\r\n        \"lastname\": \"Lastname1\",\r\n        \"date_time\": \"01-11-2023\",\r\n        \"phone\": \"1001\",\r\n        \"id\": \"N1\"\r\n    },\r\n    {\r\n        \"firstname\": \"Firstname2\",\r\n        \"lastname\": \"Lastname2\",\r\n        \"date_time\": \"01-11-2023\",\r\n        \"phone\": \"1002\",\r\n        \"id\": \"N2\"\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","description":""},{"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\": \"Firstname2\",\n                \"lastname\": \"Lastname2\",\n                \"date_time\": \"01-11-2023\",\n                \"phone\": \"1002\",\n                \"id\": \"N2\"\n            }\n        ]\n    }\n}"}],"_postman_id":"66ebbc89-2ede-4340-8250-4f1e1ce065e5"},{"name":"Add Record","id":"cac785f7-c517-4570-a36b-1cbc6d7784b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"firstname\": \"Firstname4\",\r\n    \"lastname\": \"Lastname4\",\r\n    \"date_time\": \"01-11-2023\",\r\n    \"phone\": \"1004\",\r\n    \"id\": \"N4\"\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":[{"type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"6c37e987-52f2-44f5-94a0-43277ab5f367","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"firstname\": \"Firstname3\",\r\n    \"lastname\": \"Lastname3\",\r\n    \"date_time\": \"01-11-2023\",\r\n    \"phone\": \"1003\",\r\n    \"id\": \"N3\"\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","description":""},{"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":"cac785f7-c517-4570-a36b-1cbc6d7784b2"},{"name":"Update Many Records","id":"b9d26d40-cc18-4047-bdcc-57b0bba13d3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"id\": \"N3\",\r\n        \"phone\": \"1004\"\r\n    },\r\n    {\r\n        \"id\": \"N4\",\r\n        \"phone\": \"1004\"\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><p><code>missingKey</code> - one or more key field values were not found;</p>\n</li>\n<li><p><code>keyNotFound</code> - a record with the same key already exists in the DNC list;</p>\n</li>\n<li><p><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</p>\n</li>\n</ul>\n<p><strong>Note:</strong> The type of error encountered is returned in the response body, along with the list of objects that could not be updated due to that error. The example provided below reflects the response format of all of the described errors.</p>\n<p>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":[{"type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"dc143243-06e6-46d3-af82-facf17a72f2b","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"id\": \"N3\",\r\n        \"phone\": \"1004\"\r\n    },\r\n    {\r\n        \"id\": \"N4\",\r\n        \"phone\": \"1004\"\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","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    \"updated\": 1,\n    \"error\": {\n        \"keyNotFound\": [\n            {\n                \"id\": \"N4\",\n                \"phone\": \"1004\"\n            }\n        ]\n    }\n}"}],"_postman_id":"b9d26d40-cc18-4047-bdcc-57b0bba13d3f"},{"name":"Update Record","id":"5e8626c4-30af-47a2-966f-8d5817fd8630","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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":[{"type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"c9fae78d-172d-4423-bc18-88571133c565","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"N3\",\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","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":""}],"_postman_id":"5e8626c4-30af-47a2-966f-8d5817fd8630"},{"name":"Erase Record","id":"1be3c166-df40-4c86-87a3-fb48f335a1b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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><p>Progressive, Predictive, or Automatic (IVR) campaigns</p>\n<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><p>Preview campaigns</p>\n<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><strong>Note:</strong> Erased records with completed calls and their results are not archived. 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":[{"type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"814fbc7e-f3c7-4f70-a420-5563bea5fb95","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":"1be3c166-df40-4c86-87a3-fb48f335a1b7"},{"name":"Delete Many Records","id":"c23ad7ee-6485-4be9-94a7-b21c18abff6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"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.</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>Upon request, an asynchronous job is created with a unique id. The id is returned in the response, along with the estimated completion time.</p>\n<p>The job id can be further used to check on the deletion progress. For more information, refer to <a href=\"https://www.postman.com/brightpattern/brightpattern-s-public-workspace/documentation/uq9sbkp/bpcc-list-management-api-v3-0?entity=request-25d6970a-3d95-4ffd-beea-0096885fcc95\"><i>Get Job Status</i></a> method description.</p>\n<p><strong>Note:</strong> The method processes one record deletion job at a time per specified list. We recommend that you check the status of the existing record deletion job before initiating another one.</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><p><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);</p>\n</li>\n<li><p>status in the associated campaign (defined in the <code>byCampaignResult.policy</code> parameter);</p>\n</li>\n<li><p>creation date (defined in the <code>createdFrom</code> and <code>createdTo</code> parameters);</p>\n</li>\n<li><p>combination of the above</p>\n<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 />Specified Campaign was not found;  <br />Invalid URL</td>\n</tr>\n<tr>\n<td>409</td>\n<td>List is not bound to specified Campaign;  <br />Record deletion job is already in progress for the specified List</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","delete",":list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"4fbadf6b-e88f-4c2c-bd8c-c295d543d7dd","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\"job\": \"664f86eb65d0ccc8a05042d0\",\n\"estimated_time\": 38 // in seconds\n}"}],"_postman_id":"c23ad7ee-6485-4be9-94a7-b21c18abff6b"},{"name":"Delete All Records","id":"f49852fa-cf89-4ef3-a445-e85218dfdc43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://<tenant_URL>/configapi/v3/callinglist/deleteAll/:list_id","description":"<p>This method removes all records from a list.</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>Upon request, an asynchronous job is created with a unique id. The id is returned in the response, along with the estimated completion time.</p>\n<p>The job id can be further used to check on the deletion progress. For more information, refer to <a href=\"https://www.postman.com/brightpattern/brightpattern-s-public-workspace/documentation/uq9sbkp/bpcc-list-management-api-v3-0?entity=request-25d6970a-3d95-4ffd-beea-0096885fcc95\"><i>Get Job Status</i></a> method description.</p>\n<p><strong>Note:</strong> The method processes one record deletion job at a time per specified list. We recommend that you check the status of the existing record deletion job before initiating another one.</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><p>Progressive, Predictive, or Automatic (IVR) campaigns</p>\n<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><p>Preview campaigns</p>\n<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 />Specified Campaign was not found;  <br />Invalid URL</td>\n</tr>\n<tr>\n<td>409</td>\n<td>List is not bound to specified Campaign;  <br />Record deletion job is already in progress for the specified List</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","callinglist","deleteAll",":list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"type":"any","value":null,"key":"list_id"}]}},"response":[{"id":"3ebf6658-d332-4b26-98ae-b8c01a9f00b9","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","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\"job\": \"664f86eb65d0ccc8a05046d0\",\n\"estimated_time\": 7 // in seconds\n}"}],"_postman_id":"f49852fa-cf89-4ef3-a445-e85218dfdc43"},{"name":"Get Job Status","id":"25d6970a-3d95-4ffd-beea-0096885fcc95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://<tenant_URL>/configapi/v3/job/:job_id","description":"<p>This method returns the status of the <strong>record deletion job</strong>, requested in <a href=\"https://www.postman.com/brightpattern/brightpattern-s-public-workspace/documentation/uq9sbkp/bpcc-list-management-api-v3-0?entity=request-c23ad7ee-6485-4be9-94a7-b21c18abff6b\"><i>Delete Many Records</i></a> or <a href=\"https://www.postman.com/brightpattern/brightpattern-s-public-workspace/documentation/uq9sbkp/bpcc-list-management-api-v3-0?entity=request-f49852fa-cf89-4ef3-a445-e85218dfdc43\"><i>Delete All Records</i></a> methods. The job is referenced in the path variable by its unique identifier, returned in the response body of the above methods.</p>\n<p>Depending on the status of the record deletion job, the following parameters are retuned in the response body:</p>\n<ul>\n<li><p><code>completion_percentage</code>: calculated as the current number of succesfully deleted records over the total number of records to be deleted (multiplied by 100)</p>\n<ul>\n<li>returned always</li>\n</ul>\n</li>\n<li><p><code>job_complete</code>: status of the record deletion job, i.e. <code>complete</code>, <code>processing</code>, or <code>failed</code></p>\n<ul>\n<li>returned always</li>\n</ul>\n</li>\n<li><p><code>error_message</code>: reason why the record deletion job could not be comleted</p>\n<ul>\n<li>returned if the job was failed ( <code>job_complete</code>= <code>failed</code>)</li>\n</ul>\n</li>\n<li><p><code>deleted</code>: the total number of successfully deleted records</p>\n<ul>\n<li>retuned if the job was completed ( <code>job_complete</code>= <code>complete</code>)</li>\n</ul>\n</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 privileges</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Specified Job was not found</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v3","job",":job_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"type":"any","value":"","key":"job_id"}]}},"response":[{"id":"c01ae534-e691-4c7e-80db-40e068986b6c","name":"200 OK: Job Processing","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://<tenant_URL>/configapi/v3/job/:job_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","job",":job_id"],"variable":[{"key":"job_id","value":"664f86eb65d0ccc8a05046d0"}]}},"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 7 Oct 2024 19:54:53 GMT","description":"","type":"text"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"503","description":"","type":"text"},{"key":"Connection","value":"keep-alive","description":"","type":"text"},{"key":"Set-Cookie","value":"AWSALB=50RX/hrm/sDi+hQim7drB8V01nmdb4R4lA/Rn9BAFlq9iojtpF8ulJhBZlkk5hSZsXAwH8mOFmtAGJESNjY04vnLs0COry6MGFImWNSlq6RMAsjh9p4wrGS9Nm41; Expires=Mon, 7 Oct 2024 19:54:53 GMT; Path=/","description":"","type":"text"},{"key":"Set-Cookie","value":"AWSALBCORS=50RX/hrm/sDi+hQim7drB8V01nmdb4R4lA/Rn9BAFlq9iojtpF8ulJhBZlkk5hSZsXAwH8mOFmtAGJESNjY04vnLs0COry6MGFImWNSlq6RMAsjh9p4wrGS9Nm41; Expires=Mon, 7 Oct 2024 19:54:53 GMT; Path=/; SameSite=None; Secure","description":"","type":"text"},{"key":"Server","value":"nginx/1.23.2","description":"","type":"text"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store","description":"","type":"text"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n\"completion_percentage\": 31,\n\"job_complete\": \"processing\"\n}\n\n"},{"id":"c87a03e3-ee65-4bb4-8f30-cf8373a9f379","name":"200 OK: Job Completed","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://<tenant_URL>/configapi/v3/job/:job_id","protocol":"https","host":["<tenant_URL>"],"path":["configapi","v3","job",":job_id"],"variable":[{"key":"job_id","value":"664f86eb65d0ccc8a05046d0"}]}},"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 7 Oct 2024 19:54:53 GMT","description":"","type":"text"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"503","description":"","type":"text"},{"key":"Connection","value":"keep-alive","description":"","type":"text"},{"key":"Set-Cookie","value":"AWSALB=50RX/hrm/sDi+hQim7drB8V01nmdb4R4lA/Rn9BAFlq9iojtpF8ulJhBZlkk5hSZsXAwH8mOFmtAGJESNjY04vnLs0COry6MGFImWNSlq6RMAsjh9p4wrGS9Nm41; Expires=Mon, 7 Oct 2024 19:54:53 GMT; Path=/","description":"","type":"text"},{"key":"Set-Cookie","value":"AWSALBCORS=50RX/hrm/sDi+hQim7drB8V01nmdb4R4lA/Rn9BAFlq9iojtpF8ulJhBZlkk5hSZsXAwH8mOFmtAGJESNjY04vnLs0COry6MGFImWNSlq6RMAsjh9p4wrGS9Nm41; Expires=Mon, 7 Oct 2024 19:54:53 GMT; Path=/; SameSite=None; Secure","description":"","type":"text"},{"key":"Server","value":"nginx/1.23.2","description":"","type":"text"},{"key":"Cache-Control","value":"must-revalidate,no-cache,no-store","description":"","type":"text"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n\"completion_percentage\": 100,\n\"job_complete\": \"complete\",\n\"deleted\": 47500\n}\n"}],"_postman_id":"25d6970a-3d95-4ffd-beea-0096885fcc95"}],"id":"64c43cdd-9fad-42ac-abf2-556e62c21cd2","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>All leading and trailing whitespaces will be deleted.</li>\n<li>For all PHONE numbers:<ol>\n<li>If a number begins with “+”, the leading \"+\" sign will be removed.</li>\n<li>If a number contains non-numeric characters, they will be removed.</li>\n<li>At least one PHONE number is required.</li>\n</ol>\n</li>\n<li>For the United States and Canada PHONE numbers:<ol>\n<li>If a number begins with “011”, it will be kept as is.</li>\n<li>If a number begins with “1” and has eleven digits, it will be kept as is.</li>\n<li>If a number does not begin with “1” and has ten digits, “1” will be prepended.</li>\n<li>If a number begins with “1” and has ten digits, the record will not be imported, returning a format error.</li>\n<li>In any other case, the record will not be imported, returning a format error.</li>\n<li>Remove prefix and Default country code fields will be ignored.</li>\n</ol>\n</li>\n<li>For Other countries PHONE numbers:<ol>\n<li>If a number begins with prefix matching Remove prefix, the prefix will be deleted.</li>\n<li>If a number does not begin with prefix matching Remove prefix, it will be kept as is.</li>\n<li>If a number does not begin with prefix matching Default country code, Default country code will be added.</li>\n</ol>\n</li>\n<li>For all INTEGER fields:<ol>\n<li>If the value is presented as a string, it will be converted to an integer.</li>\n<li>Values presented as integers are supported.</li>\n</ol>\n</li>\n<li>For all fields that expect strings (ACCOUNT, AGENT_LOGIN_ID, FIRST_NAME, LAST_NAME, etc.) integer values will be converted to strings.</li>\n<li>Capitalization matters: values with different capitalizations are treated as distinct.</li>\n<li>For all DATE/TIME and DATE/TIME - SCHEDULE CALL AT fields:<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>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":"64c43cdd-9fad-42ac-abf2-556e62c21cd2"},{"name":"DNC Lists","item":[{"name":"Delete All Records","id":"d32e11e8-9408-41e0-8b0b-f1e89b30d574","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://<tenant_URL>/configapi/v3/donotcalllist/deleteAll/:do_not_call_list_id","description":"<p>This method deletes all records from a DNC List and returns the number of deleted records.</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;  <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","deleteAll",":do_not_call_list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"type":"any","value":null,"key":"do_not_call_list_id"}]}},"response":[{"id":"a5a0a265-1f43-4ed8-a085-198c82f07888","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":"d32e11e8-9408-41e0-8b0b-f1e89b30d574"},{"name":"Delete Many Records","id":"9fa1a526-9177-4998-bef7-4d8db52abcf6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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>This method deletes a collection of records from the selected DNC List and returns the number of successfully deleted records. Records to be deleted are specified by the <em><strong>key</strong></em> field value.</p>\n<p>Additionally, this method catches and displays the following errors (if any were encountered during the request execution):</p>\n<ul>\n<li><p><code>missingKey</code> - one or more key field values were not found;</p>\n</li>\n<li><p><code>formatError</code> - format was mismatched in one or more field values (e.g. boolean value was defined for a string field)</p>\n</li>\n</ul>\n<p><strong>Note:</strong> The type of error encountered is returned in the response body, along with the list of objects that could not be deleted due to that error. The example provided below reflects the response format of all of the described errors.</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> field values are required to be defined)</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;  <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","delete",":do_not_call_list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"type":"any","value":null,"key":"do_not_call_list_id"}]}},"response":[{"id":"a5b12b5a-e89d-470a-a899-e80c667d5d9a","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":"9fa1a526-9177-4998-bef7-4d8db52abcf6"},{"name":"Add Many Records","id":"f950fb06-db87-4342-8620-3f1d8ab97abd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"key\": \"9999999\",\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>This method adds new records to a DNC List and returns the number of successfully added (i.e., appended) records.</p>\n<p>Records to be added are defined with the fields of the corresponding DNC List Record JSON Object (see <a href=\"https://go.postman.co/workspace/4a9af35b-ef7a-4b0b-855d-deb562e80fc9/documentation/25415836-9aa410d1-164e-41c1-953c-de954a289dbc?entity=folder-d1d28c2c-6e6b-4e96-9991-2dbd9286cc04\">here</a>). Duplicate records, i.e. records with the same value in the <em><strong>key</strong></em> field as an already added record, are ignored.</p>\n<p>Additionally, this method catches and displays the following errors (if any were encountered during the request execution):</p>\n<ul>\n<li><p><code>missingKey</code> - one or more key field values were not found;</p>\n</li>\n<li><p><code>duplicateKey</code> - a record with the same key already exists in the DNC list;</p>\n</li>\n<li><p><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</p>\n</li>\n</ul>\n<p><strong>Note:</strong> The type of error encountered is returned in the response body, along with the list of objects that could not be added due to that error. The example provided below reflects the response format of all of the described errors.</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 (all fields from the corresponding JSON Object are required to be defined; the <em><strong>key</strong></em> field <em>must</em> have a value, the <em><strong>comment</strong></em> field can be empty)</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;  <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","addAll",":do_not_call_list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"type":"any","value":null,"key":"do_not_call_list_id"}]}},"response":[{"id":"12d27975-0fa0-4109-8113-0be42c5561e5","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        \"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":"f950fb06-db87-4342-8620-3f1d8ab97abd"},{"name":"Add Records DEPRECATED","id":"feecb3bb-d4c9-436b-82de-9c68e8c0b86d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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>This method adds new records to a DNC List and returns the number of successfully added (i.e., appended) records.</p>\n<p><strong>Note:</strong> This method was retained from the previous List Management API version and is not recommended for usage. Instead, we recommend using the enhanced <a href=\"https://brightpattern.postman.co/workspace/BPCC-APIs~7850a0d0-1d22-4d63-82e0-676ee5f5905b/request/8336025-f950fb06-db87-4342-8620-3f1d8ab97abd?action=share&amp;source=copy-link&amp;creator=34778214&amp;ctx=documentation\">Add Many Records</a> method.</p>\n<p>Records to be added are defined by listing out values corresponding to the fields of the target DNC List. Duplicate records, i.e. records with the same values as an already added record, are ignored.</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>New Record(s)</td>\n<td>string</td>\n<td>yes (values corresponding to the fields of the target DNC list are required; \"optional comment\" value must be added if the target DNC list has a <em><strong>comment</strong></em> field)</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;  <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","add",":do_not_call_list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"type":"any","value":null,"key":"do_not_call_list_id"}]}},"response":[{"id":"888640be-841f-4600-9dda-83911e6f7f6c","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":"feecb3bb-d4c9-436b-82de-9c68e8c0b86d"},{"name":"Replace Records DEPRECATED","id":"a7d5b25c-8299-4051-93ed-475db8517f3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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>This method deletes all records in a DNC List, replacing them with new ones, and returns the number of successfully added (i.e., appended) new records.</p>\n<p><strong>Note:</strong> This method was retained from the previous List Management API version and is not recommended for usage. Instead, we recommend using the combination of enhanced <a href=\"https://brightpattern.postman.co/workspace/BPCC-APIs~7850a0d0-1d22-4d63-82e0-676ee5f5905b/request/8336025-9fa1a526-9177-4998-bef7-4d8db52abcf6?action=share&amp;source=copy-link&amp;creator=34778214&amp;ctx=documentation\">Delete All Records</a> and <a href=\"https://brightpattern.postman.co/workspace/BPCC-APIs~7850a0d0-1d22-4d63-82e0-676ee5f5905b/request/8336025-f950fb06-db87-4342-8620-3f1d8ab97abd?action=share&amp;source=copy-link&amp;creator=34778214&amp;ctx=documentation\">Add Many Records</a> methods.</p>\n<p>Records to be added are defined by listing out values corresponding to the fields of the target DNC List. Duplicate records, i.e. records with the same values as an already added record, are ignored.</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;  <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","replaceAll",":do_not_call_list_id"],"host":["<tenant_URL>"],"query":[],"variable":[{"type":"any","value":null,"key":"do_not_call_list_id"}]}},"response":[{"id":"4afb8ce1-2251-415f-8f18-994a1024e690","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":"a7d5b25c-8299-4051-93ed-475db8517f3e"}],"id":"62e951c8-c6bf-444f-bc53-84b08e83692d","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>All of the methods described below use the path variable, <code>do_not_call_list_id</code>, to specify the DNC list an operation is to be performed on. The unique identifier of a DNC list can be found by opening that DNC list in the Contact Center Administrator application, <a href=\"https://help.brightpattern.com/File:Do_not_call_lists.png\">Do Not Call Lists section</a>. The id will be displayed in the '#DNC_LISTS:DNC_PROPERTIES: fragment of the URL.</p>\n<p>Alternatively, <code>do_not_call_list_id</code>, can be found in the response body of the <em>Get Campaign</em> method (see <a href=\"https://brightpattern.postman.co/workspace/7850a0d0-1d22-4d63-82e0-676ee5f5905b/request/8336025-3395bd06-be68-4f51-86cb-d3972566f8e5?action=share&amp;source=copy-link&amp;creator=34778214&amp;ctx=documentation\">here</a>).</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 will be deleted.</li>\n<li>All integer values will be converted to strings.</li>\n<li>Capitalization matters: values with different capitalizations are treated as distinct.</li>\n</ol>\n","_postman_id":"62e951c8-c6bf-444f-bc53-84b08e83692d"},{"name":"Cursor-based Pagination","item":[],"id":"754b8953-da13-4653-bd63-b91af112dbfc","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":"754b8953-da13-4653-bd63-b91af112dbfc"},{"name":"Error Handling","item":[],"id":"9e2089cc-fc89-4872-bc44-f123f77a55b3","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":"9e2089cc-fc89-4872-bc44-f123f77a55b3"}]}