{"info":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","description":"<html><head></head><body><h2 id=\"introduction\">INTRODUCTION</h2>\n<p>The WiseCX API allows you to perform 'RESTful' operations such as reading, modifying, adding, or deleting data.</p>\n<h4 id=\"authentication\">Authentication</h4>\n<p>All operations require the <strong>'Authorization' header with the 'Bearer' token</strong>. To obtain the JWT token provided by the '/authenticate' endpoint, follow the steps below:</p>\n<blockquote>\n<p><strong>Important:</strong> The <strong><code>x-api-key</code> header must also be included in every API request</strong>, not only in the <code>/authenticate</code> call. Omitting it will result in a <code>403 Forbidden</code> response.</p>\n</blockquote>\n<h4 id=\"token-expiration\">Token Expiration</h4>\n<p>The authentication token has a validity of 3600 seconds, and it is necessary to reauthenticate after this time has passed in order to obtain a new token.</p>\n<h4 id=\"rate-limit\">Rate Limit</h4>\n<p>The limit is 5000 requests per minute and a total of 150000 per day, it is not possible to exceed these limits.</p>\n<p>Status code:</p>\n<ol>\n<li><p>200: Success</p>\n</li>\n<li><p>400: Bad request</p>\n</li>\n<li><p>403: Unauthorized</p>\n</li>\n<li><p>501: Method not implemented</p>\n</li>\n</ol>\n<h1 id=\"fields\">Fields</h1>\n<p>This parameter indicates the fields that will be shown in the response when executing the endpoint. It is used to return only the most relevant fields. If this parameter is omitted, only default fields will be shown.</p>\n<p>Example:</p>\n<p><code>/cases?fields=id,subject,status</code></p>\n<h1 id=\"filters\">Filters</h1>\n<p>This parameter is used to filter and perform more advanced searches on the requested resource.</p>\n<p>Example:</p>\n<p><code>/cases?filtering=[{'field':'case.contact_id','operator':'EQUAL','value':'123'},{'field':'case.status','operator':'IN','value':['opened','solved']}]   </code></p>\n<p>In Postman, when using the filtering parameter directly in a URL, curly braces ({ and }) must be URL-encoded, otherwise the request may fail.</p>\n<img src=\"https://content.pstmn.io/7d2aa8c7-855f-4618-8a2a-d5e9c697faf7/aW1hZ2UucG5n\" width=\"111\" height=\"66\">\n\n<p>So, in Postman, a properly formatted filtering request may look like this:</p>\n<img src=\"https://content.pstmn.io/f331957a-8471-4ec1-a319-80fce56e58fa/aW1hZ2UucG5n\" width=\"891\" height=\"68\">\n\n<p>Possible operators:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Operator</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>IN</td>\n<td>Is in list</td>\n</tr>\n<tr>\n<td>NOT IN</td>\n<td>Is not in list</td>\n</tr>\n<tr>\n<td>EQUAL</td>\n<td>Equals to</td>\n</tr>\n<tr>\n<td>NOT EQUAL</td>\n<td>Not equal</td>\n</tr>\n<tr>\n<td>GREATER</td>\n<td>Greater than</td>\n</tr>\n<tr>\n<td>LOWER</td>\n<td>Lower than</td>\n</tr>\n<tr>\n<td>GREATER EQUAL</td>\n<td>Greater o equals to</td>\n</tr>\n<tr>\n<td>LOWER EQUAL</td>\n<td>Lower or equals to</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"sorting\">Sorting</h1>\n<p>This parameter indicates the field and direction of sorting in which the resources will be returned. The default order is ascending (asc).</p>\n<p>Example:</p>\n<p><code>/cases?sort=desc&amp;sort_field=id</code></p>\n<h1 id=\"pagination\">Pagination</h1>\n<p>By default, all listing operations are paginated. The maximum and default limit is set to 100 records.</p>\n<p><code>/cases?limit=20&amp;page=5</code></p>\n<hr>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Fields","slug":"fields"},{"content":"Filters","slug":"filters"},{"content":"Sorting","slug":"sorting"},{"content":"Pagination","slug":"pagination"}],"owner":"44826156","collectionId":"f95666c9-5d07-4c26-828a-e72f4d510fef","publishedId":"2sBY4TpHwe","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-07-31T15:40:01.000Z"},"item":[{"name":"Authentication","item":[{"name":"Authenticate","id":"758ccda9-c74c-4c63-80b8-2e6ba481a626","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/authenticate","description":"<p>Authentication is necessary to obtain the JWT token, which should then be added to the request header<br /><code>Authorization</code> to access all resources in the API.</p>\n<p>To authenticate, you need to perform a<code>GET</code> method request with the <code>x-api-key</code> header and the <code>user</code> parameter. If the request is successful, it will return the JWT authentication token required to consume the API resources.</p>\n<h4 id=\"obteining-api-key\">Obteining API Key</h4>\n<p>To authorize and obtain the Token, it is necessary to generate an API Key beforehand from Settings -&gt; Channels -&gt; API.</p>\n<img src=\"https://ss.wcx.cloud/a/08wc10/2022-03/lo4PmSYh8g.png\" />\n\n<p>Then, you need to enter a username and finally click on the \"Generate\" button to obtain the API Key, which should be sent in the authentication call.</p>\n<img src=\"https://ss.wcx.cloud/a/08wc10/2022-03/2X3a70ijlD.png\" />\n\n<h4 id=\"token-expiration\">Token Expiration</h4>\n<p>The authentication token has a validity of 3600 seconds (1 hour), and it is necessary to re-execute the authentication after this time has passed to obtain a new token.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","authenticate"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"f6e3ab49-b66c-4bcf-9e2f-4ff3462bf126","name":"Authenticate","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wcx.cloud/core/v1/authenticate?user=adminUser","protocol":"https","host":["api","wcx","cloud"],"path":["core","v1","authenticate"],"query":[{"key":"user","value":"adminUser"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"637"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 08 Jan 2020 17:58:35 GMT"},{"key":"x-amzn-RequestId","value":"2b0042e9-62c9-4731-b088-df1499856359"},{"key":"x-amz-apigw-id","value":"F_i7zGktoAMF9qQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5e16184b-b1ec7f2e61557d1e203f4a36;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 171d7370ca264be0e555ac6695616d94.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"EZE51-C1"},{"key":"X-Amz-Cf-Id","value":"84lEw9XDIImZq8l0gAs8OsoQIdhE-bDvVCUmacBiYnJbzpvdSLSAJg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\",\n    \"token\": \"eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwidHlwIjoiSldUIn0.VpRGQx9SQXjHMDP0RlMkwBaFqbWfYf99J0Br2HsWaaPO8I7I788Bsg.e4q1pvTDetyfbLGe2k4LRw.5WNO6cp4kDv_5cg_h4FlyCrGnRcod0rvZmBLBBdcG9zvygrVFmXzyCJwzKRNWNff9V87lxImcOcxezVrUWAwj2jTtiruFhc9zd1ojHKMah2EfzQeeik7cGV7WTgavMGwHWXRjqWX-Tv-fYVJUyXG7UHJ6Qw_3yvWf1Ce6xoMJa7AuAMkHmcUUQmGszKxlDlAT9MgV-hLQNppeeq4w0f7EOHA9fsugpREdOXUL96rbHYXN177YKXaNdWqPeLhTSdNn17okIFAEyUp0On.q_r42pvbbQYvjtmjPcobpQ\",\n    \"message\": \"Authentication success.\"\n}"}],"_postman_id":"758ccda9-c74c-4c63-80b8-2e6ba481a626"}],"id":"ffb4e50f-8939-40c9-a74f-83b43dc56c8d","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"2d1a4e77-b892-443f-a129-13ea89df0c88"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"d2cef774-7189-4533-84aa-611c3f87d79e"}}],"_postman_id":"ffb4e50f-8939-40c9-a74f-83b43dc56c8d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Cases","item":[{"name":"Types","item":[{"name":"Type Retrieval","id":"cc69f75f-e346-439c-8619-8ad475f58841","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/cases/types","description":"<p>For retrieving the list of types, you need to perform a<code>GET</code>request and specify the desired fields using the <code>fields</code>parameter. The possible fields are:</p>\n<p><code>id,name,parent_id</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","cases","types"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"e4011779-27c2-4e21-b1d5-39000e297672","name":"Obtención de Tipos","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wcx.cloud/core/v1/cases/types?fields=id,name,parent_id","protocol":"https","host":["api","wcx","cloud"],"path":["core","v1","cases","types"],"query":[{"key":"fields","value":"id,name,parent_id"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 10,\n            \"name\": \"Consulta\",\n            \"parent_id\": 1\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Prensa\",\n            \"parent_id\": 0\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Comercial\",\n            \"parent_id\": 5\n        }\n    ]\n}"}],"_postman_id":"cc69f75f-e346-439c-8619-8ad475f58841"}],"id":"841dec5b-62e4-4801-ae6f-eb23a9229fd4","description":"<p>Endpoint <code>types</code> allows to obtain type lists from WiseCX.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"ad835ca4-d7be-45d3-92e8-626a5fd2a849"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"2c8c790c-c2e8-49f4-9b7a-9a9661cc7ede"}}],"_postman_id":"841dec5b-62e4-4801-ae6f-eb23a9229fd4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Tags","item":[{"name":"Tags Retrieval","id":"bcab5013-6c5e-4c67-8310-79faed2de248","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/cases/tags","description":"<p>For retrieving the list of tags, you need to perform a <code>GET</code> method request and specify desired fields using the 'fields' parameter. The possible fields are:</p>\n<p><code>id,name</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","cases","tags"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"36936d99-2d2d-4d94-8935-c09fe8df547d","name":"Obtención de Etiquetas","originalRequest":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/cases/tags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Setting Problem\"\n        },\n        {\n            \"id\": 63,\n            \"name\": \"Cliente Mensual\"\n        },\n        {\n            \"id\": 131,\n            \"name\": \"App Mobile\"\n        },\n        {\n            \"id\": 150,\n            \"name\": \"Bug\"\n        }]\n}"}],"_postman_id":"bcab5013-6c5e-4c67-8310-79faed2de248"}],"id":"e88b61b0-f950-4d83-9c29-874f76246af4","description":"<p>The <code>tags</code> endpoint allows retrieving the list of WiseCX labels.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"5b7d7c80-2edb-4306-b0df-0cc249458765"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"13085677-6bdb-4216-96a5-3d86ade109fc"}}],"_postman_id":"e88b61b0-f950-4d83-9c29-874f76246af4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Fields","item":[{"name":"Dropdown List","item":[{"name":"Fetching Options","id":"927771c7-5902-461c-99da-1b50f586f911","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/cases/fields/{{field_name}}/options","description":"<p>To obtain the options of a dropdown-list custom field, send a <code>GET</code> indicating in the <code>field_name</code> parameter the api name of the field, which is available in the field configuration in Power Inbox.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","cases","fields","{{field_name}}","options"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"f28ad087-2c32-40d0-9d06-190d9bbc705d","name":"Fetching Options","originalRequest":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/cases/fields/field_name_example/options"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 492,\n        \"value\": \"n2\",\n        \"code\": \"\"\n    },\n    {\n        \"id\": 493,\n        \"value\": \"n1\",\n        \"code\": \"\"\n    }\n]"}],"_postman_id":"927771c7-5902-461c-99da-1b50f586f911"},{"name":"Option Creation","id":"f3e1f53d-05a4-44d5-b389-05ba651f1ff4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"value\": \"Option value\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/cases/fields/{{field_name}}/options","description":"<p>To create a new option of the dropdown list, send a <code>POST</code> with the following object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>value</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Value of the new option</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","cases","fields","{{field_name}}","options"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"60e91a51-7ec9-49ab-8296-e43ec1675632","name":"Option Creation","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"value\": \"Option value\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/cases/fields/field_name_example/options"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 571,\n    \"message\": \"Option created OK\"\n}"}],"_postman_id":"f3e1f53d-05a4-44d5-b389-05ba651f1ff4"},{"name":"Option Update","id":"aae2af1c-1d4a-497c-a17a-ee94101f0c41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"value\": \"New value\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/cases/fields/{{field_name}}/options/{{option_id}}","description":"<p>The update allows modifying the value of an option of the dropdown list. Send a <code>PUT</code> with the following object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>value</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>New value for the option</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","cases","fields","{{field_name}}","options","{{option_id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"5f2d8ce2-b3cb-42ba-8356-2284a76a923e","name":"Option Update","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"value\": \"New value\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/cases/fields/field_name_example/options/492"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 492,\n    \"message\": \"Updated option OK\"\n}"}],"_postman_id":"aae2af1c-1d4a-497c-a17a-ee94101f0c41"},{"name":"Option Deletion","id":"2de6d8f3-3def-4fe5-a12a-57e25a6a5d35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.wcx.cloud/core/v1/cases/fields/{{field_name}}/options/{{option_id}}","description":"<p>To delete an option of the dropdown list, send a <code>DELETE</code> indicating the <code>field_name</code> of the field and the option to be deleted.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","cases","fields","{{field_name}}","options","{{option_id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"bd0950d8-908b-4625-b792-f2eb0c251f82","name":"Option Deletion","originalRequest":{"method":"DELETE","header":[],"url":"https://api.wcx.cloud/core/v1/cases/fields/field_name_example/options/571"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Custom field removed.\"\n}"}],"_postman_id":"2de6d8f3-3def-4fe5-a12a-57e25a6a5d35"}],"id":"b8316e1e-49de-47a8-a779-fecc10106d8b","_postman_id":"b8316e1e-49de-47a8-a779-fecc10106d8b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}}],"id":"f6a2e43c-37df-4c50-a302-21d36f5b3b65","_postman_id":"f6a2e43c-37df-4c50-a302-21d36f5b3b65","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Case Creation","id":"e09c15f8-f616-4e5c-ac7a-ff27a254dd54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/cases","description":"<h5 id=\"new-case\">New Case</h5>\n<p>For creating a new case, you need to perform a<code>POST</code>method request with the following object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id</td>\n<td>numeric</td>\n<td><strong>yes</strong></td>\n<td>Group to which the case will be assigned on its creation.</td>\n</tr>\n<tr>\n<td>user_id</td>\n<td>numeric</td>\n<td>no</td>\n<td>User to whom the case will be assigned on its creation.</td>\n</tr>\n<tr>\n<td>source_channel</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Channel where the case is originating. It can be web, app, phone, whatsapp, Email, internal.</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>string</td>\n<td>no</td>\n<td>Tags associated with the case.</td>\n</tr>\n<tr>\n<td>type_id</td>\n<td>numeric</td>\n<td>no</td>\n<td>Case type</td>\n</tr>\n<tr>\n<td>subject</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Case subject</td>\n</tr>\n<tr>\n<td>priority</td>\n<td>string</td>\n<td>no</td>\n<td>Case priority: none, low, medium, high, very-high.</td>\n</tr>\n<tr>\n<td>due_at</td>\n<td>string</td>\n<td>no</td>\n<td>Case expiration</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td><code>custom_fields[]</code></td>\n<td>no</td>\n<td>Case custom fields</td>\n</tr>\n<tr>\n<td>activities</td>\n<td><code>activity[]</code></td>\n<td><strong>yes</strong></td>\n<td>First activities that will be added to the case at its creation.</td>\n</tr>\n</tbody>\n</table>\n</div><p>The<code>activity</code>object should be sent as follows:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Type of activity: user_reply, contact_message, note.</td>\n</tr>\n<tr>\n<td>user_id</td>\n<td>numeric</td>\n<td>yes*</td>\n<td>User who performs the activity. *Only required for user_reply (except when it is a template submission) and note.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>no</td>\n<td>Channel through which the activity is originating. can be web, app, phone, whatsapp, email, internal.</td>\n</tr>\n<tr>\n<td>content</td>\n<td>string</td>\n<td>yes*</td>\n<td>Message content. *Mandatory if <code>attachments</code> do not come or if channel is<code>whatsapp</code>, type is<code>user_reply</code> and <code>template</code> does not come.</td>\n</tr>\n<tr>\n<td>template</td>\n<td>template</td>\n<td>yes*</td>\n<td>WhatsApp template . *Required if channel is<code>whatsapp</code>, type is<code>user_reply</code> and does not come<code>content.</code></td>\n</tr>\n<tr>\n<td>contact_from</td>\n<td>contact</td>\n<td>yes*</td>\n<td>Contact originating the message. *Only required for <code>contact_message</code></td>\n</tr>\n<tr>\n<td>contacts_to</td>\n<td>contact[]</td>\n<td>yes*</td>\n<td>Contacts recipients of an user's response. *Only required for <code>user_reply.</code></td>\n</tr>\n<tr>\n<td>attachments</td>\n<td>attachment[]</td>\n<td>yes*</td>\n<td>Attached files. *Mandatory if you do not come <code>content.</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>Object <code>contact</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>numeric</td>\n<td>yes*</td>\n<td>Contact id. *Mandatory only if the email, personal_id, phone number does not appear.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td><strong>yes</strong>*</td>\n<td>Contact Email. *Mandatory only if the ID, Email, personal_id, phone number does not appear.</td>\n</tr>\n<tr>\n<td>personal_id</td>\n<td>string</td>\n<td>yes*</td>\n<td>Personal ID of the contact (DNI, CUIT...). *Mandatory only if the ID, Email, phone number does not come.</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>yes*</td>\n<td>Contact's personal ID (DNI, CUIT...). *Mandatory only if the ID, email, phone does not come.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>no</td>\n<td>Contact's Name</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>custom_fields[]</td>\n<td>no</td>\n<td>Contact's custom fileds</td>\n</tr>\n</tbody>\n</table>\n</div><p>Object<code>template</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>template_id</td>\n<td>numeric</td>\n<td><strong>yes</strong></td>\n<td>Template ID</td>\n</tr>\n<tr>\n<td>parameters</td>\n<td><code>template_parameter[]</code></td>\n<td>no</td>\n<td>Template Variables</td>\n</tr>\n</tbody>\n</table>\n</div><p>Object<code>template_parameter</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>key</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Template variable name</td>\n</tr>\n<tr>\n<td>value</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Template variable value</td>\n</tr>\n</tbody>\n</table>\n</div><p>Object <code>custom_fields</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>field</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>custom_field Name</td>\n</tr>\n<tr>\n<td>value</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>custom_field Value</td>\n</tr>\n</tbody>\n</table>\n</div><p>Object <code>attachments</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>filename</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Short name file identifier</td>\n</tr>\n<tr>\n<td>url</td>\n<td>string</td>\n<td>yes*</td>\n<td>URL where the file is uploaded. * Mandatory only if there is no content.</td>\n</tr>\n<tr>\n<td>content</td>\n<td>string</td>\n<td>yes*</td>\n<td>URL where the file is uploaded. *Mandatory only if content does not come.</td>\n</tr>\n</tbody>\n</table>\n</div><p>In case of sending the<code>attachments</code>object with the content field, the sum of the files sent in the same request must not exceed 5MB.</p>\n<h5 id=\"whatsapp-sending\">WHATSAPP Sending</h5>\n<ul>\n<li>When a WhatsApp message or template is sent, only the first contact within the object will be taken into account<code>contacts_to</code>.</li>\n<li>In case of sending Whatsapp templates, <code>source_channel</code> should be Whatsapp and should include a<code>template</code>object in a type <code>user_reply activity</code>. The user_id should be a valid user or leave it at \"0\" if you want the client's response to normally enter the queues.</li>\n<li>To send a message session, the activity must use<code>user_reply</code> and it is no longer necesarry to include the <code>template</code>object except the<code>content</code>.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","cases"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"00ef218b-755d-4337-ae5f-14a59dfaefac","name":"Creación de Caso","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"group_id\": 1234,\n    \"tags\": [\n        \"tag-1\",\n        \"tag-2\"\n    ],\n    \"type_id\": 0,\n    \"source_channel\": \"web\",\n    \"subject\": \"Nuevo caso desde API\",\n    \"activities\": [\n        {\n            \"type\": \"contact_message\",\n            \"content\": \"Envio un archivo adjunto\",\n            \"contact_from\": {\n                \"email\": \"test@gmail.com\",\n                \"name\": \"Test\",\n                \"phone\": \"1235465454454\",\n                \"personal_id\": \"666451\"\n            },\n            \"attachments\": [\n                {\n                    \"filename\": \"file.jpg\",\n                    \"url\": \"https://www.testing.com/file.jpg\"\n                }\n            ]\n        }\n    ],\n    \"custom_fields\": [\n        {\n            \"field\": \"field_1\",\n            \"value\": \"value field_1\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/cases"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"case_id\": 12345454,\r\n    \"activities\": [\r\n        {\r\n            \"id\": 43210,\r\n            \"contacts_ids\": [\r\n                87654\r\n            ]\r\n        }\r\n    ]\r\n}"}],"_postman_id":"e09c15f8-f616-4e5c-ac7a-ff27a254dd54"},{"name":"Case Update by ID","id":"91459ef7-1406-4030-a0b8-008a03c143d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://api.wcx.cloud/core/v1/cases/{{id}}","description":"<p>Updating a new Case allows adding new activities to an existing Case and also editing its fields, for this a <code>PUT</code>method must be executed with the following object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id</td>\n<td>numeric</td>\n<td>no</td>\n<td>Group to which the case will be assigned on its creation.</td>\n</tr>\n<tr>\n<td>user_id</td>\n<td>numeric</td>\n<td>no</td>\n<td>User to whom the case will be assigned on its creation.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>no</td>\n<td>Update the Case status: opened, solved, pending, hold, closed.</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>string[]</td>\n<td>no</td>\n<td>Labels associated with the case.</td>\n</tr>\n<tr>\n<td>type_id</td>\n<td>numeric</td>\n<td>no</td>\n<td>Case type.</td>\n</tr>\n<tr>\n<td>subject</td>\n<td>string</td>\n<td>no</td>\n<td>Case subject.</td>\n</tr>\n<tr>\n<td>priority</td>\n<td>string</td>\n<td>no</td>\n<td>Case priority: none, low, medium, high, very-high.</td>\n</tr>\n<tr>\n<td>due_at</td>\n<td>string</td>\n<td>no</td>\n<td>Case expiration.</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td><code>custom_fields[]</code></td>\n<td>no</td>\n<td>Case custom fields.</td>\n</tr>\n<tr>\n<td>activities</td>\n<td><code>activity[]</code></td>\n<td>no</td>\n<td>First activities that will be added to the case at its creation.</td>\n</tr>\n<tr>\n<td>spam</td>\n<td>boolean</td>\n<td>no</td>\n<td>If it comes in <em>True</em>, it marks the case as SPAM. If it comes in <em>False</em>, it recovers the case if it was marked as SPAM.</td>\n</tr>\n<tr>\n<td>deleted</td>\n<td>boolean</td>\n<td>no</td>\n<td>If it comes in <em>True</em>, it eliminates the case. If it comes in <em>False</em>, it recovers the case if it was deleted.</td>\n</tr>\n</tbody>\n</table>\n</div><p><code>The activity</code> object shoud be sent as follows:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Activity type: user_reply, contact_message, note.</td>\n</tr>\n<tr>\n<td>user_id</td>\n<td>numeric</td>\n<td>yes*</td>\n<td>User who performs the activity. *Mandatory only foruser_reply and note.</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string</td>\n<td>no</td>\n<td>Channel through which the activity is originating. Might be: web, app, phone, whatsapp, email, internal.</td>\n</tr>\n<tr>\n<td>content</td>\n<td>string</td>\n<td>yes*</td>\n<td>Message content. *Mandatory if you do not come<code>attachments</code></td>\n</tr>\n<tr>\n<td>template</td>\n<td>template</td>\n<td>yes*</td>\n<td>WhatsApp Template. *Mandatory if channel is whatsapp, type is user_reply and content does not come.</td>\n</tr>\n<tr>\n<td>contact_from</td>\n<td>contact</td>\n<td>yes*</td>\n<td>Contact originating the message. *Only required for<code>contact_message.</code></td>\n</tr>\n<tr>\n<td>contacts_to</td>\n<td>contact[]</td>\n<td>yes*</td>\n<td>Contacts recipients of an user's response. *Only required for <code>user_reply.</code></td>\n</tr>\n<tr>\n<td>attachments</td>\n<td>attachment[]</td>\n<td>yes*</td>\n<td>Attached files. *Mandatory if you do not come<code>content.</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>Object <code>contact</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>numeric</td>\n<td>yes*</td>\n<td>Contact ID. *Mandatory only if the Email, personal_id, phone number does not appear.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>yes*</td>\n<td>Contact Email. *Mandatory only if the ID, Email, personal_id, phone does not appear.</td>\n</tr>\n<tr>\n<td>personal_id</td>\n<td>string</td>\n<td>yes*</td>\n<td>Contact personal ID (DNI, CUIT...). *Mandatory only if the ID, Email, phone number does not come.</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>yes*</td>\n<td>Contact phone number. *Mandatory only if the ID, Email, personal_id does not appear.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>no</td>\n<td>Contact's Name.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Object <code>template</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>template_id</td>\n<td>numeric</td>\n<td><strong>yes</strong></td>\n<td>Template ID.</td>\n</tr>\n<tr>\n<td>parameters</td>\n<td><code>template_parameter[]</code></td>\n<td>no</td>\n<td>Template variables.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Object <code>template_parameter</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>key</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Template variable Name.</td>\n</tr>\n<tr>\n<td>value</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Template variable Value.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Object <code>custom_fields</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>field</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>custom_field Name.</td>\n</tr>\n<tr>\n<td>value</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>custom_field Value.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Object <code>attachments</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>filename</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Short name file identifier.</td>\n</tr>\n<tr>\n<td>url</td>\n<td>string</td>\n<td>yes*</td>\n<td>URL where the file is uploaded. *Mandatory only if content does not come.</td>\n</tr>\n<tr>\n<td>content</td>\n<td>string</td>\n<td>yes*</td>\n<td>File content in base64. *Mandatory only if URL does not come.</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"whatsapp-sending\">WHATSAPP Sending</h5>\n<ul>\n<li>When a WhatsApp message or template is sent, only the first contact within the object will be taken into account <code>contacts_to</code>.</li>\n<li>Being a message within an already existing conversation, it will be validated that the <code>contact_to</code>object is the same one that started the conversation.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","cases","{{id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"735b1343-3af6-4b14-9fa8-81d35f3d89d5","name":"Actualización de Caso por id","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"group_id\": 6486,\n    \"tags\": [\n        \"tag-1\",\n        \"tag-2\"\n    ],\n    \"activities\": [\n        {\n            \"type\": \"note\",\n            \"user_id\": 6405,\n            \"content\": \"Contenido de nota interna.\"\n        },\n        {\n            \"type\": \"user_reply\",\n            \"user_id\": 6405,\n            \"content\": \"Contenido de respuesta de usuario.\",\n            \"contacts_to\": [\n                {\n                    \"email\": \"test@gmail.com\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/cases/1273934"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"case_id\": 1273934,\r\n    \"activities\": [\r\n        {\r\n            \"id\": 4057279,\r\n            \"contacts_ids\": []\r\n        },\r\n        {\r\n            \"id\": 4057280,\r\n            \"contacts_ids\": [\r\n                6579207\r\n            ]\r\n        }\r\n    ]\r\n}"}],"_postman_id":"91459ef7-1406-4030-a0b8-008a03c143d6"},{"name":"Obteining cases","id":"7e81b0f1-0508-4447-93c7-7a62b8f488ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/cases","description":"<p>To obtain the list of Cases, a <code>GET</code> method must be performed indicating the required <code>fields</code>through the fields parameter.</p>\n<blockquote>\n<p>IMPORTANT:<br />Through this endpoint it is only possible to obtain the cases from the last 3 months onwards. </p>\n</blockquote>\n<p>Possible fields are:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Fields</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Case ID</td>\n</tr>\n<tr>\n<td>number</td>\n<td>Incremental case number</td>\n</tr>\n<tr>\n<td>group_id</td>\n<td>Group to which the case is assigned</td>\n</tr>\n<tr>\n<td>user_id</td>\n<td>User to whom the case is assigned</td>\n</tr>\n<tr>\n<td>contact_id</td>\n<td>Contact ID related to a case</td>\n</tr>\n<tr>\n<td>status</td>\n<td>State in which the case is located</td>\n</tr>\n<tr>\n<td>source_channel</td>\n<td>Channel where the case originated</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>Tags related to a case</td>\n</tr>\n<tr>\n<td>type_id</td>\n<td>Case type</td>\n</tr>\n<tr>\n<td>subject</td>\n<td>Case subject</td>\n</tr>\n<tr>\n<td>priority</td>\n<td>Case priority: none, low, medium, high, very-high</td>\n</tr>\n<tr>\n<td>due_at</td>\n<td>Case expiration <strong>(UTC+0)</strong></td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>Case customer field</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Case creation date <strong>(UTC+0)</strong></td>\n</tr>\n<tr>\n<td>solved_at</td>\n<td>Fecha de resolución del caso <strong>(UTC+0)</strong></td>\n</tr>\n<tr>\n<td>closed_at</td>\n<td>Resolution date of the case <strong>(UTC+0)</strong></td>\n</tr>\n<tr>\n<td>last_read</td>\n<td>Date of last reading of the case <strong>(UTC+0)</strong></td>\n</tr>\n<tr>\n<td>last_update</td>\n<td>Case last update date <strong>(UTC+0)</strong></td>\n</tr>\n<tr>\n<td>first_read</td>\n<td>FDate of first reading of the case <strong>(UTC+0)</strong></td>\n</tr>\n<tr>\n<td>last_assignment</td>\n<td>Case Last Assignment Date <strong>(UTC+0)</strong></td>\n</tr>\n<tr>\n<td>first_response</td>\n<td>Date of first case response <strong>(UTC+0)</strong></td>\n</tr>\n<tr>\n<td>last_response</td>\n<td>Date of last case response <strong>(UTC+0)</strong></td>\n</tr>\n<tr>\n<td>nps_value</td>\n<td>Last NPS Score Value</td>\n</tr>\n<tr>\n<td>spam</td>\n<td>Indicates if the case is marked as SPAM</td>\n</tr>\n<tr>\n<td>deleted</td>\n<td>Indicates if the case is in the deleted state</td>\n</tr>\n<tr>\n<td>channel_account</td>\n<td>Account of the channel where the case originated</td>\n</tr>\n<tr>\n<td>bot_resolved</td>\n<td>Indicates whether the case was resolved by a bot</td>\n</tr>\n<tr>\n<td>bot_attended</td>\n<td>Indicates whether the case was handled by a bot</td>\n</tr>\n<tr>\n<td>summary</td>\n<td>Summary of the case activities</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filter\">FILTER</h4>\n<p><strong>ALLOWED OPERATORS</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Operators</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>number, user_id, contact_id</td>\n<td>IN, EQUALS</td>\n</tr>\n<tr>\n<td>group_id, status, source_channel, tags, type_id, priority</td>\n<td>IN, NOT IN, EQUALS, NOT EQUAL</td>\n</tr>\n<tr>\n<td>subject</td>\n<td>IN, NOT IN, EQUALS, NOT EQUAL, CONTAINS</td>\n</tr>\n<tr>\n<td>due_at, created_at, solved_at, closed_at, last_read</td>\n<td>IN, NOT IN, EQUALS, NOT EQUAL, GREATER, LOWER, GREATER EQUAL, LOWER EQUAL</td>\n</tr>\n<tr>\n<td>id, first_read, last_assignment, first_response, last_response, last_update</td>\n<td>IN, NOT IN, EQUALS, NOT EQUAL, GREATER, LOWER, GREATER EQUAL, LOWER EQUAL</td>\n</tr>\n</tbody>\n</table>\n</div><p>To see more examples, check <a href=\"#filters\">Filtros.</a></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","cases"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"b3c59a84-a447-4e97-80ec-ae14d61bda05","name":"Obtención de Casos","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wcx.cloud/core/v1/cases?fields=id,subject,group_id,user_id,created_at","protocol":"https","host":["api","wcx","cloud"],"path":["core","v1","cases"],"query":[{"key":"fields","value":"id,subject,group_id,user_id,created_at"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1273952,\n        \"group_id\": 1234,\n        \"user_id\": 0,\n        \"subject\": \"Caso desde api 1\",\n        \"created_at\": \"2020-01-28 18:48:38\"\n    },\n    {\n        \"id\": 1273951,\n        \"group_id\": 1234,\n        \"user_id\": 0,\n        \"subject\": \"Caso desde api 2\",\n        \"created_at\": \"2020-01-28 18:45:43\"\n    },\n    {\n        \"id\": 1273950,\n        \"group_id\": 1234,\n        \"user_id\": 0,\n        \"subject\": \"Caso desde api 3\",\n        \"created_at\": \"2020-01-28 18:39:42\"\n    }\n]"}],"_postman_id":"7e81b0f1-0508-4447-93c7-7a62b8f488ed"},{"name":"Obtaining Case by ID","id":"3b1ee950-f7d8-4e38-ab5a-e2cfadb1bae1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/cases/{{id}}","description":"<p>To obtain the details of a Case, a<code>GET</code> method must be executed indicating the <code>fields</code> that are required through the fields parameter. The possible fields are:</p>\n<p><code>id,number,group_id,user_id,contact_id,status,source_channel,tags,type_id,subject,priority,due_at,custom_fields,created_at,solved_at,closed_at,last_update,channel_account,bot_resolved,bot_attended,summary</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","cases","{{id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"413ed113-e77d-4bc9-84c9-6b36e0a30801","name":"Obtención de Caso por Id","originalRequest":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/cases/1273906"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": 1273906,\r\n    \"group_id\": 6486,\r\n    \"user_id\": 0,\r\n    \"subject\": \"Nuevo Caso desde API\"\r\n}"}],"_postman_id":"3b1ee950-f7d8-4e38-ab5a-e2cfadb1bae1"},{"name":"Delete Case by ID","id":"e6ca6f70-b60b-4519-98c7-b55e94040e77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.wcx.cloud/core/v1/cases/{{id}}","description":"<p>To delete the detail of a Case, a <code>DELETE</code> method must be performed indicating the case ID to be deleted.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","cases","{{id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"a13e77b1-0dd4-4af0-ba3c-08bb53fc7a62","name":"Eliminación de Caso por Id","originalRequest":{"method":"DELETE","header":[],"url":"https://api.wcx.cloud/core/v1/cases/1273906"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Case removed.\"\n}"}],"_postman_id":"e6ca6f70-b60b-4519-98c7-b55e94040e77"},{"name":"Case Transfer by ID","id":"3bb6599f-2c9d-428c-9b8c-1096c3da5038","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"group_id\": 1234,\n    \"user_id\": 5678\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/cases/{{id}}/transfer","description":"<p>To transfer a Case to another service group or user, send a <code>PUT</code> indicating the case id in the URL with the following object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_id</td>\n<td>numeric</td>\n<td>no</td>\n<td>Service group the case is transferred to</td>\n</tr>\n<tr>\n<td>user_id</td>\n<td>numeric</td>\n<td>no</td>\n<td>User the case is transferred to</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","cases","{{id}}","transfer"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"f60f107a-0793-4861-955d-017d7a1068cb","name":"Case Transfer by ID","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"group_id\": 1234,\n    \"user_id\": 5678\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/cases/1273934/transfer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"case_id\": 1273934,\n    \"activities\": []\n}"}],"_postman_id":"3bb6599f-2c9d-428c-9b8c-1096c3da5038"},{"name":"Case Status Update by ID","id":"b7ec1b8e-e938-4a99-bd6c-d474e2214389","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"status\": \"solved\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/cases/{{id}}/status","description":"<p>To update only the status of a Case, send a <code>PUT</code> indicating the case id in the URL with the following object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>New status of the case: <code>open</code>, <code>solved</code>, <code>pending</code>, <code>hold</code>, <code>closed</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","cases","{{id}}","status"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"2e83626b-a89a-4477-88f0-a09d0dea145d","name":"Case Status Update by ID","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"status\": \"solved\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/cases/1273934/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"case_id\": 1273934,\n    \"activities\": []\n}"}],"_postman_id":"b7ec1b8e-e938-4a99-bd6c-d474e2214389"},{"name":"Obtaining Activities of a Case","id":"eb7ea887-9e68-4c67-b7ae-b3535550d646","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/cases/{{id}}/activities","description":"<p>To obtain the list of Activities associated with a Case, a <code>GET</code> method must be executed indicating the<code>fields</code>that are required using the fields parameter. The possible fields are:</p>\n<p><code>id,case_id,type,user_id,channel,content,contact_from,contacts_to,attachments,recordings,created_at,sending_status</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","cases","{{id}}","activities"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"d04e6a8e-66c4-489b-8eb5-4f8b4dfeaab3","name":"Obtención de Actividad de un Caso","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wcx.cloud/core/v1/cases/1273934/activities?fields=id,type,user_id,content,contact_from,contacts_to,attachments,created_at,sending_status,channel","protocol":"https","host":["api","wcx","cloud"],"path":["core","v1","cases","1273934","activities"],"query":[{"key":"fields","value":"id,type,user_id,content,contact_from,contacts_to,attachments,created_at,sending_status,channel"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"id\": 4056876,\r\n        \"type\": \"system\",\r\n        \"user_id\": 0,\r\n        \"channel\": \"web\",\r\n        \"content\": \"[added_tag] tag-1, tag-2\",\r\n        \"contact_from\": null,\r\n        \"contacts_to\": null,\r\n        \"attachments\": null,\r\n        \"created_at\": \"2020-01-28 10:08:02\",\r\n        \"sending_status\": \"ok\"\r\n    },\r\n    {\r\n        \"id\": 4056878,\r\n        \"type\": \"contact_message\",\r\n        \"user_id\": 0,\r\n        \"channel\": \"web\",\r\n        \"content\": \"Envio de archivo adjunto\",\r\n        \"contact_from\": {\r\n            \"id\": 6579207,\r\n            \"email\": \"test@gmail.com\",\r\n            \"name\": \"\",\r\n            \"phone\": \"\",\r\n            \"personal_id\": \"\",\r\n            \"custom_fields\": []\r\n        },\r\n        \"contacts_to\": null,\r\n        \"attachments\": [\r\n            {\r\n                \"filename\": \"file.jpg\",\r\n                \"attachment_id\": 0,\r\n                \"url\": \"/FileAdm/DownloadFile.aspx?file=341010ssdfe8dd44e633ddbd829.jpg&e=16&t=12711\"\r\n            }\r\n        ],\r\n        \"created_at\": \"2020-01-28 10:08:03\",\r\n        \"sending_status\": \"ok\"\r\n    },\r\n    {\r\n        \"id\": 4056880,\r\n        \"type\": \"system\",\r\n        \"user_id\": 6405,\r\n        \"channel\": \"web\",\r\n        \"content\": \"Ticket leído por el agente Juan\",\r\n        \"contact_from\": null,\r\n        \"contacts_to\": null,\r\n        \"attachments\": null,\r\n        \"created_at\": \"2020-01-28 10:08:12\",\r\n        \"sending_status\": \"ok\"\r\n    },\r\n    {\r\n        \"id\": 4056881,\r\n        \"type\": \"note\",\r\n        \"user_id\": 6405,\r\n        \"channel\": \"web\",\r\n        \"content\": \"Contenido nota interna.\",\r\n        \"contact_from\": null,\r\n        \"contacts_to\": null,\r\n        \"attachments\": null,\r\n        \"created_at\": \"2020-01-28 10:16:12\",\r\n        \"sending_status\": \"ok\"\r\n    },\r\n    {\r\n        \"id\": 4056882,\r\n        \"type\": \"user_reply\",\r\n        \"user_id\": 6405,\r\n        \"channel\": \"web\",\r\n        \"content\": \"Contenido respuesta de usuario.\",\r\n        \"contact_from\": null,\r\n        \"contacts_to\": [\r\n            {\r\n                \"id\": 6579207,\r\n                \"email\": \"test@gmail.com\",\r\n                \"name\": \"Julio Pailler\",\r\n                \"phone\": \"\",\r\n                \"personal_id\": \"\",\r\n                \"custom_fields\": []\r\n            }\r\n        ],\r\n        \"attachments\": null,\r\n        \"created_at\": \"2020-01-28 10:16:13\",\r\n        \"sending_status\": \"ok\"\r\n    },\r\n    {\r\n        \"id\": 4056883,\r\n        \"type\": \"system\",\r\n        \"user_id\": 6405,\r\n        \"channel\": \"web\",\r\n        \"content\": \"Ticket leído por el agente Juan\",\r\n        \"contact_from\": null,\r\n        \"contacts_to\": null,\r\n        \"attachments\": null,\r\n        \"created_at\": \"2020-01-28 10:16:29\",\r\n        \"sending_status\": \"ok\"\r\n    }\r\n]"}],"_postman_id":"eb7ea887-9e68-4c67-b7ae-b3535550d646"},{"name":"Fetching Activity by ID","id":"9f9c0a19-5feb-4d0f-acbf-99cc0d5abba8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/cases/{{id}}/activities/{{activity_id}}","description":"<p>To obtain a particular activity, associated with a Case, a<code>GET</code>method must be performed forming the URL of the endpoint with the Case ID and the Activity ID.<br />The fields that are required must be indicated by means of the<code>fields</code>parameter. The possible fields are:</p>\n<p><code>id,case_id,type,user_id,channel,content,contact_from,contacts_to,attachments,recordings,created_at,sending_status</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","cases","{{id}}","activities","{{activity_id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"d406ee4c-d33d-48ae-9fc6-ec061766319f","name":"Obtención de Actividad de un Caso por Id","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wcx.cloud/core/v1/cases/1273934/activities/132546?fields=id,type,user_id,content,contact_from,contacts_to,attachments,created_at,sending_status,channel","protocol":"https","host":["api","wcx","cloud"],"path":["core","v1","cases","1273934","activities","132546"],"query":[{"key":"fields","value":"id,type,user_id,content,contact_from,contacts_to,attachments,created_at,sending_status,channel"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": 132546,\r\n    \"type\": \"contact_message\",\r\n    \"user_id\": 0,\r\n    \"channel\": \"web\",\r\n    \"content\": \"Envio de archivo adjunto\",\r\n    \"contact_from\": {\r\n        \"id\": 6579207,\r\n        \"email\": \"test@gmail.com\",\r\n        \"name\": \"\",\r\n        \"phone\": \"\",\r\n        \"personal_id\": \"\",\r\n        \"custom_fields\": []\r\n    },\r\n    \"contacts_to\": null,\r\n    \"attachments\": [\r\n        {\r\n            \"filename\": \"file.jpg\",\r\n            \"attachment_id\": 0,\r\n            \"url\": \"/FileAdm/DownloadFile.aspx?file=341010ssdfe8dd44e633ddbd829.jpg&e=16&t=12711\"\r\n        }\r\n    ],\r\n    \"created_at\": \"2020-01-28 10:08:03\",\r\n    \"sending_status\": \"ok\"\r\n}"}],"_postman_id":"9f9c0a19-5feb-4d0f-acbf-99cc0d5abba8"},{"name":"Generate Case Summary with AI","id":"96618f79-bea6-4eee-9164-ad8a596c7fc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/cases/{{id}}/summarize","description":"<p>Generates a text summary of the case activities using AI.</p>\n<p>No request body required.</p>\n<p>The generated summary is persisted in the <code>summary</code> field of the case and can be retrieved afterwards with:</p>\n<p><code>GET /v1/cases/{id}?fields=summary</code></p>\n<blockquote>\n<p>The <code>summary</code> field is also available as a selectable field in <code>GET /v1/cases</code> and <code>GET /v1/cases/{id}</code> via the <code>fields</code> parameter. Returns <code>null</code> if no summary has been generated yet for that case.</p>\n</blockquote>\n<h4 id=\"errors\">Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP</th>\n<th>Message</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>\"Case could not be summarized.\"</code></td>\n<td>The backend could not generate the summary (insufficient activities, AI feature not enabled for the account, etc.)</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Backend message</td>\n<td>Business error returned by <code>svcSummarizeCase</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","cases","{{id}}","summarize"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"1cb7552c-5cd8-4750-9874-1ed41225e7a8","name":"Generate Case Summary with AI","originalRequest":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/cases/1273934/summarize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"summary\": \"The customer contacted to inquire about the status of their order. The agent verified and confirmed that the shipment was dispatched. The case was resolved satisfactorily.\"\n    }\n}"}],"_postman_id":"96618f79-bea6-4eee-9164-ad8a596c7fc4"}],"id":"f972b348-7037-4981-b0c7-b68e22691b3c","description":"<p>Endpoint <code>cases</code> allows to create, update and obtain WiseCX cases.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"44379e89-772d-4bee-b231-f5896807711c"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"cecd98bc-4166-40d9-8209-76cd2d5d72f8"}}],"_postman_id":"f972b348-7037-4981-b0c7-b68e22691b3c","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Contacts","item":[{"name":"Organizations","item":[{"name":"Fetching Organizations","id":"b902b1fa-7632-4183-ae68-078af2c20b8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/organizations","description":"<p>To obtain the list of Organizations, a <code>GET</code> method must be performed indicating the <code>fields</code> that are required through the fields parameter. The possible fields are:</p>\n<p><code>id,custom_id,name,phone,email,web,state,address,executives,custom_fields,assignment_priorities</code></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Organization ID</td>\n</tr>\n<tr>\n<td>custom_id</td>\n<td>Organization custom identifier</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Organization's Name</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>Organization's phone number</td>\n</tr>\n<tr>\n<td>email</td>\n<td>Organization's email</td>\n</tr>\n<tr>\n<td>web</td>\n<td>Organization's website</td>\n</tr>\n<tr>\n<td>state</td>\n<td>Organization's state or province</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Organization's address</td>\n</tr>\n<tr>\n<td>executives</td>\n<td>List of executive email addresses</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>Organization Custom Fields</td>\n</tr>\n<tr>\n<td>assignment_priorities</td>\n<td>Assignment priority structure of the organization, grouped by <code>queue_id</code>. Returns <code>{}</code> if no priorities are configured. Each key is a queue ID (string); <code>\"0\"</code> represents the default queue. Each value is an ordered array of priority levels, where each level is an array of agents. Example: <code>{\"0\": [[{\"type\": \"agent\", \"id\": 41550}], [{\"type\": \"agent\", \"id\": 36590}, {\"type\": \"agent\", \"id\": 49697}]], \"156\": [[{\"type\": \"agent\", \"id\": 41550}]]}</code></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filter\">FILTER</h4>\n<p><strong>ALLOWED OPERATORS</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Operators</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id, custom_id, name</td>\n<td>IN, EQUAL</td>\n</tr>\n<tr>\n<td>organization.&lt;field_name&gt; (custom field)</td>\n<td>EQUAL (IN is not available for custom fields)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filter examples:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[{'field':'organization.id','operator':'EQUAL','value':'50283'}]\n[{'field':'organization.field_name','operator':'EQUAL','value':'value'}]\n</code></pre><p>To see more examples, see <a href=\"#filtros\">Filtros.</a></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","contacts","organizations"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"84be28d8-7657-45a9-a6ed-d99f47b70514","name":"Obtención de Organizaciones","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wcx.cloud/core/v1/contacts/organizations?fields=id,custom_id,name","protocol":"https","host":["api","wcx","cloud"],"path":["core","v1","contacts","organizations"],"query":[{"key":"fields","value":"id,custom_id,name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 14,\n            \"custom_id\": \"1234\",\n            \"name\": \"Test Organización 01\"\n        },\n        {\n            \"id\": 15,\n            \"custom_id\": \"1431\",\n            \"name\": \"Test Organización 02\"\n        },\n        {\n            \"id\": 16,\n            \"custom_id\": \"6789\",\n            \"name\": \"Test Organización 03\"\n        }]\n}"}],"_postman_id":"b902b1fa-7632-4183-ae68-078af2c20b8a"},{"name":"Organization Creation","id":"1a1e65da-818d-4b97-b034-a12da6eb5411","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/organizations/","description":"<h5 id=\"new-organization\">New Organization:</h5>\n<p>To create a new Organization, a<code>POST</code>method must be executed with the following object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>custom_id</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Organization ID (CUIT, CUIL...).</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Organization's Name.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","contacts","organizations",""],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"dafc431f-4d77-4590-9580-ed7343594aa5","name":"Creación de Organización","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"custom_id\": \"1234\",\n    \"name\": \"Test Organización 01\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/contacts/organizations/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 50053\n}"}],"_postman_id":"1a1e65da-818d-4b97-b034-a12da6eb5411"},{"name":"Updating Organization by ID","id":"77b4e1fb-cf71-4d3d-8b4a-181ed4d8af78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/organizations/{{id}}","description":"<p>To update an Organization, a <code>PUT</code> method must be executed with the following object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>custom_id</td>\n<td>string</td>\n<td><strong>no</strong></td>\n<td>Organization's ID (CUIT, CUIL...).</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><strong>no</strong></td>\n<td>Organization's Name</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","contacts","organizations","{{id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"6b3129ec-e207-4a67-96fc-91b1b0380075","name":"Actualización de Organización por Id","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"custom_id\": \"1234\",\n    \"name\": \"Test Organización 01\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/contacts/organizations/{{id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 50053\n}"}],"_postman_id":"77b4e1fb-cf71-4d3d-8b4a-181ed4d8af78"},{"name":"Removing Organization by ID","id":"2e12d84a-4d7d-43fe-a2bd-9231b6bd26ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/organizations/{{id}}","description":"<p>To remove an organization, a <code>DELETE</code> method must be performed indicating Organization's ID to delete.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","contacts","organizations","{{id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"4bcfc6d2-7952-4699-9428-54ecd3783190","name":"Eliminación de Organización por Id","originalRequest":{"method":"DELETE","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/organizations/{{id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 50053\n}"}],"_postman_id":"2e12d84a-4d7d-43fe-a2bd-9231b6bd26ff"}],"id":"130654c3-dd6c-4588-804f-c7c088270e30","description":"<p>The endpoint <code>organizations</code>allows obtaining WiseCX organizations list.</p>\n","_postman_id":"130654c3-dd6c-4588-804f-c7c088270e30","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Groups","item":[{"name":"Fetching Groups","id":"209db434-ae69-4d56-a7db-f9bf9151ab46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/groups","description":"<p>To get a group list, a <code>GET</code> method must be performed indicatind through the parameter required fields. Possible fields are:</p>\n<p><code>id,code,name</code></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Group id</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Automatically generated code for the Group.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Group's Name</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filter\">FILTER</h4>\n<h5 id=\"allowed-operators\">ALLOWED OPERATORS</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Operators</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id, code, name</td>\n<td>IN, EQUALS</td>\n</tr>\n</tbody>\n</table>\n</div><p>To see examples, check <a href=\"#filtros\">Filtros.</a></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","contacts","groups"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"b3ae2c73-f6ab-4ec8-86bc-0b2dd4f70a9f","name":"Obtención de Grupos","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wcx.cloud/core/v1/contacts/groups?fields=id,code,name","protocol":"https","host":["api","wcx","cloud"],"path":["core","v1","contacts","groups"],"query":[{"key":"fields","value":"id,code,name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 389,\n            \"code\": \"BKA0389\",\n            \"name\": \"Group 01\"\n        },\n        {\n            \"id\": 390,\n            \"code\": \"SRI0390\",\n            \"name\": \"Group 02\"\n        },\n        {\n            \"id\": 391,\n            \"code\": \"OXC0391\",\n            \"name\": \"Group 03\"\n        }]\n}"}],"_postman_id":"209db434-ae69-4d56-a7db-f9bf9151ab46"},{"name":"Group Creation","id":"c9ef2c02-f21c-4fd7-8da4-e9575e87b7fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/groups/","description":"<h5 id=\"new-contacts-group\">New Contact's Group</h5>\n<p>For creating a new Group, a <code>POST</code> method must be done with the following object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Group's Name</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","contacts","groups",""],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"fd2c6f07-0140-4ca5-821c-dd848813f4d6","name":"Creación de Grupo","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Test Group 01\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/contacts/groups/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 8798\n}"}],"_postman_id":"c9ef2c02-f21c-4fd7-8da4-e9575e87b7fa"},{"name":"Adding a Contact to a Group","id":"2d60dc16-00bb-469c-baad-ef2780ad1f5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/{{contact_id}}/groups/{{group_id}}","description":"<p>For inserting an existing Contact to a Group, a<code>PUT</code> method must be executed indicating in the URL path the contact ID and the group ID as appropriate.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","contacts","{{contact_id}}","groups","{{group_id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"ce79d73d-80de-4b7d-956c-0ad89d9adc6d","name":"Agregar Contacto a Grupo","originalRequest":{"method":"PUT","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/1546454/groups/4851"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Contact added OK.\"\n}"}],"_postman_id":"2d60dc16-00bb-469c-baad-ef2780ad1f5d"},{"name":"Removing a Contact from a Group","id":"63d15656-ccc1-4c88-8eca-490aea15d43c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/{{contact_id}}/groups/{{group_id}}","description":"<p>For deleting a Contact from a Group, a <code>DELETE</code> method must be made indicating in the URL path the ID Contact and the ID Group as appropiate.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","contacts","{{contact_id}}","groups","{{group_id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"413d3756-d7f2-4686-a4c7-20cf859aea8a","name":"Eliminar Contacto de Grupo","originalRequest":{"method":"DELETE","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/1546454/groups/4851"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Contact removed OK.\"\n}"}],"_postman_id":"63d15656-ccc1-4c88-8eca-490aea15d43c"}],"id":"021fcb44-7aac-4806-8b56-b084c4c78fca","description":"<p>The endpoint <code>groups</code> allows operating with the Contact Groups of Wise CX.</p>\n","_postman_id":"021fcb44-7aac-4806-8b56-b084c4c78fca","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Bulk Import","item":[{"name":"Create Import Session","id":"92dabca8-9dcb-49ff-8cec-50d08d6eb029","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"group_ids\": [123, 456],\n    \"identifier\": \"email\",\n    \"action\": \"add_update\",\n    \"fields_mapping\": {\n        \"email\": \"mail\",\n        \"name\": \"full_name\",\n        \"phone\": \"telephone\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/contacts/import","description":"<h5 id=\"create-import-session\">Create Import Session</h5>\n<p>Step 1 of the bulk import flow. Creates a session and returns an <code>import_id</code> to be used in subsequent steps.</p>\n<p><strong>Flow:</strong></p>\n<ol>\n<li><code>POST /v1/contacts/import</code> — create the session.</li>\n<li><code>POST /v1/contacts/import/{importId}/add</code> — send contacts (repeatable, max 50 per request).</li>\n<li><code>GET /v1/contacts/import/{importId}/status</code> — poll processing status.</li>\n</ol>\n<h4 id=\"body\">Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_ids</td>\n<td>integer[]</td>\n<td><strong>yes</strong></td>\n<td>IDs of the destination groups. All must exist and be active for the account.</td>\n</tr>\n<tr>\n<td>identifier</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Field used to identify duplicates: <code>email</code>, <code>personal_id</code>, <code>phone</code>. Must be present as a key in <code>fields_mapping</code>.</td>\n</tr>\n<tr>\n<td>action</td>\n<td>string</td>\n<td>no</td>\n<td>Behavior on duplicates: <code>add_update</code> (default), <code>add_only</code>, <code>update_only</code>.</td>\n</tr>\n<tr>\n<td>fields_mapping</td>\n<td>object</td>\n<td>no</td>\n<td>Column-to-WCX-field mapping: <code>{ \"wcx_field\": \"source_column\" }</code>. The <code>identifier</code> key must be included. Unknown keys are silently discarded.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"limits\">Limits</h4>\n<ul>\n<li>Only <strong>1 active session</strong> per account at a time.</li>\n<li>Session TTL: <strong>60 minutes</strong> (sliding — resets on every successful <code>/add</code>).</li>\n<li>Auto-close on inactivity: <strong>5 minutes</strong> without a <code>/add</code> call.</li>\n<li>Max contacts per session: <strong>10,000</strong>.</li>\n</ul>\n<h4 id=\"errors\">Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>group_ids_required</code></td>\n<td><code>group_ids</code> is empty</td>\n</tr>\n<tr>\n<td><code>group_ids_invalid. One or more groups do not exist.</code></td>\n<td>A group does not exist or is not active</td>\n</tr>\n<tr>\n<td><code>identifier_invalid. Valid values: email, personal_id, phone</code></td>\n<td>Invalid <code>identifier</code> value</td>\n</tr>\n<tr>\n<td><code>identifier_field_required. The identifier '...' must be present in fields_mapping.</code></td>\n<td>The <code>identifier</code> is not a key in <code>fields_mapping</code></td>\n</tr>\n<tr>\n<td><code>action_invalid. Valid values: add_update, add_only, update_only</code></td>\n<td>Invalid <code>action</code> value</td>\n</tr>\n<tr>\n<td><code>import_active_limit_exceeded. Max {N} active import(s) allowed per account.</code></td>\n<td>An active session already exists for this account</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","contacts","import"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"547f8640-f78f-46d1-bb22-511c82acb455","name":"Create Import Session","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"group_ids\": [123, 456],\n    \"identifier\": \"email\",\n    \"action\": \"add_update\",\n    \"fields_mapping\": {\n        \"email\": \"mail\",\n        \"name\": \"full_name\",\n        \"phone\": \"telephone\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/contacts/import"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"import_id\": \"imp_abc123\",\n        \"status\": \"active\"\n    }\n}"}],"_postman_id":"92dabca8-9dcb-49ff-8cec-50d08d6eb029"},{"name":"Add Contacts to Session","id":"04b8f930-72d6-48f1-b702-c913294d8239","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"email\": \"john@example.com\",\n        \"name\": \"John Doe\",\n        \"phone\": \"1112223333\",\n        \"personal_id\": \"20123456\",\n        \"metadata\": {\n            \"city\": \"New York\",\n            \"plan\": \"gold\"\n        }\n    },\n    {\n        \"email\": \"jane@example.com\",\n        \"name\": \"Jane Smith\",\n        \"phone\": \"1144445555\",\n        \"personal_id\": \"27654321\",\n        \"metadata\": {}\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/contacts/import/{{importId}}/add","description":"<h5 id=\"add-contacts-to-session\">Add Contacts to Session</h5>\n<p>Step 2 of the bulk import flow. Sends a batch of contacts to the session. Can be called multiple times. <strong>Each successful call resets the session TTL.</strong></p>\n<h4 id=\"limits\">Limits</h4>\n<ul>\n<li>Max <strong>50 contacts per request</strong>.</li>\n<li>Max <strong>10,000 total contacts</strong> per session.</li>\n</ul>\n<h4 id=\"body--array-of-contacts\">Body — array of contacts</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>Contact email</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>Phone number (all non-digit characters are stripped)</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Contact name</td>\n</tr>\n<tr>\n<td>personal_id</td>\n<td>string</td>\n<td>Personal identifier (ID, tax number, etc.)</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>object</td>\n<td>Custom fields: <code>{ \"field\": \"value\" }</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>Only the field set as <code>identifier</code> when creating the session is validated. All other fields are optional with no format validation.</p>\n<h4 id=\"identifier-validation\">Identifier Validation</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>identifier</th>\n<th>Error if empty</th>\n<th>Error if invalid format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email</code></td>\n<td><code>email_empty</code></td>\n<td><code>email_invalid</code> (regex: <code>^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$</code>)</td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td><code>phone_invalid</code></td>\n<td><code>phone_invalid</code> (empty after stripping non-digits)</td>\n</tr>\n<tr>\n<td><code>personal_id</code></td>\n<td><code>personal_id_empty</code></td>\n<td>— (no format check)</td>\n</tr>\n</tbody>\n</table>\n</div><p>Contacts sharing the same <code>identifier</code> value within the <strong>same request</strong> are rejected with <code>duplicate_in_batch</code> (case-insensitive).</p>\n<h4 id=\"response-fields\">Response Fields</h4>\n<p><code>to_import</code> = valid contacts queued · <code>not_valid</code> = rejected · <code>errors</code> = detail per contact (<code>contact_index</code> zero-based, <code>error</code>, <code>value</code>)</p>\n<h4 id=\"request-errors\">Request Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>import_not_found</code></td>\n<td><code>importId</code> does not exist for this account</td>\n</tr>\n<tr>\n<td><code>import_not_active</code></td>\n<td>Session is not in active state</td>\n</tr>\n<tr>\n<td><code>import_expired</code></td>\n<td>Session TTL has expired</td>\n</tr>\n<tr>\n<td><code>contacts_limit_exceeded. Max {N} contacts per request.</code></td>\n<td>More than 50 contacts sent in a single request</td>\n</tr>\n<tr>\n<td><code>import_max_contacts_exceeded. Max {N} contacts per import. Current: {X}, Requested: {Y}.</code></td>\n<td>Total would exceed the session limit</td>\n</tr>\n<tr>\n<td><code>chunk_enqueue_failed. Please retry.</code></td>\n<td>MongoDB enqueue failure — retry the request</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","contacts","import","{{importId}}","add"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"9b24c6f9-be49-412d-acb0-61ed22196bfd","name":"Add Contacts to Session","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"email\": \"john@example.com\",\n        \"name\": \"John Doe\",\n        \"phone\": \"1112223333\",\n        \"personal_id\": \"20123456\",\n        \"metadata\": {\n            \"city\": \"New York\",\n            \"plan\": \"gold\"\n        }\n    },\n    {\n        \"email\": \"jane@example.com\",\n        \"name\": \"Jane Smith\",\n        \"phone\": \"1144445555\",\n        \"personal_id\": \"27654321\",\n        \"metadata\": {}\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/contacts/import/imp_abc123/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"to_import\": 47,\n        \"not_valid\": 3,\n        \"errors\": [\n            { \"contact_index\": 2, \"error\": \"email_invalid\", \"value\": \"not-an-email\" },\n            { \"contact_index\": 5, \"error\": \"duplicate_in_batch\", \"value\": \"john@example.com\" },\n            { \"contact_index\": 9, \"error\": \"email_empty\", \"value\": \"\" }\n        ]\n    }\n}"}],"_postman_id":"04b8f930-72d6-48f1-b702-c913294d8239"},{"name":"Get Import Status","id":"27ac5e5e-0d4a-4303-8565-ef0ed24f615e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/import/{{importId}}/status","description":"<h5 id=\"get-import-status\">Get Import Status</h5>\n<p>Step 3 of the bulk import flow. Returns the processing status of the session. Does not modify the session TTL.</p>\n<h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>import_id</td>\n<td>Session identifier</td>\n</tr>\n<tr>\n<td>status</td>\n<td><code>active</code> = in progress · <code>closed</code> = finished · <code>expired</code> = TTL expired · <code>cancelled</code> = manually cancelled</td>\n</tr>\n<tr>\n<td>total_received</td>\n<td>Total valid contacts queued so far</td>\n</tr>\n<tr>\n<td>total_processed</td>\n<td>Contacts already processed by the backend</td>\n</tr>\n<tr>\n<td>total_errors</td>\n<td>Contacts rejected due to validation errors</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Session creation timestamp (UTC)</td>\n</tr>\n<tr>\n<td>last_activity</td>\n<td>Timestamp of the last successful <code>/add</code> call (UTC)</td>\n</tr>\n<tr>\n<td>action</td>\n<td>Duplicate behavior configured at session creation</td>\n</tr>\n<tr>\n<td>identifier</td>\n<td>Identifier field configured at session creation</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"errors\">Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>import_not_found</code></td>\n<td><code>importId</code> does not exist for this account</td>\n</tr>\n<tr>\n<td><code>import_id_required</code></td>\n<td><code>importId</code> is empty or missing</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","contacts","import","{{importId}}","status"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"8c2d2773-a8e5-461f-9b80-2e54ed582f96","name":"Get Import Status","originalRequest":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/import/imp_abc123/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"import_id\": \"imp_abc123\",\n        \"status\": \"active\",\n        \"total_received\": 300,\n        \"total_processed\": 210,\n        \"total_errors\": 8,\n        \"created_at\": \"2026-01-15 10:00:00\",\n        \"last_activity\": \"2026-01-15 10:05:32\",\n        \"action\": \"add_update\",\n        \"identifier\": \"email\"\n    }\n}"}],"_postman_id":"27ac5e5e-0d4a-4303-8565-ef0ed24f615e"}],"id":"98931b60-9108-416a-9613-6859f1464a0d","description":"<p>Endpoints for asynchronous bulk contact import. Flow: create session → add contacts (repeatable, max 50/request) → poll status.</p>\n","_postman_id":"98931b60-9108-416a-9613-6859f1464a0d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Contact Creation","id":"b7bac0b6-1ca4-4b8f-aa4b-b330a6845df5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/","description":"<h5 id=\"new-contact\">New Contact:</h5>\n<p>To create a new Contact, a<code>POST</code>method must be performed with the following object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>yes*</td>\n<td>Contact Email. *Mandatory only if the personal ID, phone number does not come.</td>\n</tr>\n<tr>\n<td>personal_id</td>\n<td>string</td>\n<td>yes*</td>\n<td>Personal ID of the contact (DNI, CUIT...). *Mandatory only if the Email, phone number does not come.</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>yes*</td>\n<td>Contact phone number. *Mandatory only if the Email, personal_id does not come.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>no</td>\n<td>Contact's Name.</td>\n</tr>\n<tr>\n<td>guid</td>\n<td>string</td>\n<td>no</td>\n<td>Contact's GUID.</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n<td>no</td>\n<td>Contact's password.</td>\n</tr>\n<tr>\n<td>organization_id</td>\n<td>numeric</td>\n<td>no</td>\n<td>Contact's organization ID.</td>\n</tr>\n<tr>\n<td>address</td>\n<td>string</td>\n<td>no</td>\n<td>Contact's Address.</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td><code>custom_fields[]</code></td>\n<td>no</td>\n<td>Contact Custom Fields.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Object<code>custom_fields</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>field</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>custom_field Name.</td>\n</tr>\n<tr>\n<td>value</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>custom_field Value.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","contacts",""],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"97a44677-2449-4cc2-87b6-3ef49494edf8","name":"Creación de Contacto","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"personal_id\": \"545487879-1\",\n    \"email\": \"j.doe-1@test.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/contacts/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6594518\n}"}],"_postman_id":"b7bac0b6-1ca4-4b8f-aa4b-b330a6845df5"},{"name":"Contact Updating by ID","id":"b8928489-9b28-443d-a950-f1673af58918","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/{{id}}","description":"<p>To update a Contact, a <code>PUT</code> method must be sent with the following object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>yes*</td>\n<td>Contact Email. *Mandatory only if the personal_id, phone number does not come.</td>\n</tr>\n<tr>\n<td>personal_id</td>\n<td>string</td>\n<td>yes*</td>\n<td>Contact's personal ID (DNI, CUIT...). *Mandatory only if the Email, phone nomber does not come.</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>yes*</td>\n<td>Contact's phone number. *Mandatory only if the Email, personal_id does not come.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>no</td>\n<td>Contact's Name.</td>\n</tr>\n<tr>\n<td>guid</td>\n<td>string</td>\n<td>no</td>\n<td>Contact's GUID.</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n<td>no</td>\n<td>Contact's password.</td>\n</tr>\n<tr>\n<td>organization_id</td>\n<td>numeric</td>\n<td>no*</td>\n<td>Organization ID of the contact. *To unlink from the contact send -1.</td>\n</tr>\n<tr>\n<td>address</td>\n<td>string</td>\n<td>no</td>\n<td>Contact's Address.</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td><code>custom_fields[]</code></td>\n<td>no</td>\n<td>Contact Custom Fields.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Object <code>custom_fields</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>field</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>custom_field Name.</td>\n</tr>\n<tr>\n<td>value</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>custom_field Value.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","contacts","{{id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"e48735c9-ce42-4a40-b32e-f92ad49e527f","name":"Actualización de Contacto por Id","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"personal_id\": \"545487879\",\n    \"email\": \"j.doe@test.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/contacts/{{id}}"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": 6594517\r\n}"}],"_postman_id":"b8928489-9b28-443d-a950-f1673af58918"},{"name":"Fetching Contacts","id":"00e6a5fd-d65c-4ec7-a5a6-98d8f84982bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/?fields=id,email,personal_id,phone,name,custom_fields,last_update&limit=100&page=80","description":"<p>To obtain the list of Contacts, a <code>GET</code> must be done indicating the required <code>fields</code> through the fields parameter. The possible fields are:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Contact ID</td>\n</tr>\n<tr>\n<td>email</td>\n<td>Contact's Email</td>\n</tr>\n<tr>\n<td>personal_id</td>\n<td>Custom contact identifier</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>Contact's phone number</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Contact's Name</td>\n</tr>\n<tr>\n<td>guid</td>\n<td>Contact's GUID</td>\n</tr>\n<tr>\n<td>password</td>\n<td>Contact's Password</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>Contact Custom Fields</td>\n</tr>\n<tr>\n<td>last_update</td>\n<td>Gets the last updated date of the contact <strong>(UTC+0)</strong></td>\n</tr>\n<tr>\n<td>organization_id</td>\n<td>Contact organization identifier</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Contact's Address</td>\n</tr>\n<tr>\n<td>city</td>\n<td>Contact's City</td>\n</tr>\n<tr>\n<td>channel_data</td>\n<td>Channel details associated with the contact: Facebook, Instagram, Twitter</td>\n</tr>\n<tr>\n<td>groups_ids</td>\n<td>Array of IDs of the groups the contact belongs to. Returns <code>[]</code> if the contact does not belong to any group. Example: <code>\"groups_ids\": [12, 45, 78]</code></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filter\">FILTER</h4>\n<h5 id=\"allowed-operators\">ALLOWED OPERATORS</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Operators</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id, email, personal_id, phone, last_update, organization_id</td>\n<td>IN, EQUAL</td>\n</tr>\n<tr>\n<td>contact.group_id</td>\n<td>IN, EQUAL</td>\n</tr>\n<tr>\n<td>contact.&lt;field_name&gt; (custom field)</td>\n<td>EQUAL (IN is not available for custom fields)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filter examples:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[{'field':'contact.group_id','operator':'EQUAL','value':'123'}]\n[{'field':'contact.group_id','operator':'IN','value':['123','456']}]\n[{'field':'contact.field_name','operator':'EQUAL','value':'value'}]\n</code></pre><p>To check more examples see <a href=\"#filtros\">Filtros.</a></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","contacts",""],"host":["api","wcx","cloud"],"query":[{"key":"fields","value":"id,email,personal_id,phone,name,custom_fields,last_update"},{"key":"limit","value":"100"},{"key":"page","value":"80"}],"variable":[]}},"response":[{"id":"727855ff-3e8b-4e07-ad33-551a0698c91a","name":"Obtenención de Contactos","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wcx.cloud/core/v1/contacts/?fields=id,personal_id&sort=desc&sort_field=id&limit=5&page=1","protocol":"https","host":["api","wcx","cloud"],"path":["core","v1","contacts",""],"query":[{"key":"fields","value":"id,personal_id"},{"key":"sort","value":"desc"},{"key":"sort_field","value":"id"},{"key":"limit","value":"5"},{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"id\": 6594517,\r\n            \"personal_id\": \"\"\r\n        },\r\n        {\r\n            \"id\": 6594516,\r\n            \"personal_id\": \"3279964888\"\r\n        },\r\n        {\r\n            \"id\": 6594515,\r\n            \"personal_id\": \"812737-7787987987\"\r\n        },\r\n        {\r\n            \"id\": 6594514,\r\n            \"personal_id\": \"8127377787987987\"\r\n        },\r\n        {\r\n            \"id\": 6594513,\r\n            \"personal_id\": \"7787987987\"\r\n        }\r\n    ],\r\n    \"paging\": {\r\n        \"next\": \"https://api.wcx.cloud/core/v1/contacts/v1/contacts/?fields=id,personal_id&limit=5&page=2&sort=desc&sort_field=id\",\r\n        \"page\": 2,\r\n        \"limit\": 5\r\n    }\r\n}"}],"_postman_id":"00e6a5fd-d65c-4ec7-a5a6-98d8f84982bd"},{"name":"Fetching Contact by ID","id":"8e781032-3532-48cc-ab87-de2c0b043a43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/{{id}}","description":"<p>To obtain the detail of a Contact, a <code>GET</code> method must be made indicating the <code>fields</code> that are required by means of the fields parameter. The possible fields are:</p>\n<p><code>id,email,personal_id,phone,name,guid,password,custom_fields,last_update,organization_id,address,city,channel_data,groups_ids</code></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Contact ID</td>\n</tr>\n<tr>\n<td>email</td>\n<td>Contact's Email</td>\n</tr>\n<tr>\n<td>personal_id</td>\n<td>Custom contact identifier</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>Contact's phone number</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Contact's Name</td>\n</tr>\n<tr>\n<td>guid</td>\n<td>Contact's GUID</td>\n</tr>\n<tr>\n<td>password</td>\n<td>Contact's Password</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>Contact Custom Fields</td>\n</tr>\n<tr>\n<td>last_update</td>\n<td>Gets the last updated date of the contact <strong>(UTC+0)</strong></td>\n</tr>\n<tr>\n<td>organization_id</td>\n<td>Contact organization identifier</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Contact's Address</td>\n</tr>\n<tr>\n<td>city</td>\n<td>Contact's City</td>\n</tr>\n<tr>\n<td>channel_data</td>\n<td>Channel details associated with the contact: Facebook, Instagram, Twitter</td>\n</tr>\n<tr>\n<td>groups_ids</td>\n<td>Array of IDs of the groups the contact belongs to. Returns <code>[]</code> if the contact does not belong to any group. Example: <code>\"groups_ids\": [12, 45, 78]</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","contacts","{{id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"023b1f4d-290f-4d7e-9b00-f45911a44a01","name":"Obtenención de Contacto por id","originalRequest":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/6594517"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6594517,\n    \"email\": \"j.doe@test.com\",\n    \"name\": \"Jhon Doe\",\n    \"personal_id\": \"5465478\",\n    \"custom_fields\": [\n        {\n            \"field\": \"firstaccess\",\n            \"value\": \"false\"\n        },\n        {\n            \"field\": \"test_multiline\",\n            \"value\": \"test\"\n        },\n        {\n            \"field\": \"DNI_CUIL\",\n            \"value\": \"456456487\"\n        }\n    ]\n}"}],"_postman_id":"8e781032-3532-48cc-ab87-de2c0b043a43"},{"name":"Deleting Contact by ID","id":"bf46fa81-ba98-4e6f-b0a5-b6b468520376","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/{{id}}","description":"<p>To delete a Contact, a <code>DELETE</code> method must be made indicating the ID of the contact to be deleted.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","contacts","{{id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"dd427802-c3b7-4e27-a8e3-a01fc221db98","name":"Eliminación de Contacto por id","originalRequest":{"method":"DELETE","header":[],"url":"https://api.wcx.cloud/core/v1/contacts/{{id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Contact removed.\"\n}"}],"_postman_id":"bf46fa81-ba98-4e6f-b0a5-b6b468520376"}],"id":"a0065a5c-ba95-4546-a221-7f5700d4d630","description":"<p>The <code>contacts</code> endpoint allows managing WiseCX contacts.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"c85474ed-164e-4f57-bb14-73064744fc2b"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"42a53369-fd47-482c-831b-39b8b59e829c"}}],"_postman_id":"a0065a5c-ba95-4546-a221-7f5700d4d630","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Service Groups","item":[{"name":"Fetching Service Groups","id":"f1b22f92-95ea-4829-b615-c181dd1f074c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/queues","description":"<p>To obtain the list of Service Groups, a <code>GET</code> method must be executed. The default fields returned are: <code>id,name,businessHours,users</code>.</p>\n<p>You can use the <code>fields</code> parameter to request a subset of fields (e.g. <code>?fields=id,name,users</code>).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>numeric</td>\n<td>Service group ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Service group name</td>\n</tr>\n<tr>\n<td>businessHours</td>\n<td>object</td>\n<td>Business hours configured for the group</td>\n</tr>\n<tr>\n<td>users</td>\n<td>array</td>\n<td>Users assigned to the group (sorted alphabetically by name)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"businesshours-structure\"><code>businessHours</code> structure</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>timezone.name</td>\n<td>string</td>\n<td>Timezone name (e.g. <code>\"Argentina Standard Time\"</code>)</td>\n</tr>\n<tr>\n<td>timezone.offset</td>\n<td>string</td>\n<td>UTC offset (e.g. <code>\"-03:00\"</code>)</td>\n</tr>\n<tr>\n<td>schedules[].day</td>\n<td>numeric</td>\n<td>Day of the week: 0=Sunday, 1=Monday, ..., 6=Saturday</td>\n</tr>\n<tr>\n<td>schedules[].name</td>\n<td>string</td>\n<td>Day name in English (e.g. <code>\"sunday\"</code>, <code>\"monday\"</code>)</td>\n</tr>\n<tr>\n<td>schedules[].isOpen</td>\n<td>boolean</td>\n<td>Whether the group attends on that day</td>\n</tr>\n<tr>\n<td>schedules[].specialDate</td>\n<td>boolean</td>\n<td>Whether it is a special (non-recurring) date</td>\n</tr>\n<tr>\n<td>schedules[].date</td>\n<td>string/null</td>\n<td>Specific date in <code>yyyy-MM-dd</code> format (null for regular days)</td>\n</tr>\n<tr>\n<td>schedules[].hours[].from</td>\n<td>string</td>\n<td>Opening time in <code>HH:mm</code> format</td>\n</tr>\n<tr>\n<td>schedules[].hours[].to</td>\n<td>string</td>\n<td>Closing time in <code>HH:mm</code> format</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"users-structure\"><code>users</code> structure</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>numeric</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>User name</td>\n</tr>\n<tr>\n<td>auto_assign</td>\n<td>boolean</td>\n<td>Whether the user has automatic assignment enabled</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","queues"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"1d5801ec-b089-493d-8124-a1dd73b285de","name":"Fetching Service Groups","originalRequest":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/queues"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"id\": 53,\r\n            \"name\": \"Soporte\",\r\n            \"businessHours\": {\r\n                \"timezone\": {\r\n                    \"name\": \"Argentina Standard Time\",\r\n                    \"offset\": \"-03:00\"\r\n                },\r\n                \"schedules\": [\r\n                    { \"day\": 0, \"name\": \"sunday\",    \"isOpen\": false, \"specialDate\": false, \"date\": null, \"hours\": [] },\r\n                    { \"day\": 1, \"name\": \"monday\",    \"isOpen\": true,  \"specialDate\": false, \"date\": null, \"hours\": [{ \"from\": \"08:00\", \"to\": \"17:00\" }] },\r\n                    { \"day\": 2, \"name\": \"tuesday\",   \"isOpen\": true,  \"specialDate\": false, \"date\": null, \"hours\": [{ \"from\": \"08:00\", \"to\": \"17:00\" }] },\r\n                    { \"day\": 3, \"name\": \"wednesday\", \"isOpen\": true,  \"specialDate\": false, \"date\": null, \"hours\": [{ \"from\": \"08:00\", \"to\": \"17:00\" }] },\r\n                    { \"day\": 4, \"name\": \"thursday\",  \"isOpen\": true,  \"specialDate\": false, \"date\": null, \"hours\": [{ \"from\": \"08:00\", \"to\": \"17:00\" }] },\r\n                    { \"day\": 5, \"name\": \"friday\",    \"isOpen\": true,  \"specialDate\": false, \"date\": null, \"hours\": [{ \"from\": \"08:00\", \"to\": \"17:00\" }] },\r\n                    { \"day\": 6, \"name\": \"saturday\",  \"isOpen\": false, \"specialDate\": false, \"date\": null, \"hours\": [] }\r\n                ]\r\n            },\r\n            \"users\": [\r\n                { \"id\": 10, \"name\": \"Juan Pérez\",   \"auto_assign\": true },\r\n                { \"id\": 11, \"name\": \"María García\", \"auto_assign\": false }\r\n            ]\r\n        },\r\n        {\r\n            \"id\": 122,\r\n            \"name\": \"Sugerencias\",\r\n            \"businessHours\": {\r\n                \"timezone\": {\r\n                    \"name\": \"Argentina Standard Time\",\r\n                    \"offset\": \"-03:00\"\r\n                },\r\n                \"schedules\": [\r\n                    { \"day\": 0, \"name\": \"sunday\",    \"isOpen\": false, \"specialDate\": false, \"date\": null, \"hours\": [] },\r\n                    { \"day\": 1, \"name\": \"monday\",    \"isOpen\": true,  \"specialDate\": false, \"date\": null, \"hours\": [{ \"from\": \"09:00\", \"to\": \"18:00\" }] },\r\n                    { \"day\": 2, \"name\": \"tuesday\",   \"isOpen\": true,  \"specialDate\": false, \"date\": null, \"hours\": [{ \"from\": \"09:00\", \"to\": \"18:00\" }] },\r\n                    { \"day\": 3, \"name\": \"wednesday\", \"isOpen\": true,  \"specialDate\": false, \"date\": null, \"hours\": [{ \"from\": \"09:00\", \"to\": \"18:00\" }] },\r\n                    { \"day\": 4, \"name\": \"thursday\",  \"isOpen\": true,  \"specialDate\": false, \"date\": null, \"hours\": [{ \"from\": \"09:00\", \"to\": \"18:00\" }] },\r\n                    { \"day\": 5, \"name\": \"friday\",    \"isOpen\": true,  \"specialDate\": false, \"date\": null, \"hours\": [{ \"from\": \"09:00\", \"to\": \"18:00\" }] },\r\n                    { \"day\": 6, \"name\": \"saturday\",  \"isOpen\": false, \"specialDate\": false, \"date\": null, \"hours\": [] }\r\n                ]\r\n            },\r\n            \"users\": []\r\n        }\r\n    ],\r\n    \"paging\": {\r\n        \"next\": null,\r\n        \"page\": 1,\r\n        \"limit\": 100\r\n    }\r\n}"}],"_postman_id":"f1b22f92-95ea-4829-b615-c181dd1f074c"},{"name":"Service Group Creation","id":"3fa7f892-6635-43eb-b458-cc1a0a9d3591","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Support\",\r\n  \"users\": [\r\n    {\r\n      \"id\": 10,\r\n      \"auto_assign\": true\r\n    },\r\n    {\r\n      \"id\": 11,\r\n      \"auto_assign\": false\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/queues","description":"<p>Creates a new service group allowing to associate users and define whether each one has automatic assignment.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Service group name. Whitespace is trimmed automatically. Maximum 50 characters. Must be unique.</td>\n</tr>\n<tr>\n<td>users</td>\n<td>array</td>\n<td>no</td>\n<td>List of users to associate with the group. If not provided, the group is created without users.</td>\n</tr>\n<tr>\n<td>users[].id</td>\n<td>integer</td>\n<td>yes (if users sent)</td>\n<td>User ID. Must be greater than 0. Duplicate IDs are not allowed.</td>\n</tr>\n<tr>\n<td>users[].auto_assign</td>\n<td>boolean</td>\n<td>no</td>\n<td>Whether the user participates in automatic assignment. Default: <code>false</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response:</strong> <code>{ \"data\": { \"id\": &lt;new_group_id&gt; } }</code> — HTTP 200</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","queues"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"cda12b24-c0a1-4798-a266-6d4a5ce417fc","name":"Service Group Creation","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Support\",\r\n  \"users\": [\r\n    {\r\n      \"id\": 10,\r\n      \"auto_assign\": true\r\n    },\r\n    {\r\n      \"id\": 11,\r\n      \"auto_assign\": false\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/queues"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"data\": {\r\n    \"id\": 154\r\n  }\r\n}"}],"_postman_id":"3fa7f892-6635-43eb-b458-cc1a0a9d3591"},{"name":"Fetching Service Group by ID","id":"3edd2c63-9487-4476-b006-81c0c0b8801a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/queues/{{id}}","description":"<p>To obtain the details of a Service Group, a <code>GET</code> method must be executed indicating the group ID in the URL.</p>\n<p>The default fields returned are: <code>id,name,businessHours,users</code></p>\n<p>You can use the <code>fields</code> parameter to request a subset of fields (e.g. <code>?fields=id,name,users</code>).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>numeric</td>\n<td>Service group ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Service group name</td>\n</tr>\n<tr>\n<td>businessHours</td>\n<td>object</td>\n<td>Business hours configured for the group</td>\n</tr>\n<tr>\n<td>users</td>\n<td>array</td>\n<td>Users assigned to the group (sorted alphabetically by name)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"businesshours-structure\"><code>businessHours</code> structure</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>timezone.name</td>\n<td>string</td>\n<td>Timezone name (e.g. <code>\"Argentina Standard Time\"</code>)</td>\n</tr>\n<tr>\n<td>timezone.offset</td>\n<td>string</td>\n<td>UTC offset (e.g. <code>\"-03:00\"</code>)</td>\n</tr>\n<tr>\n<td>schedules[].day</td>\n<td>numeric</td>\n<td>Day of the week: 0=Sunday, 1=Monday, ..., 6=Saturday</td>\n</tr>\n<tr>\n<td>schedules[].name</td>\n<td>string</td>\n<td>Day name in English (e.g. <code>\"sunday\"</code>, <code>\"monday\"</code>)</td>\n</tr>\n<tr>\n<td>schedules[].isOpen</td>\n<td>boolean</td>\n<td>Whether the group attends on that day</td>\n</tr>\n<tr>\n<td>schedules[].specialDate</td>\n<td>boolean</td>\n<td>Whether it is a special (non-recurring) date</td>\n</tr>\n<tr>\n<td>schedules[].date</td>\n<td>string/null</td>\n<td>Specific date in <code>yyyy-MM-dd</code> format (null for regular days)</td>\n</tr>\n<tr>\n<td>schedules[].hours[].from</td>\n<td>string</td>\n<td>Opening time in <code>HH:mm</code> format</td>\n</tr>\n<tr>\n<td>schedules[].hours[].to</td>\n<td>string</td>\n<td>Closing time in <code>HH:mm</code> format</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"users-structure\"><code>users</code> structure</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>numeric</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>User name</td>\n</tr>\n<tr>\n<td>auto_assign</td>\n<td>boolean</td>\n<td>Whether the user has automatic assignment enabled</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","queues","{{id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"841af748-7313-4722-8755-e9aee603db92","name":"Fetching Service Group by ID","originalRequest":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/queues/53"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": {\r\n        \"id\": 53,\r\n        \"name\": \"Soporte\",\r\n        \"businessHours\": {\r\n            \"timezone\": {\r\n                \"name\": \"Argentina Standard Time\",\r\n                \"offset\": \"-03:00\"\r\n            },\r\n            \"schedules\": [\r\n                { \"day\": 0, \"name\": \"sunday\",    \"isOpen\": false, \"specialDate\": false, \"date\": null, \"hours\": [] },\r\n                { \"day\": 1, \"name\": \"monday\",    \"isOpen\": true,  \"specialDate\": false, \"date\": null, \"hours\": [{ \"from\": \"08:00\", \"to\": \"17:00\" }] },\r\n                { \"day\": 2, \"name\": \"tuesday\",   \"isOpen\": true,  \"specialDate\": false, \"date\": null, \"hours\": [{ \"from\": \"08:00\", \"to\": \"17:00\" }] },\r\n                { \"day\": 3, \"name\": \"wednesday\", \"isOpen\": true,  \"specialDate\": false, \"date\": null, \"hours\": [{ \"from\": \"08:00\", \"to\": \"17:00\" }] },\r\n                { \"day\": 4, \"name\": \"thursday\",  \"isOpen\": true,  \"specialDate\": false, \"date\": null, \"hours\": [{ \"from\": \"08:00\", \"to\": \"17:00\" }] },\r\n                { \"day\": 5, \"name\": \"friday\",    \"isOpen\": true,  \"specialDate\": false, \"date\": null, \"hours\": [{ \"from\": \"08:00\", \"to\": \"17:00\" }] },\r\n                { \"day\": 6, \"name\": \"saturday\",  \"isOpen\": false, \"specialDate\": false, \"date\": null, \"hours\": [] }\r\n            ]\r\n        },\r\n        \"users\": [\r\n            { \"id\": 10, \"name\": \"Juan Pérez\",   \"auto_assign\": true },\r\n            { \"id\": 11, \"name\": \"María García\", \"auto_assign\": false }\r\n        ]\r\n    }\r\n}"}],"_postman_id":"3edd2c63-9487-4476-b006-81c0c0b8801a"},{"name":"Updating Service Group Users","id":"effd4238-ed83-4990-8823-7711d7571e42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"[\r\n  {\r\n    \"id\": 10,\r\n    \"auto_assign\": true\r\n  },\r\n  {\r\n    \"id\": 11,\r\n    \"auto_assign\": false\r\n  }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/queues/{{id}}/users","description":"<p>To assign or update users in a Service Group, a <code>PUT</code> method must be executed indicating the group ID in the URL and sending an array of user objects.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>numeric</td>\n<td><strong>yes</strong></td>\n<td>User ID (must be greater than 0). Duplicate IDs are not allowed.</td>\n</tr>\n<tr>\n<td>auto_assign</td>\n<td>boolean</td>\n<td>no</td>\n<td>Whether the user will have automatic assignment. Default: <code>false</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><p>If the list is empty, a summary with all counters at 0 is returned without making any changes.</p>\n<p>The response includes a summary with the number of users <code>added</code>, <code>updated</code> and <code>unchanged</code>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","queues","{{id}}","users"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"88c0d6a4-0297-4f81-9f61-e37924c31a05","name":"Updating Service Group Users","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"[\r\n  {\r\n    \"id\": 10,\r\n    \"auto_assign\": true\r\n  },\r\n  {\r\n    \"id\": 11,\r\n    \"auto_assign\": false\r\n  }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/queues/53/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": {\r\n        \"added\": 1,\r\n        \"updated\": 1,\r\n        \"unchanged\": 0\r\n    }\r\n}"}],"_postman_id":"effd4238-ed83-4990-8823-7711d7571e42"},{"name":"Removing Service Group User","id":"0d1464ba-f429-4e71-8ce2-5edc29b7d25f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.wcx.cloud/core/v1/queues/{{id}}/users/{{user_id}}","description":"<p>To remove a user from a Service Group, a <code>DELETE</code> method must be executed indicating the group ID and the user ID in the URL.</p>\n<p>Returns HTTP <code>204 No Content</code> if the operation was successful.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","queues","{{id}}","users","{{user_id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"c364eba0-015b-4f0f-947d-20567d4db0d3","name":"Removing Service Group User","originalRequest":{"method":"DELETE","header":[],"url":"https://api.wcx.cloud/core/v1/queues/53/users/10"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0d1464ba-f429-4e71-8ce2-5edc29b7d25f"},{"name":"Bulk Removing Service Group Users","id":"07d0027e-d489-43cc-a454-2e9f93adb3d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ids\": [10, 11, 12]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/queues/{{id}}/users","description":"<p>To remove multiple users from a Service Group in a single operation, a <code>DELETE</code> method must be executed indicating the group ID in the URL and sending the following object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ids</td>\n<td>numeric[]</td>\n<td><strong>yes</strong></td>\n<td>List of user IDs to remove from the group.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response:</strong> <code>{ \"data\": { \"removed\": N } }</code> — HTTP 200</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","queues","{{id}}","users"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"877e092c-e546-4f34-9606-0b824342fad5","name":"Bulk Removing Service Group Users","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ids\": [10, 11, 12]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/queues/53/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": {\r\n        \"removed\": 3\r\n    }\r\n}"}],"_postman_id":"07d0027e-d489-43cc-a454-2e9f93adb3d6"},{"name":"Fetching Open Business","id":"e2435e59-e9d2-48c8-b3e2-6a11b9dc7a40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/business_hours/is_open","description":"<p>To obtain an Open Business, a <code>GET</code> method must be executed. The <code>queue_id</code> parameter can be sent as optional.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","business_hours","is_open"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"3426483a-4157-44e4-a270-a48d25768db1","name":"Obtención de Negocio Abierto","originalRequest":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/business_hours/is_open"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"True\"\n}"}],"_postman_id":"e2435e59-e9d2-48c8-b3e2-6a11b9dc7a40"}],"id":"2796c788-444d-403d-a630-23a2a3abeccf","description":"<p>The endpoint <code>queues</code> allows obtaining, creating and managing WiseCX Service Groups.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"286fa6e5-12fe-4655-87ca-f3e608ca362d"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"ba4580bb-092d-48ca-acf8-2a5b3f98c6cb"}}],"_postman_id":"2796c788-444d-403d-a630-23a2a3abeccf","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Users","item":[{"name":"Fetching Users","id":"7910504c-d7b6-418a-83b8-13bfa4cf8e6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/users","description":"<p>To retrieve the list of Users, make a <code>GET</code> request indicating the required fields via the <code>fields</code> parameter. The possible fields are:</p>\n<p><code>id,user_name,nick,first_name,last_name,is_bot,created_at,last_login,queues</code></p>\n<p>The <code>queues</code> field returns the list of Service Groups the user belongs to. Each object contains:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Service group id</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Service group name</td>\n</tr>\n<tr>\n<td>auto_assign</td>\n<td>Whether the user has auto-assignment enabled in that group</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","users"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"c92771e6-8d4b-4c81-b7fe-654ee9a219f5","name":"Fetching Users","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wcx.cloud/core/v1/users?fields=id,nick,first_name,last_name,user_name,queues,created_at,last_login","protocol":"https","host":["api","wcx","cloud"],"path":["core","v1","users"],"query":[{"key":"fields","value":"id,nick,first_name,last_name,user_name,queues,created_at,last_login"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 5846,\n            \"user_name\": \"webcentrix@hotmail.com\",\n            \"nick\": \"Web\",\n            \"first_name\": \"Web\",\n            \"last_name\": \"Centrix\",\n            \"is_bot\": false,\n            \"created_at\": \"2019-03-19 01:28:00\",\n            \"last_login\": \"2021-01-19 15:54:17\",\n            \"queues\": [\n                {\n                    \"id\": 159,\n                    \"name\": \"Support\",\n                    \"auto_assign\": true\n                },\n                {\n                    \"id\": 6059,\n                    \"name\": \"Sales\",\n                    \"auto_assign\": false\n                }\n            ]\n        },\n        {\n            \"id\": 5852,\n            \"user_name\": \"lukedemo\",\n            \"nick\": \"Luke\",\n            \"first_name\": \"Luke\",\n            \"last_name\": \"Skywalker\",\n            \"is_bot\": true,\n            \"created_at\": \"2019-07-24 01:28:00\",\n            \"last_login\": \"2021-01-19 15:54:17\",\n            \"queues\": [\n                {\n                    \"id\": 159,\n                    \"name\": \"Support\",\n                    \"auto_assign\": false\n                },\n                {\n                    \"id\": 6472,\n                    \"name\": \"Bots\",\n                    \"auto_assign\": true\n                },\n                {\n                    \"id\": 6690,\n                    \"name\": \"WhatsApp\",\n                    \"auto_assign\": true\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"7910504c-d7b6-418a-83b8-13bfa4cf8e6d"},{"name":"Get User by Id","id":"a86cbe1e-1d6d-4d9a-b92f-1f4b737d6898","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/users/{{id}}","description":"<p>To retrieve the details of a User, make a <code>GET</code> request with the user id in the URL.</p>\n<p>Returned fields: <code>id,user_name,nick,first_name,last_name,is_bot,created_at,last_login,queues</code></p>\n<p>The <code>queues</code> field returns the list of Service Groups the user belongs to, with <code>id</code>, <code>name</code> and <code>auto_assign</code> per group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","users","{{id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"fc7981e2-2189-4826-aadb-2f6d08f6f36a","name":"Get User by Id","originalRequest":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/users/5846"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": {\r\n        \"id\": 5846,\r\n        \"user_name\": \"agent@company.com\",\r\n        \"nick\": \"Agent\",\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\",\r\n        \"is_bot\": false,\r\n        \"created_at\": \"2019-03-19 01:28:00\",\r\n        \"last_login\": \"2021-01-19 15:54:17\",\r\n        \"queues\": [\r\n            { \"id\": 159, \"name\": \"Support\", \"auto_assign\": true },\r\n            { \"id\": 6059, \"name\": \"Sales\", \"auto_assign\": false }\r\n        ]\r\n    }\r\n}"}],"_postman_id":"a86cbe1e-1d6d-4d9a-b92f-1f4b737d6898"},{"name":"Create User","id":"15e2e744-c52c-47f8-8f9d-c3c6c5251033","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"user_name\": \"new.agent@company.com\",\r\n    \"nick\": \"New Agent\",\r\n    \"first_name\": \"New\",\r\n    \"last_name\": \"Agent\",\r\n    \"is_bot\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/users","description":"<h5 id=\"new-user\">New User</h5>\n<p>To create a new User, make a <code>POST</code> request with the following body:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>user_name</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Username (typically the email address)</td>\n</tr>\n<tr>\n<td>nick</td>\n<td>string</td>\n<td>no</td>\n<td>Short name or alias for the user</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td>no</td>\n<td>User's first name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td>no</td>\n<td>User's last name</td>\n</tr>\n<tr>\n<td>is_bot</td>\n<td>boolean</td>\n<td>no</td>\n<td>Whether the user is a bot. Defaults to <code>false</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","users"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"d460da18-a576-41e6-b833-e7bcdaf1c8fa","name":"Create User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"user_name\": \"new.agent@company.com\",\r\n    \"nick\": \"New Agent\",\r\n    \"first_name\": \"New\",\r\n    \"last_name\": \"Agent\",\r\n    \"is_bot\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": {\r\n        \"id\": 7890\r\n    }\r\n}"}],"_postman_id":"15e2e744-c52c-47f8-8f9d-c3c6c5251033"},{"name":"Assign Queues to User","id":"41e4511a-014a-45eb-a0c1-30f05500802c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"id\": 159,\r\n        \"auto_assign\": true\r\n    },\r\n    {\r\n        \"id\": 6059,\r\n        \"auto_assign\": false\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/users/{{id}}/queues","description":"<p>To assign Service Groups to a User, make a <code>PUT</code> request with the user id in the URL and a list of group objects:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>numeric</td>\n<td><strong>yes</strong></td>\n<td>Service group id</td>\n</tr>\n<tr>\n<td>auto_assign</td>\n<td>boolean</td>\n<td>no</td>\n<td>Whether the user has auto-assignment enabled in that group</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","users","{{id}}","queues"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"fa8bad67-a762-45ed-a15d-65773d7a3f07","name":"Assign Queues to User","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"id\": 159,\r\n        \"auto_assign\": true\r\n    },\r\n    {\r\n        \"id\": 6059,\r\n        \"auto_assign\": false\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/users/5846/queues"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": {\r\n        \"added\": 1,\r\n        \"updated\": 1,\r\n        \"unchanged\": 0\r\n    }\r\n}"}],"_postman_id":"41e4511a-014a-45eb-a0c1-30f05500802c"},{"name":"Remove Queues from User","id":"ed5b428c-8f2b-449b-ae92-d2785fd8befb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"queues_ids\": [159, 6059]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/users/{{id}}/queues","description":"<p>To remove Service Groups from a User, make a <code>DELETE</code> request with the user id in the URL and the following body:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>queues_ids</td>\n<td>numeric[]</td>\n<td><strong>yes</strong></td>\n<td>List of service group ids to unlink from the user</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","users","{{id}}","queues"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"61dc6223-1878-4a90-b04d-a4d08c9b34c4","name":"Remove Queues from User","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"queues_ids\": [159, 6059]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/users/5846/queues"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": {\r\n        \"removed\": 2\r\n    }\r\n}"}],"_postman_id":"ed5b428c-8f2b-449b-ae92-d2785fd8befb"}],"id":"5dc0956c-f576-4876-a7d1-1f996405f5f5","description":"<p>The <code>users</code> endpoint allows retrieving, creating and managing Users in Wise CX, including assigning and removing Service Groups.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"a4816388-3248-4085-a5d1-ce070c114aa3"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"913256f3-69a3-4fee-a277-2c4979f6e0f9"}}],"_postman_id":"5dc0956c-f576-4876-a7d1-1f996405f5f5","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Analytics","item":[{"name":"Initiating Report Download by ID","id":"ba1ce7c2-489f-4988-adbf-0c1e66ee5097","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"columns\": \"conv_created,group_id,user_id,status\",\n    \"group_by\": \"d\",\n    \"filter\": {\n        \"date_from\": \"2024-01-01\",\n        \"date_to\": \"2024-01-31\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/analytics/export/{{id}}","description":"<p>To export a list report, execute a POST method indicating the id of the report to download in the URL path.</p>\n<p><strong>NOTE:</strong> It is only possible to download 3 reports simultaneously.</p>\n<h4 id=\"optional-body-parameters\">Optional Body Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>columns</td>\n<td>string</td>\n<td>no</td>\n<td>Columns to include in the export. Accepted values: <code>all</code> or <code>only_visible</code>. If omitted, the columns configured in the report are used.</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>string</td>\n<td>no</td>\n<td>Time grouping for the report. Accepted values: <code>d</code> (day), <code>h</code> (hour), <code>m</code> (month). If omitted, the grouping configured in the report is used.</td>\n</tr>\n<tr>\n<td>filter</td>\n<td>object</td>\n<td>no</td>\n<td>Object to override the date range of the report. If provided, both <code>date_from</code> and <code>date_to</code> are required.</td>\n</tr>\n</tbody>\n</table>\n</div><p>The <code>filter</code> object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date_from</td>\n<td>string</td>\n<td>yes*</td>\n<td>Start date of the range. ISO 8601 format: <code>yyyy-MM-dd</code> or <code>yyyy-MM-ddTHH:mm:ss</code>. *Required when <code>filter</code> is provided.</td>\n</tr>\n<tr>\n<td>date_to</td>\n<td>string</td>\n<td>yes*</td>\n<td>End date of the range. ISO 8601 format: <code>yyyy-MM-dd</code> or <code>yyyy-MM-ddTHH:mm:ss</code>. *Required when <code>filter</code> is provided.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Validation rules for <code>filter</code>:</strong></p>\n<ul>\n<li>Both <code>date_from</code> and <code>date_to</code> must be provided together.</li>\n<li><code>date_to</code> must be greater than or equal to <code>date_from</code>.</li>\n<li>The date range cannot exceed 12 months.</li>\n</ul>\n<p>Use the returned export_id to check the export status via GET /v1/analytics/export/{export_id}/status.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","analytics","export","{{id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"5d0e13f8-a578-4a61-9ea0-f3becec4f782","name":"Iniciar Descarga de Reporte por id","originalRequest":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/analytics/export/6541"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"export_id\": \"5a97c4b0582d4076a5c4e2a4455666e9\",\n    \"status\": \"processing\",\n    \"progress\": 0,\n    \"report_url\": null\n}"}],"_postman_id":"ba1ce7c2-489f-4988-adbf-0c1e66ee5097"},{"name":"Fetching Download Status by export_id","id":"99e41ac5-cbaf-4e5d-9b64-55c0a89a425b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/analytics/export/{{export_id}}/status","description":"<p>To check the status of an export, execute a GET method indicating the export_id returned by the POST /v1/analytics/export/{id} endpoint.</p>\n<h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>export_id</td>\n<td>Unique identifier of the export</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Export status: pending, processing, completed, error</td>\n</tr>\n<tr>\n<td>progress</td>\n<td>Completion percentage (0-100)</td>\n</tr>\n<tr>\n<td>report_url</td>\n<td>Download URL of the file. Available when status = completed</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","analytics","export","{{export_id}}","status"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"5d7c5136-b4a1-46c5-ba81-c980c86abead","name":"Obtener estado de descarga por export_id","originalRequest":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/analytics/export/5a97c4b0582d4076a5c4e2a4455666e9/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"export_id\": \"5a97c4b0582d4076a5c4e2a4455666e9\",\n    \"status\": \"completed\",\n    \"progress\": 100,\n    \"report_url\": \"https://wc-exported-files.s3-sa-east-1.amazonaws.com/54af35/2021-05/5a97c4b0582d4076a5c4e2a4455666e9.csv\"\n}"}],"_postman_id":"99e41ac5-cbaf-4e5d-9b64-55c0a89a425b"}],"id":"e8d5d6cf-452f-4023-830a-09657f83bfd2","description":"<p>Endpoint <code>analytics</code> allows you to start and check the status of a report downloading.</p>\n<p>Only reports of the list type are allowed to be downloaded. Dashboards Downloading is not allowed.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"217150b5-6c3f-44bb-9e2e-07bc5ad7e727"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"981f88c9-48c7-4593-8fbc-4d60419cf1aa"}}],"_postman_id":"e8d5d6cf-452f-4023-830a-09657f83bfd2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Surveys","item":[{"name":"Fetching Surveys","id":"dc7b8d8c-4b00-4a35-a5e8-a9207a83c283","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/surveys","description":"<p>To obtain a list of surveys you must perform a <code>GET</code> method.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","surveys"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"62d6db22-2b63-460d-94ab-e26ffabfe815","name":"Obtención de Encuestas","originalRequest":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/surveys"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n  {\n    \"id\": 1,\n    \"guid\": \"483605dfc6744192b4ff548c66c349ad\",\n    \"name\": \"Encuesta Teléfono\",\n    \"title\": \"Encuesta de Atención Telefónica\",\n    \"description\": \"Encuesta para evaluar la calidad del servicio telefónico\",\n    \"color\": \"#FFF\",\n    \"logo_url\": \"https://midominio.com/logos/telefono.png\",\n    \"language\": \"es\",\n    \"completion\": {\n      \"description\": null,\n      \"submit_button_label\": \"Completar Encuesta\",\n      \"completion_message\": \"Gracias por tu tiempo\"\n    },\n    \"active\": true\n  },\n  {\n    \"id\": 5,\n    \"guid\": \"2e05630e61ff426fb7bae62610ff1f62\",\n    \"name\": \"Encuesta Sistemas\",\n    \"title\": \"Encuesta de Soporte Técnico\",\n    \"description\": \"Evaluación del área de sistemas\",\n    \"color\": \"#E0E0E0\",\n    \"logo_url\": \"https://midominio.com/logos/sistemas.png\",\n    \"language\": \"es\",\n    \"completion\": {\n      \"description\": \"Tu opinión nos ayuda a mejorar\",\n      \"submit_button_label\": \"Enviar Respuestas\",\n      \"completion_message\": \"¡Encuesta enviada correctamente!\"\n    },\n    \"active\": true\n  },\n  {\n    \"id\": 198,\n    \"guid\": \"cf4fe81078424c49a2e79b65d12yjids\",\n    \"name\": \"Encuesta nps5\",\n    \"title\": \"Encuesta NPS\",\n    \"description\": null,\n    \"color\": \"#000000\",\n    \"logo_url\": \"https://midominio.com/logos/nps.png\",\n    \"language\": \"es\",\n    \"completion\": {\n      \"description\": null,\n      \"submit_button_label\": \"Finalizar\",\n      \"completion_message\": \"Gracias por responder nuestra encuesta\"\n    },\n    \"active\": false\n  }\n]"}],"_postman_id":"dc7b8d8c-4b00-4a35-a5e8-a9207a83c283"},{"name":"Fetching Surveys Questions","id":"746eb560-3b1d-47c9-8146-acafe768627c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/surveys/{id}/questions","description":"<p>To obtain a list of the questions in a survey, you must perform a <code>GET</code> request providing the survey <code>id</code>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","surveys","{id}","questions"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"eaaa7d83-5ee2-40f4-b44e-8cafac84714e","name":"Fetching Surveys Questions","originalRequest":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/surveys/{id}/questions"},"_postman_previewlanguage":"Text","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"id\": \"0050db233d7e4e62a91b85846a18e46f\",\r\n            \"label\": \"En una escala del 1 al 10, ¿qué tan probable es que nos recomiende a un colega o amigo? (NPS 10, requerido)\",\r\n            \"type\": \"nps10\",\r\n            \"required\": true,\r\n            \"is_primary\": false,\r\n            \"position\": 1,\r\n            \"page\": 1,\r\n            \"nps_labels\": {\r\n                \"min\": \"Nada probable\",\r\n                \"max\": \"Muy probable\"\r\n            },\r\n            \"options\": []\r\n        },\r\n        {\r\n            \"id\": \"84fbddf4cae44c219f76483147974dd8\",\r\n            \"label\": \"¿Hemos resuelto su consulta?\",\r\n            \"type\": \"boolean\",\r\n            \"required\": true,\r\n            \"is_primary\": false,\r\n            \"position\": 2,\r\n            \"page\": 1,\r\n            \"nps_labels\": {\r\n                \"min\": \"\",\r\n                \"max\": \"\"\r\n            },\r\n            \"options\": []\r\n        },\r\n        {\r\n            \"id\": \"48f623c2c8eb429a9836f9250eb791e8\",\r\n            \"label\": \"Déjenos un comentario…\",\r\n            \"type\": \"comment\",\r\n            \"required\": false,\r\n            \"is_primary\": false,\r\n            \"position\": 3,\r\n            \"page\": 1,\r\n            \"nps_labels\": {\r\n                \"min\": \"\",\r\n                \"max\": \"\"\r\n            },\r\n            \"options\": []\r\n        },\r\n        {\r\n            \"id\": \"c4ed30764774455e9792afee8d0af463\",\r\n            \"label\": \"Déjenos un comentario…\",\r\n            \"type\": \"checkboxes\",\r\n            \"required\": false,\r\n            \"is_primary\": false,\r\n            \"position\": 4,\r\n            \"page\": 1,\r\n            \"nps_labels\": {\r\n                \"min\": \"\",\r\n                \"max\": \"\"\r\n            },\r\n            \"options\": [\r\n                {\r\n                    \"id\": \"2c510a03bbe149198054f1e033321b63\",\r\n                    \"label\": \"Opción 1\",\r\n                    \"value\": \"Opción 1\"\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"id\": \"d834069213624b4787653a1403737331\",\r\n            \"label\": \"Déjenos un comentario…\",\r\n            \"type\": \"optionbutton\",\r\n            \"required\": false,\r\n            \"is_primary\": false,\r\n            \"position\": 5,\r\n            \"page\": 1,\r\n            \"nps_labels\": {\r\n                \"min\": \"\",\r\n                \"max\": \"\"\r\n            },\r\n            \"options\": [\r\n                {\r\n                    \"id\": \"905b2040eaf54338a96283f37adcddfa\",\r\n                    \"label\": \"Opción 1\",\r\n                    \"value\": \"Opción 1\"\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"paging\": {\r\n        \"next\": \"\",\r\n        \"page\": 1,\r\n        \"limit\": 100\r\n    }\r\n}"}],"_postman_id":"746eb560-3b1d-47c9-8146-acafe768627c"},{"name":"Fetching Surveys Responses","id":"56e5a60a-7b02-4716-aaee-8ac2cd8d8a41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/surveys/{id}/responses?limit=100&page=80","description":"<p>To obtain a list of survey responses, a <code>GET</code> method must be executed indicating the ID of the survey. The <code>limit</code> parameter can be sent as optional to determine the number of items per <code>page</code> and the page parameter for the positioned page.</p>\n<h4 id=\"filter\">FILTER</h4>\n<p><strong>ALLOWED OPERATORS</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Operators</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>IN, NOT IN, EQUALS, NOT EQUAL</td>\n</tr>\n<tr>\n<td>responded_since, responded_until, sent_since, sent_until</td>\n<td>IN, NOT IN, EQUALS, NOT EQUAL, GREATER, LOWER, GREATER EQUAL, LOWER EQUAL</td>\n</tr>\n</tbody>\n</table>\n</div><p>To see more examples, check <a href=\"#filters\">Filtros.</a></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","surveys","{id}","responses"],"host":["api","wcx","cloud"],"query":[{"key":"limit","value":"100"},{"key":"page","value":"80"}],"variable":[]}},"response":[{"id":"c82bbc7c-123b-461a-bbc2-adae256207cf","name":"Obtención de Respuestas de Encuestas","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wcx.cloud/core/v1/surveys/{id}/responses?&limit=2&page=20","protocol":"https","host":["api","wcx","cloud"],"path":["core","v1","surveys","{id}","responses"],"query":[{"key":null,"value":null},{"key":"limit","value":"2"},{"key":"page","value":"20"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"response_id\": 525,\n            \"survey_id\": 4,\n            \"case_id\": 57394656,\n            \"status\": \"not_responded\",\n            \"answers\": [],\n            \"contact_id\": 6541872,\n            \"sent_at\": \"2021-11-04T12:30:00Z\",\n            \"responded_at\": \"1900-01-01T00:00:00\"\n        },\n        {\n            \"response_id\": 189,\n            \"survey_id\": 4,\n            \"case_id\": 52534635,\n            \"status\": \"responded\",\n            \"answers\": [\n                    { \"question_id\": \"a2cde820cfec11e3b3be7d1907d92b49\", \"question_type\": \"rating\", \"value\": 8 },\n                    { \"question_id\": \"a2cde820cfec11e8b3be7d1907d92b49\", \"question_type\": \"rating\", \"value\": 3 },\n                    { \"question_id\": \"a2cf4c7bcfec11e3b38e7d1907d92b49\", \"question_type\": \"boolean\", \"value\": false }\n            ],\n            \"contact_id\": 6523860,\n            \"sent_at\": \"2021-11-04T12:30:00Z\",\n            \"responded_at\": \"2021-11-04T12:33:37\"\n        }\n    ],\n    \"paging\": {\n        \"next\": \"https://api.wcx.cloud/core/v1/surveys/4/responses?limit=2&page=21\",\n        \"page\": 3,\n        \"limit\": 2\n    }\n}"}],"_postman_id":"56e5a60a-7b02-4716-aaee-8ac2cd8d8a41"}],"id":"71062138-068f-40e9-8217-21e02b2781c8","description":"<p>The endpoint <code>surveys</code> allows you to obtain lists and results of surveys.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"32c28206-cc3a-425f-8c70-629ff3669566"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"c431bc36-2ae4-4204-b34e-bec7a3711f8c"}}],"_postman_id":"71062138-068f-40e9-8217-21e02b2781c8","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Assistants","item":[{"name":"Execution of Intents","id":"5f787787-7a04-4056-b448-3663488239a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"\r\n{ \r\n  \"case_id\":107821,\r\n  \"context\": [\r\n      \"key1:value1\",\r\n      \"key2:value2\"]   \r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/assistans/node/{Id}/execute","description":"<p>To asynchronously execute an intention of a previously configured flow of the wizard, a <code>POST</code> method must be performed indicating the <code>id</code> of the intention. In the body, the <code>context</code> parameter is optional.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","assistans","node","{Id}","execute"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"68a79b94-e45a-484f-a5a1-c8ccb5f11676","name":"Execution of Intents","originalRequest":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/assistans/node/420/execute"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"message\": \"OK\"\n}"}],"_postman_id":"5f787787-7a04-4056-b448-3663488239a2"},{"name":"Node Execution by Name","id":"913b6588-46ae-4fc6-b44e-4e109b9f08a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"case_id\": 107821,\n    \"context\": [\n        \"key1:value1\",\n        \"key2:value2\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/assistans/{assistantID}/{nodeName}/execute","description":"<p>To asynchronously execute a Node of a previously configured assistant flow, send a <code>POST</code> indicating the <code>assistantID</code> (the GUID of the assistant, available in the URL of the specific assistant inside the builder) and the short name of the node (<code>nodeName</code>).</p>\n<p>In the body, the <code>context</code> parameter is optional.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","assistans","{assistantID}","{nodeName}","execute"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[],"_postman_id":"913b6588-46ae-4fc6-b44e-4e109b9f08a5"}],"id":"5af4e1b6-9104-458e-ae78-01166194cd94","description":"<p>The endpoint <code>assistants</code> allows you to asynchronously execute an intent from a previously configured assistant's flow.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"d56177fb-c853-4861-8044-e99499414343"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"aea63c65-2a07-460a-8f30-d27a63dc3a77"}}],"_postman_id":"5af4e1b6-9104-458e-ae78-01166194cd94","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Orders","item":[{"name":"Order Creation","id":"9f7f1b0a-1354-42d5-9034-9877fc95ba63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ecommerce_store_id\": \"store-08wc10clz4\",\r\n    \"ecommerce_platform\": \"custom\",\r\n    \"ecommerce_order_id\": \"123a456b\",\r\n    \"status\": \"cancelled\",\r\n    \"reject_reason\":\"Tarjeta sin fondos\",\r\n    \"total_amount\": 466.50,\r\n    \"sales_recovery\": true,\r\n    \"customer\":{\r\n        \"name\": \"test\",\r\n        \"email\": \"test@gmail.com\",\r\n        \"phone\": \"1234512345\",\r\n        \"personal_id\": \"123123\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/orders","description":"<h5 id=\"new-order\">New Order</h5>\n<p>To create a new order, you need to make aEndFragment <code>POST</code>with the following object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ecommerce_store_id</td>\n<td>string</td>\n<td>yes</td>\n<td>Store's ID provided by the ecommerce platform.</td>\n</tr>\n<tr>\n<td>ecommerce_platform</td>\n<td>string</td>\n<td>yes</td>\n<td>Origin platform of the order. It can be Vtex, Shopify, WooCommerce, Phoenician, or custom</td>\n</tr>\n<tr>\n<td>ecommerce_order_id</td>\n<td>string</td>\n<td>yes</td>\n<td>Order ID provided by the ecommerce platform.</td>\n</tr>\n<tr>\n<td>reject_reason</td>\n<td>string</td>\n<td>no</td>\n<td>Reason for order cancellation.</td>\n</tr>\n<tr>\n<td>total_amount</td>\n<td>numeric</td>\n<td>yes</td>\n<td>Total amount of the order.</td>\n</tr>\n<tr>\n<td>sales_recovery</td>\n<td>boolean</td>\n<td><strong>no</strong>*</td>\n<td>Mark the order as recoverable.  <br />*Allows creating a WhatsApp case with the buyer to recover a 'failed' order.</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>customer</td>\n<td>yes</td>\n<td>Buyer's info</td>\n</tr>\n</tbody>\n</table>\n</div><p>Customer Object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>yes</td>\n<td>Buyer's name.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td><strong>si</strong></td>\n<td>Buyer's Email address.</td>\n</tr>\n<tr>\n<td>personal_id</td>\n<td>string</td>\n<td>no</td>\n<td>Buyer's personal ID (DNI, CUIT...)</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td><strong>no</strong>*</td>\n<td>Buyer's phone number. *If sales_recovery = true, we will be able to create a WhatsApp case only if the phone number is included; otherwise, the case will be from web origin.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","orders"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"f1d27bd3-db39-4ba7-bb56-4c8cde289588","name":"Order Creation","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ecommerce_store_id\": \"store-08wc10clz4\",\r\n    \"ecommerce_platform\": \"custom\",\r\n    \"ecommerce_order_id\": \"123a456b\",\r\n    \"status\": \"cancelled\",\r\n    \"reject_reason\":\"Tarjeta sin fondos\",\r\n    \"total_amount\": 466.50,\r\n    \"sales_recovery\": true,\r\n    \"customer\":{\r\n        \"name\": \"test\",\r\n        \"email\": \"test@gmail.com\",\r\n        \"phone\": \"1234512345\",\r\n        \"personal_id\": \"123123\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 7387492,\n    \"message\": \"{\\\"id\\\":7387492}\"\n}"}],"_postman_id":"9f7f1b0a-1354-42d5-9034-9877fc95ba63"},{"name":"Order updated by ID","id":"3af4af9c-173e-448b-ab7f-6f20a5955561","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"\r\n{\r\n    \"reject_reason\":\"Sin Stock\",\r\n    \"sales_recovery\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/orders/{{id}}","description":"<h5 id=\"order-updating\">Order Updating</h5>\n<p>To update an order, a <code>PUT</code> method must be executed with the next object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ecommerce_store_id</td>\n<td>string</td>\n<td>no</td>\n<td>Store's ID given by the ecommerce.</td>\n</tr>\n<tr>\n<td>ecommerce_platform</td>\n<td>string</td>\n<td>no</td>\n<td>Origin platform of the order. It can be Vtex, Shopify, WooCommerce, Phoenician, or custom.</td>\n</tr>\n<tr>\n<td>ecommerce_order_id</td>\n<td>string</td>\n<td>no</td>\n<td>Order ID provided by the ecommerce platform.</td>\n</tr>\n<tr>\n<td>reject_reason</td>\n<td>string</td>\n<td>no</td>\n<td>Reason for the cancellation of the order.</td>\n</tr>\n<tr>\n<td>total_amount</td>\n<td>numeric</td>\n<td>no</td>\n<td>Total amount of the order.</td>\n</tr>\n<tr>\n<td>sales_recovery</td>\n<td>boolean</td>\n<td><strong>no</strong>*</td>\n<td>Mark the order as recoverable.  <br />*Allows creating a WhatsApp case with the buyer to recover a 'failed' order.</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>customer</td>\n<td>no</td>\n<td>Buyer's info</td>\n</tr>\n</tbody>\n</table>\n</div><p>Customer Object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><strong>no</strong></td>\n<td>Buyer's name.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td><strong>no</strong></td>\n<td>Buye's Email address.</td>\n</tr>\n<tr>\n<td>personal_id</td>\n<td>string</td>\n<td><strong>no</strong></td>\n<td>Buyer's personal ID (DNI, CUIT...)</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td><strong>no</strong>*</td>\n<td>Buyer's phone number. *If sales_recovery = true, we will be able to create a WhatsApp case only if the phone number is included; otherwise, the case will be from web origin.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","orders","{{id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"fae6fabb-82e2-4723-955a-65fee4582df4","name":"Order updating by ID","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"reject_reason\":\"Sin Stock\",\r\n    \"sales_recovery\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/orders/{{id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 7387474,\n    \"message\": \"{\\\"id\\\":7387474}\"\n}"}],"_postman_id":"3af4af9c-173e-448b-ab7f-6f20a5955561"},{"name":"Orders Retrieval","id":"e4fccf20-da15-47b1-ab35-b0829af3d7ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/orders","description":"<p>To obtain the list of orders, you need to perform a <code>GET</code> request and specify the desired fields using the <code>fields</code> parameter.</p>\n<p>Possible fields are:</p>\n<p><code>id,ecommerce_store_id,ecommerce_platform,ecommerce_order_id,status,reject_reason,total_amount,sales_recovery,customer,created_at,updated_at,order_data</code></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>WiseCX order ID</td>\n</tr>\n<tr>\n<td>ecommerce_store_id</td>\n<td>Store ID from the ecommerce platform</td>\n</tr>\n<tr>\n<td>ecommerce_platform</td>\n<td>Ecommerce platform (vtex, shopify, woocommerce, fenicio, custom)</td>\n</tr>\n<tr>\n<td>ecommerce_order_id</td>\n<td>External ecommerce order ID</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Order status</td>\n</tr>\n<tr>\n<td>reject_reason</td>\n<td>Rejection/cancellation reason</td>\n</tr>\n<tr>\n<td>total_amount</td>\n<td>Order total amount</td>\n</tr>\n<tr>\n<td>sales_recovery</td>\n<td>Indicates if the order is marked for recovery</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>Buyer data (<code>name</code>, <code>email</code>, <code>phone</code>, <code>personal_id</code>)</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Creation date of the order</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Last update date of the order</td>\n</tr>\n<tr>\n<td>order_data</td>\n<td>Raw order payload data</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filter\">FILTER</h4>\n<p><strong>ALLOWED OPERATORS</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Operators</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ecommerce_store_id</td>\n<td>IN, EQUAL</td>\n</tr>\n<tr>\n<td>status</td>\n<td>IN, NOT IN, EQUAL, NOT EQUAL, CONTAINS</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>GREATER EQUAL, LOWER EQUAL, GREATER, LOWER, EQUAL</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>GREATER EQUAL, LOWER EQUAL, GREATER, LOWER, EQUAL</td>\n</tr>\n</tbody>\n</table>\n</div><p>To see examples, check <a href=\"#filters\">Filters.</a></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","orders"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"b7220aff-0d99-449a-870d-d07f63696cbc","name":"Orders Retrieval","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wcx.cloud/core/v1/orders?fields=id,status,customer,created_at","protocol":"https","host":["api","wcx","cloud"],"path":["core","v1","orders"],"query":[{"key":"fields","value":"id,status,customer,created_at"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1001,\n        \"status\": \"pending\",\n        \"customer\": {\n            \"name\": \"John Doe\",\n            \"email\": \"johndoe@example.com\",\n            \"phone\": \"+1234567890\",\n            \"personal_id\": \"12345678\"\n        },\n        \"created_at\": \"2024-03-15 10:30:00\"\n    },\n    {\n        \"id\": 1002,\n        \"status\": \"confirmed\",\n        \"customer\": {\n            \"name\": \"Jane Smith\",\n            \"email\": \"janesmith@example.com\",\n            \"phone\": \"+0987654321\",\n            \"personal_id\": \"87654321\"\n        },\n        \"created_at\": \"2024-03-14 08:15:00\"\n    }\n]"}],"_postman_id":"e4fccf20-da15-47b1-ab35-b0829af3d7ae"}],"id":"88db1c29-4da9-4e70-893c-812b4f21b694","description":"<p>The <code>orders</code> endpoint allows creating, updating, and retrieving ecommerce orders such as Vtex, Shopify, WooCommerce, Phoenician, and Custom (any ecommerce integrated with Wise through the 'Custom e-com' channel).</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"6178cb00-225f-40ce-b10a-1f85df485c35"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"05977f31-ea2d-4798-9100-42e5f7322f7e"}}],"_postman_id":"88db1c29-4da9-4e70-893c-812b4f21b694","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Mercado Libre","item":[{"name":"Get Order by id","id":"70e89e51-550e-45ef-bcc8-3210c25c8549","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/meli/orders/{{id}}","description":"<p>To obtain the Mercado Libre's Order detail, a <code>GET</code> method must be made indicating the wisecx_order_id.</p>\n<p>The JSON response indicates in the <code>order_data</code> field all the information obtained from Mercado Libre.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","meli","orders","{{id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"e3b44bab-14c5-4dcb-976c-4a8e500cc2a5","name":"Get Order by id","originalRequest":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/meli/orders/12990000"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 12990000,\n    \"meli_order_id\": \"200000111111450\",\n    \"product_id\": \"MLA111231321\",\n    \"pack_id\": \"200000111111450\",\n    \"buyer_id\": \"1368454654\",\n    \"order_data\": {},\n    \"created_at\": \"2023-11-01 14:48:03\"\n}"}],"_postman_id":"70e89e51-550e-45ef-bcc8-3210c25c8549"}],"id":"9209fdd6-294e-4992-ae19-52c8902e7b46","_postman_id":"9209fdd6-294e-4992-ae19-52c8902e7b46","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"WhatsApp Templates","item":[{"name":"Fetching Whatsapp Templates","id":"fa342a4f-717b-4b55-90b9-f56c127da4b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/whatsapp_templates","description":"<p>To obtain the list of Templates, a <code>GET</code> method must be sent indicating the <code>fields</code> that are required through the fields parameter. The possible fields are:</p>\n<p><code>template_id,content,name,whatsapp_number,whatsapp_description</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","whatsapp_templates"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"dbb19776-9dc4-423c-a939-008849f5361c","name":"Obtención de Templates","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wcx.cloud/core/v1/whatsapp_templates?fields=template_id,content,name,whatsapp_number,whatsapp_description","protocol":"https","host":["api","wcx","cloud"],"path":["core","v1","whatsapp_templates"],"query":[{"key":"fields","value":"template_id,content,name,whatsapp_number,whatsapp_description"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"template_id\": 1,\r\n            \"name\": \"Cita\",\r\n            \"content\": \"Your appointment is coming up on {{1}} at {{2}}\",\r\n            \"whatsapp_number\": \"5493514544\",\r\n            \"whatsapp_description\": \"Consultas\"\r\n        },\r\n        {\r\n            \"template_id\": 2,\r\n            \"name\": \"Orden\",\r\n            \"content\": \"Your {{1}} order of {{2}} has shipped and should be delivered on {{3}}. Details: {{4}}\",\r\n            \"whatsapp_number\": \"5493514544\",\r\n            \"whatsapp_description\": \"Ventas\"\r\n        },\r\n        {\r\n            \"template_id\": 7,\r\n            \"name\": \"inicio_gestion\",\r\n            \"content\": \"WebCentrix le envía el siguiente mensaje para que pueda iniciar su gestión, por favor envié respuesta para iniciar el contacto.\",\r\n            \"whatsapp_number\": \"54911564654\",\r\n            \"whatsapp_description\": \"WebCentrix\"\r\n        },\r\n        {\r\n            \"template_id\": 8,\r\n            \"name\": \"pago_reserva\",\r\n            \"content\": \"Para realizar el pago de su reserva código ${codigo_reserva} con destino a ${nombre_destino}, por favor responda sobre este canal con la palabra PAGO\",\r\n            \"whatsapp_number\": \"54911564654\",\r\n            \"whatsapp_description\": \"WebCentrix\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"fa342a4f-717b-4b55-90b9-f56c127da4b7"},{"name":"Fetching Whatsapp Template by ID","id":"138f09d0-0c59-433e-bca2-69b30a91ea7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/whatsapp_templates/{{id}}","description":"<p>Returns the detail of a WhatsApp template.</p>\n<p>Default fields: <code>template_id,name,code,status,language,category,content,whatsapp_number,whatsapp_description</code>.\nA subset can be requested with the <code>fields</code> query parameter.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>template_id</td>\n<td>numeric</td>\n<td>Internal ID of the template</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Gupshup element name / template identifier (<code>[a-z0-9_]</code>)</td>\n</tr>\n<tr>\n<td>code</td>\n<td>string</td>\n<td>Visible name / label of the template</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td><code>approved</code>, <code>rejected</code>, <code>submitted</code>, <code>disabled</code>, <code>deleted</code>, <code>paused</code>, <code>failed</code>, <code>deactivated</code>, <code>appealed</code>, <code>draft</code></td>\n</tr>\n<tr>\n<td>language</td>\n<td>string</td>\n<td>Language code (e.g. <code>es</code>, <code>en_US</code>)</td>\n</tr>\n<tr>\n<td>category</td>\n<td>string</td>\n<td><code>MARKETING</code> | <code>UTILITY</code> | <code>AUTHENTICATION</code></td>\n</tr>\n<tr>\n<td>content</td>\n<td>string</td>\n<td>Template body (with variables <code>{{1}}</code>, <code>{{2}}</code>, …)</td>\n</tr>\n<tr>\n<td>whatsapp_number</td>\n<td>string</td>\n<td>Associated WhatsApp number</td>\n</tr>\n<tr>\n<td>whatsapp_description</td>\n<td>string</td>\n<td>Description / name of the WhatsApp number</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","whatsapp_templates","{{id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"af36ff04-05a1-43a7-ad9b-288b42512682","name":"Fetching Whatsapp Template by ID","originalRequest":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/whatsapp_templates/40231"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"template_id\": 40231,\n        \"name\": \"order_shipped\",\n        \"code\": \"Order shipped\",\n        \"status\": \"approved\",\n        \"language\": \"en_US\",\n        \"category\": \"UTILITY\",\n        \"content\": \"Hi {{1}}, your order {{2}} has shipped and will arrive on {{3}}.\",\n        \"whatsapp_number\": \"5491100000000\",\n        \"whatsapp_description\": \"Sales\"\n    }\n}"}],"_postman_id":"138f09d0-0c59-433e-bca2-69b30a91ea7c"},{"name":"Whatsapp Template Creation","id":"e8f2a64d-30a6-4428-a0cd-206d27ef9c41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"order_shipped\",\n    \"code\": \"Order shipped\",\n    \"language\": \"en_US\",\n    \"category\": \"utility\",\n    \"text\": \"Hi {{1}}, your order {{2}} has shipped and will arrive on {{3}}.\",\n    \"number_id\": 15,\n    \"example_text\": \"Hi John, your order A-123 has shipped and will arrive on 2026-08-05.\",\n    \"active\": true,\n    \"variables\": [\n        { \"position\": 1, \"name\": \"customer_name\", \"text\": \"John\" },\n        { \"position\": 2, \"name\": \"order_code\", \"text\": \"A-123\" },\n        { \"position\": 3, \"name\": \"delivery_date\", \"text\": \"2026-08-05\" }\n    ],\n    \"buttons\": {\n        \"call_to_action\": [\n            { \"button_type\": \"url_dynamic\", \"text\": \"Track order\", \"value\": \"https://example.com/track/\" }\n        ],\n        \"example_dynamic_url\": \"A-123\"\n    },\n    \"quick_replies\": [\n        { \"text\": \"Thanks\" }\n    ],\n    \"multimedia\": {\n        \"type\": \"text\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/whatsapp_templates","description":"<p>Creates a WhatsApp template <strong>and</strong> submits it to Gupshup for review in a single call. If Gupshup accepts it, the\ntemplate ends up in <code>status = submitted</code>.</p>\n<h4 id=\"body\">Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Gupshup element name / identifier. Only lowercase letters, numbers and underscores (<code>[a-z0-9_]</code>), no spaces.</td>\n</tr>\n<tr>\n<td>code</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Visible name / label of the template (max 50)</td>\n</tr>\n<tr>\n<td>language</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Language code (e.g. <code>es</code>, <code>en_US</code>)</td>\n</tr>\n<tr>\n<td>category</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td><code>marketing</code> | <code>utility</code> | <code>authentication</code></td>\n</tr>\n<tr>\n<td>text</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Template body. Variables <code>{{1}}</code>, <code>{{2}}</code>, … It cannot start or end with a variable, and variables cannot be repeated.</td>\n</tr>\n<tr>\n<td>number_id</td>\n<td>numeric</td>\n<td><strong>yes</strong></td>\n<td>ID of the account WhatsApp number</td>\n</tr>\n<tr>\n<td>example_text</td>\n<td>string</td>\n<td>no</td>\n<td>Sample text sent to Gupshup for the review</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td>no</td>\n<td>Default <code>true</code></td>\n</tr>\n<tr>\n<td>variables</td>\n<td>array</td>\n<td>no</td>\n<td><code>[{ \"position\": 1, \"name\": \"customer_name\", \"text\": \"John\" }]</code></td>\n</tr>\n<tr>\n<td>buttons</td>\n<td>object</td>\n<td>no</td>\n<td><code>{ \"call_to_action\": [...], \"example_dynamic_url\": \"...\" }</code> — see below</td>\n</tr>\n<tr>\n<td>quick_replies</td>\n<td>array</td>\n<td>no</td>\n<td><code>[{ \"text\": \"Yes\" }, { \"text\": \"No\" }]</code></td>\n</tr>\n<tr>\n<td>multimedia</td>\n<td>object</td>\n<td>no</td>\n<td>Multimedia header — see below</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"buttonscall_to_action\">buttons.call_to_action[]</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>button_type</td>\n<td>string</td>\n<td><code>phone_number</code> | <code>url_static</code> | <code>url_dynamic</code></td>\n</tr>\n<tr>\n<td>text</td>\n<td>string</td>\n<td>Visible text of the button</td>\n</tr>\n<tr>\n<td>value</td>\n<td>string</td>\n<td>Phone (<code>phone_number</code>) or base URL (<code>url_static</code> / <code>url_dynamic</code>). For <code>url_dynamic</code>, <code>{{1}}</code> is appended automatically.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>For <code>url_dynamic</code>, <code>buttons.example_dynamic_url</code> is used as the sample value of the variable.</p>\n</blockquote>\n<h5 id=\"multimedia\">multimedia</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>string</td>\n<td><code>text</code> (default) | <code>image</code> | <code>video</code> | <code>document</code></td>\n</tr>\n<tr>\n<td>url</td>\n<td>string</td>\n<td>File URL</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>File name</td>\n</tr>\n<tr>\n<td>origin_code</td>\n<td>string</td>\n<td>Gupshup <code>handleId</code>. <strong>Required</strong> for <code>image</code>/<code>video</code>/<code>document</code>; it must be obtained beforehand by uploading the file (the public media upload endpoint is not exposed in this version).</td>\n</tr>\n</tbody>\n</table>\n</div><p>The created template is returned with the same shape as <code>GET /v1/whatsapp_templates/{id}</code>.</p>\n<h4 id=\"errors-http-400\">Errors (HTTP 400)</h4>\n<p><code>name is required</code>, <code>name must contain only lowercase letters, numbers and underscores</code>, <code>code is required</code>,\n<code>language is required</code>, <code>category is invalid. Valid values: marketing, utility, authentication</code>, <code>text is required</code>,\n<code>number_id is required</code>, <code>number_id not found for this account</code>, plus any error propagated by Gupshup when the\ntemplate is submitted for review.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","whatsapp_templates"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"ff236b40-81db-4870-bb0f-f6ea973f196a","name":"Whatsapp Template Creation","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"order_shipped\",\n    \"code\": \"Order shipped\",\n    \"language\": \"en_US\",\n    \"category\": \"utility\",\n    \"text\": \"Hi {{1}}, your order {{2}} has shipped and will arrive on {{3}}.\",\n    \"number_id\": 15,\n    \"example_text\": \"Hi John, your order A-123 has shipped and will arrive on 2026-08-05.\",\n    \"active\": true,\n    \"variables\": [\n        { \"position\": 1, \"name\": \"customer_name\", \"text\": \"John\" },\n        { \"position\": 2, \"name\": \"order_code\", \"text\": \"A-123\" },\n        { \"position\": 3, \"name\": \"delivery_date\", \"text\": \"2026-08-05\" }\n    ],\n    \"buttons\": {\n        \"call_to_action\": [\n            { \"button_type\": \"url_dynamic\", \"text\": \"Track order\", \"value\": \"https://example.com/track/\" }\n        ],\n        \"example_dynamic_url\": \"A-123\"\n    },\n    \"quick_replies\": [\n        { \"text\": \"Thanks\" }\n    ],\n    \"multimedia\": {\n        \"type\": \"text\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/whatsapp_templates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"template_id\": 40231,\n        \"name\": \"order_shipped\",\n        \"code\": \"Order shipped\",\n        \"status\": \"submitted\",\n        \"language\": \"en_US\",\n        \"category\": \"UTILITY\",\n        \"content\": \"Hi {{1}}, your order {{2}} has shipped and will arrive on {{3}}.\",\n        \"whatsapp_number\": \"5491100000000\",\n        \"whatsapp_description\": \"Sales\"\n    }\n}"}],"_postman_id":"e8f2a64d-30a6-4428-a0cd-206d27ef9c41"},{"name":"Whatsapp Template Update by ID","id":"1cdb5e6a-bb92-445e-9225-bbade22121a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"order_shipped\",\n    \"code\": \"Order shipped\",\n    \"language\": \"en_US\",\n    \"category\": \"utility\",\n    \"text\": \"Hi {{1}}, your order {{2}} has shipped and will arrive on {{3}}.\",\n    \"number_id\": 15,\n    \"example_text\": \"Hi John, your order A-123 has shipped and will arrive on 2026-08-05.\",\n    \"active\": true,\n    \"variables\": [\n        { \"position\": 1, \"name\": \"customer_name\", \"text\": \"John\" },\n        { \"position\": 2, \"name\": \"order_code\", \"text\": \"A-123\" },\n        { \"position\": 3, \"name\": \"delivery_date\", \"text\": \"2026-08-05\" }\n    ],\n    \"buttons\": {\n        \"call_to_action\": [\n            { \"button_type\": \"url_dynamic\", \"text\": \"Track order\", \"value\": \"https://example.com/track/\" }\n        ],\n        \"example_dynamic_url\": \"A-123\"\n    },\n    \"quick_replies\": [\n        { \"text\": \"Thanks\" }\n    ],\n    \"multimedia\": {\n        \"type\": \"text\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/whatsapp_templates/{{id}}","description":"<p>Updates a WhatsApp template. If the template has not been submitted to Gupshup yet, the <code>PUT</code> also submits it for\nreview.</p>\n<blockquote>\n<p><strong>Restriction</strong>: only a template that is <strong>not active</strong> can be modified. If the template is active it returns\nHTTP 400 <code>Template must be inactive to be updated</code>.</p>\n</blockquote>\n<h4 id=\"body\">Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Gupshup element name / identifier. Only lowercase letters, numbers and underscores (<code>[a-z0-9_]</code>), no spaces.</td>\n</tr>\n<tr>\n<td>code</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Visible name / label of the template (max 50)</td>\n</tr>\n<tr>\n<td>language</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Language code (e.g. <code>es</code>, <code>en_US</code>)</td>\n</tr>\n<tr>\n<td>category</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td><code>marketing</code> | <code>utility</code> | <code>authentication</code></td>\n</tr>\n<tr>\n<td>text</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Template body. Variables <code>{{1}}</code>, <code>{{2}}</code>, … It cannot start or end with a variable, and variables cannot be repeated.</td>\n</tr>\n<tr>\n<td>number_id</td>\n<td>numeric</td>\n<td><strong>yes</strong></td>\n<td>ID of the account WhatsApp number</td>\n</tr>\n<tr>\n<td>example_text</td>\n<td>string</td>\n<td>no</td>\n<td>Sample text sent to Gupshup for the review</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td>no</td>\n<td>Default <code>true</code></td>\n</tr>\n<tr>\n<td>variables</td>\n<td>array</td>\n<td>no</td>\n<td><code>[{ \"position\": 1, \"name\": \"customer_name\", \"text\": \"John\" }]</code></td>\n</tr>\n<tr>\n<td>buttons</td>\n<td>object</td>\n<td>no</td>\n<td><code>{ \"call_to_action\": [...], \"example_dynamic_url\": \"...\" }</code> — see below</td>\n</tr>\n<tr>\n<td>quick_replies</td>\n<td>array</td>\n<td>no</td>\n<td><code>[{ \"text\": \"Yes\" }, { \"text\": \"No\" }]</code></td>\n</tr>\n<tr>\n<td>multimedia</td>\n<td>object</td>\n<td>no</td>\n<td>Multimedia header — see below</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"buttonscall_to_action\">buttons.call_to_action[]</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>button_type</td>\n<td>string</td>\n<td><code>phone_number</code> | <code>url_static</code> | <code>url_dynamic</code></td>\n</tr>\n<tr>\n<td>text</td>\n<td>string</td>\n<td>Visible text of the button</td>\n</tr>\n<tr>\n<td>value</td>\n<td>string</td>\n<td>Phone (<code>phone_number</code>) or base URL (<code>url_static</code> / <code>url_dynamic</code>). For <code>url_dynamic</code>, <code>{{1}}</code> is appended automatically.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>For <code>url_dynamic</code>, <code>buttons.example_dynamic_url</code> is used as the sample value of the variable.</p>\n</blockquote>\n<h5 id=\"multimedia\">multimedia</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>string</td>\n<td><code>text</code> (default) | <code>image</code> | <code>video</code> | <code>document</code></td>\n</tr>\n<tr>\n<td>url</td>\n<td>string</td>\n<td>File URL</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>File name</td>\n</tr>\n<tr>\n<td>origin_code</td>\n<td>string</td>\n<td>Gupshup <code>handleId</code>. <strong>Required</strong> for <code>image</code>/<code>video</code>/<code>document</code>; it must be obtained beforehand by uploading the file (the public media upload endpoint is not exposed in this version).</td>\n</tr>\n</tbody>\n</table>\n</div><p>The updated template is returned with the same shape as <code>GET /v1/whatsapp_templates/{id}</code>.</p>\n<h4 id=\"errors-http-400\">Errors (HTTP 400)</h4>\n<p><code>name is required</code>, <code>name must contain only lowercase letters, numbers and underscores</code>, <code>code is required</code>,\n<code>language is required</code>, <code>category is invalid. Valid values: marketing, utility, authentication</code>, <code>text is required</code>,\n<code>number_id is required</code>, <code>number_id not found for this account</code>, plus any error propagated by Gupshup when the\ntemplate is submitted for review.</p>\n<p>Also: <code>WhatsApp Template not found</code> (the ID does not exist for the account) and\n<code>Template must be inactive to be updated</code>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","whatsapp_templates","{{id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"38b28c8a-0b36-47f8-8809-4f9e1f4658aa","name":"Whatsapp Template Update by ID","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"order_shipped\",\n    \"code\": \"Order shipped\",\n    \"language\": \"en_US\",\n    \"category\": \"utility\",\n    \"text\": \"Hi {{1}}, your order {{2}} has shipped and will arrive on {{3}}.\",\n    \"number_id\": 15,\n    \"example_text\": \"Hi John, your order A-123 has shipped and will arrive on 2026-08-05.\",\n    \"active\": true,\n    \"variables\": [\n        { \"position\": 1, \"name\": \"customer_name\", \"text\": \"John\" },\n        { \"position\": 2, \"name\": \"order_code\", \"text\": \"A-123\" },\n        { \"position\": 3, \"name\": \"delivery_date\", \"text\": \"2026-08-05\" }\n    ],\n    \"buttons\": {\n        \"call_to_action\": [\n            { \"button_type\": \"url_dynamic\", \"text\": \"Track order\", \"value\": \"https://example.com/track/\" }\n        ],\n        \"example_dynamic_url\": \"A-123\"\n    },\n    \"quick_replies\": [\n        { \"text\": \"Thanks\" }\n    ],\n    \"multimedia\": {\n        \"type\": \"text\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/whatsapp_templates/40231"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"template_id\": 40231,\n        \"name\": \"order_shipped\",\n        \"code\": \"Order shipped\",\n        \"status\": \"submitted\",\n        \"language\": \"en_US\",\n        \"category\": \"UTILITY\",\n        \"content\": \"Hi {{1}}, your order {{2}} has shipped and will arrive on {{3}}.\",\n        \"whatsapp_number\": \"5491100000000\",\n        \"whatsapp_description\": \"Sales\"\n    }\n}"}],"_postman_id":"1cdb5e6a-bb92-445e-9225-bbade22121a1"},{"name":"Whatsapp Template Deletion by ID","id":"b2ed11bf-909d-455e-aff0-d2a62f54ad43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.wcx.cloud/core/v1/whatsapp_templates/{{id}}","description":"<p>Deletes the template locally <strong>and</strong> in Gupshup.</p>\n<blockquote>\n<p>If Gupshup no longer has the template (<code>Template Does not exists</code>), the operation is still considered successful\n(idempotent).</p>\n</blockquote>\n<p>Returns <code>{ \"data\": { \"message\": &lt;backend message&gt; } }</code>.</p>\n<h4 id=\"errors\">Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP</th>\n<th>Message</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>\"invalid template id\"</code></td>\n<td><code>id</code> is not a number greater than 0</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"WhatsApp Template not found\"</code></td>\n<td>The template does not exist for the account</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","whatsapp_templates","{{id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[],"_postman_id":"b2ed11bf-909d-455e-aff0-d2a62f54ad43"}],"id":"ea76eed7-64ab-4c47-9794-7e10a76dca39","description":"<p>The <code>whatsapp_templates</code> endpoint allows obtaining the list of WhatsApp Templates loaded in the WiseCX account.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"53af05f7-cb15-4859-8add-0ed09e48c99e"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"72b032c8-7f48-46af-9d58-d5b443d07576"}}],"_postman_id":"ea76eed7-64ab-4c47-9794-7e10a76dca39","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Webhooks","item":[],"id":"174bd481-9007-4ec3-9cab-6b6347a49e88","description":"<h4 id=\"what-is-a-webhook\">What is a Webhook?</h4>\n<p>A Webhook in WiseCX is ​​a message or packet sent to an external system that contains information inherent to the channel or event that triggers it.</p>\n<h4 id=\"what-is-it-for\">What is it for?</h4>\n<p>By subscribing to WiseCX Webhooks, external systems are notified of events that occur in real time and can react and perform tasks accordingly.</p>\n<h4 id=\"how-to-create-a-webhook-in-wisecx\">How to create a Webhook in WiseCX?</h4>\n<ol>\n<li><p>From Channels | Settings, add a new <strong>Webhooks</strong> channel:</p>\n</li>\n<li><p>Fill required fields.</p>\n</li>\n</ol>\n<ul>\n<li><p>Public URL for events reception.</p>\n</li>\n<li><p>Service Groups: Subscribe to events that happen only in cases of specific service groups.</p>\n</li>\n<li><p>Activate the <strong>New Activity</strong> selector.</p>\n</li>\n</ul>\n<h4 id=\"webhooks-new-activity\">Webhooks: New Activity</h4>\n<p>WiseCX will notify the configured URL of all case events belonging to the selected care groups. Events can be:</p>\n<ul>\n<li><p>Case creation.</p>\n</li>\n<li><p>New messages within the case.</p>\n</li>\n<li><p>Readings, status changes, automations or group transfers.</p>\n</li>\n</ul>\n<h4 id=\"webhooks-payload\">Webhook's Payload</h4>\n<p>The webhook sent by WiseCX is ​​a JSON format with the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"event\": \"[activity_new | status_update | survey]\",\n    \"case_id\": 12345,\n    \"activity_id\": 6789,\n    \"activity_type\":[contact_message | user_reply | note | system | whatsapp_status]\n}\n\n</code></pre><p>In case of a <strong>survey</strong> type event, the structure is as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"event\": \"survey\",\n    \"case_id\": 12345,\n    \"url_survey\":\"https://wcentrix.net/pub/survey.html#?survey=87e9r8bfje4w7er4192b4ff548c67c468gh=RMSW016-3512649&amp;c_resp=123\"\n}\n\n</code></pre><p>In case of a <strong>meli</strong> event type, the structure is as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"id\": wcx_order_id,\n    \"event\": [\"meli_order_updated\"|\"meli_new_order\"]\n}\n\n</code></pre><p>IMPORTANT: The received payload only includes basic event information. To access more information about the particular event, after receiving the webhook, an additional call must be performed to the corresponding endpoint to obtain the content and complete object information.</p>\n<p><strong>DETAIL event</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Event</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>activity_new</td>\n<td>Event that is executed on a case change. To know in detail the possible changes of the case, see <strong>activity_type</strong>).</td>\n</tr>\n<tr>\n<td>status_update</td>\n<td>Event that is executed when there is a change in the status of a WhatsApp message. *Only if the WhatsApp Status selector is active.</td>\n</tr>\n<tr>\n<td>survey</td>\n<td>Event that is executed when a survey is sent to the contact associated with the case.</td>\n</tr>\n<tr>\n<td>meli_new_order</td>\n<td>Event that is executed when a new Mercado Libre's order is created in WiseCX.</td>\n</tr>\n<tr>\n<td>meli_new_order</td>\n<td>Event that is executed when an existing Mercado Libre's order is updated in WiseCX</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>DETAIL activity_type</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Activity</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact_message</td>\n<td>Activity that occurs when a contact generates a new message.</td>\n</tr>\n<tr>\n<td>user_reply</td>\n<td>Activity that occurs when a user creates a response.</td>\n</tr>\n<tr>\n<td>note</td>\n<td>Activity that occurs when a user creates an internal note.</td>\n</tr>\n<tr>\n<td>system</td>\n<td>Activity that occurs before a system change, when an automation is executed, the case is read, the case status is changed.</td>\n</tr>\n<tr>\n<td>whatsapp_status</td>\n<td>Activity that occurs upon a change in the status of a WhatsApp message, when a message is delivered or the message is read. *Only if the WhatsApp Status selector is active.</td>\n</tr>\n<tr>\n<td>nitro_new_case</td>\n<td>Event that is triggered when, after a send-out from a Nitro campaign, the case is created. Because the contact replied to the WhatsApp message or the call was answered.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"6e346ad2-a1eb-4c6c-8033-3061bc8ff44b"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"77efa734-a6a3-4d92-9a7b-8c968d3a3023"}}],"_postman_id":"174bd481-9007-4ec3-9cab-6b6347a49e88"},{"name":"Nitro","item":[{"name":"Actions","item":[{"name":"Schedule Campaign Send","id":"b3c686f9-d3eb-4256-9aa6-fe15e0865157","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"scheduled_at\": \"2026-04-01 10:00:00\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/{{campaign_id}}/actions/schedule","description":"<p>Schedules a bulk Campaign to be sent at a future date and time. Make a <code>POST</code> request with the <code>campaign_id</code> in the URL. Operates on <strong>all active messages</strong> of the campaign.</p>\n<blockquote>\n<p><strong>Only available for <code>simple</code> (bulk) campaigns.</strong> For transactional campaigns, use the <code>activate</code> action.</p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>scheduled_at</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Scheduled send date and time in <code>YYYY-MM-DD HH:MM:SS</code> format.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","campaigns","{{campaign_id}}","actions","schedule"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"5008dac9-0cd4-4d6c-b457-7b7879bbdd75","name":"Schedule Campaign Send","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"scheduled_at\": \"2026-04-01 10:00:00\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/1321/actions/schedule"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"campaign_id\": 1321,\n    \"status\": \"scheduled\",\n    \"scheduled_at\": \"2026-04-01 13:00:00\"\n}"}],"_postman_id":"b3c686f9-d3eb-4256-9aa6-fe15e0865157"},{"name":"Send Campaign Immediately","id":"07f0f5d4-c5da-4ba1-9fa2-80cc9fe68914","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/{{campaign_id}}/actions/send","description":"<p>Sends a bulk Campaign immediately, without specifying a send date. Make a <code>POST</code> request with the <code>campaign_id</code> in the URL. Operates on <strong>all active messages</strong> of the campaign.</p>\n<blockquote>\n<p><strong>Only available for <code>simple</code> (bulk) campaigns.</strong> To schedule a future send, use the <code>schedule</code> action.</p>\n</blockquote>\n<p>This endpoint <strong>does not require a body</strong>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","campaigns","{{campaign_id}}","actions","send"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"ce2ee191-a589-4e5d-ad2e-7f933fd313df","name":"Send Campaign Immediately","originalRequest":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/1321/actions/send"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"campaign_id\": 1321,\n    \"status\": \"processing\"\n}"}],"_postman_id":"07f0f5d4-c5da-4ba1-9fa2-80cc9fe68914"},{"name":"Activate Transactional Campaign","id":"390717db-4b11-4ebe-a8a5-349b1e04309e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/{{campaign_id}}/actions/activate","description":"<p>Activates a transactional Campaign so it starts processing sends. Make a <code>POST</code> request with the <code>campaign_id</code> in the URL. Operates on <strong>all active messages</strong> of the campaign.</p>\n<blockquote>\n<p><strong>Only available for <code>transactional</code> campaigns.</strong> Requires the campaign and all its messages to be in <code>draft</code> or <code>stopped</code> state.</p>\n</blockquote>\n<p>This endpoint <strong>does not require a body</strong>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","campaigns","{{campaign_id}}","actions","activate"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"95e61451-8174-4c7c-be59-fa14dc70a06e","name":"Activate Transactional Campaign","originalRequest":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/1321/actions/activate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"campaign_id\": 1321,\n    \"status\": \"running\"\n}"}],"_postman_id":"390717db-4b11-4ebe-a8a5-349b1e04309e"},{"name":"Stop Transactional Campaign","id":"efef06a0-aa6b-4d98-b5a1-ff34a7c9c7ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/{{campaign_id}}/actions/stop","description":"<p>Stops a transactional Campaign that is currently running. Make a <code>POST</code> request with the <code>campaign_id</code> in the URL. Operates on <strong>all active messages</strong> of the campaign.</p>\n<blockquote>\n<p><strong>Only available for <code>transactional</code> campaigns in <code>running</code> state.</strong> To resume the send, use the <code>activate</code> action.</p>\n</blockquote>\n<p>This endpoint <strong>does not require a body</strong>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","campaigns","{{campaign_id}}","actions","stop"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"5a2c9607-5da1-4b11-83ac-4fffb658bc0a","name":"Stop Transactional Campaign","originalRequest":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/1321/actions/stop"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"campaign_id\": 1321,\n    \"status\": \"stopped\"\n}"}],"_postman_id":"efef06a0-aa6b-4d98-b5a1-ff34a7c9c7ac"},{"name":"Delete Campaign","id":"6eaaa41d-2d4a-46ef-9b22-3d642b19d001","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/{{campaign_id}}/actions/delete","description":"<p>Deletes a Campaign. Make a <code>POST</code> request with the <code>campaign_id</code> in the URL.</p>\n<blockquote>\n<p><strong>Available for <code>simple</code> (bulk) campaigns in <code>draft</code> state, and for <code>transactional</code> campaigns in <code>draft</code> or <code>stopped</code> state.</strong></p>\n</blockquote>\n<p>This endpoint <strong>does not require a body</strong>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","campaigns","{{campaign_id}}","actions","delete"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"575c53a3-0c8a-406f-ba0a-01186ed5a4d4","name":"Delete Campaign","originalRequest":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/1321/actions/delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"campaign_id\": 1321,\n    \"status\": \"deleted\"\n}"}],"_postman_id":"6eaaa41d-2d4a-46ef-9b22-3d642b19d001"},{"name":"Cancel Campaign Send","id":"fe42f251-c95f-4614-b766-17d66926beb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/{{campaign_id}}/actions/cancel-send","description":"<p>Cancels an ongoing send of a bulk Campaign. Make a <code>POST</code> request with the <code>campaign_id</code> in the URL. Operates on <strong>all active messages</strong> of the campaign.</p>\n<blockquote>\n<p><strong>Only available for <code>simple</code> (bulk) campaigns.</strong> The campaign must be in <code>running</code> or <code>scheduled</code> state, and messages in <code>preparing</code>, <code>sending</code> or <code>scheduled</code> state.</p>\n</blockquote>\n<p>This endpoint <strong>does not require a body</strong>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","campaigns","{{campaign_id}}","actions","cancel-send"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"3b85ed0f-a196-4abf-b6a4-ca4f99846c7d","name":"Cancel Campaign Send","originalRequest":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/1321/actions/cancel-send"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"campaign_id\": 1321,\n    \"status\": \"cancelled\"\n}"}],"_postman_id":"fe42f251-c95f-4614-b766-17d66926beb7"},{"name":"Send Campaign Test","id":"6c1f54c6-95c0-46bc-85e2-c4d57ae224d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"test_channels\": [1, 3],\n    \"test_contact\": {\n        \"id\": 0,\n        \"name\": \"Test User\",\n        \"phone\": \"5491100000000\",\n        \"email\": \"test@example.com\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/{{campaign_id}}/actions/send-test","description":"<p>Sends a test of the campaign messages for the requested channels. Operates on <strong>all the active (non-deleted) messages</strong> of the campaign.</p>\n<h4 id=\"body\">Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>test_channels</td>\n<td>integer[]</td>\n<td><strong>yes</strong></td>\n<td>Channels to test. At least one. Valid values: <code>1</code> = whatsapp, <code>2</code> = sms, <code>3</code> = email, <code>4</code> = phone (call), <code>5</code> = push_notification.</td>\n</tr>\n<tr>\n<td>test_contact</td>\n<td>object</td>\n<td>no</td>\n<td>One-off test contact used instead of the test contacts configured at account level.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"test_contact\">test_contact</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>integer</td>\n<td>no</td>\n<td>Internal ID of the test contact. Default: <code>0</code>.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>no</td>\n<td>Name of the test contact</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>conditional</td>\n<td>Phone of the test contact</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>conditional</td>\n<td>Email of the test contact</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>If <code>test_contact</code> is omitted, or sent without <code>phone</code> and <code>email</code>, the backend uses the test contacts configured at account level. If there are none, it returns the <code>contacts_not_found</code> error.</p>\n</blockquote>\n<h4 id=\"errors\">Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP</th>\n<th>Message</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>\"Campaign ID is required.\"</code></td>\n<td><code>campaign_id</code> is missing in the URL</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"test_channels is required.\"</code></td>\n<td><code>test_channels</code> is missing or empty</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"Invalid test channel: {n}.\"</code></td>\n<td>A channel value is outside the <code>1</code>–<code>5</code> range</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"Campaign test could not be sent.\"</code></td>\n<td>The backend could not send the test</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","campaigns","{{campaign_id}}","actions","send-test"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"d289d42a-ca5d-4081-99d6-c4acccbb4dfc","name":"Send Campaign Test","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"test_channels\": [1, 3],\n    \"test_contact\": {\n        \"id\": 0,\n        \"name\": \"Test User\",\n        \"phone\": \"5491100000000\",\n        \"email\": \"test@example.com\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/414/actions/send-test"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"campaign_id\": \"414\",\n        \"testResults\": [\n            {\n                \"failed\": false,\n                \"description\": \"\",\n                \"contact\": {\n                    \"id\": 1,\n                    \"name\": \"Test User\",\n                    \"phone\": \"5491100000000\",\n                    \"email\": \"test@example.com\"\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"6c1f54c6-95c0-46bc-85e2-c4d57ae224d1"}],"id":"fa6136d3-3982-4b98-9628-7ef951a5b46d","description":"<p>The <code>Actions</code> folder groups the available actions to execute on a Nitro Campaign. All actions are invoked via <code>POST</code> to the route <code>/v1/nitro/campaigns/{campaign_id}/actions/{action}</code> and operate on <strong>all active messages</strong> of the campaign.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Action</th>\n<th>Campaign type</th>\n<th>Required state</th>\n<th>Body</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>schedule</code></td>\n<td><code>simple</code> (bulk)</td>\n<td><code>draft</code></td>\n<td><code>{ \"scheduled_at\": \"...\" }</code></td>\n</tr>\n<tr>\n<td><code>send</code></td>\n<td><code>simple</code> (bulk)</td>\n<td><code>draft</code></td>\n<td>No body</td>\n</tr>\n<tr>\n<td><code>activate</code></td>\n<td><code>transactional</code></td>\n<td><code>draft</code> or <code>stopped</code></td>\n<td>No body</td>\n</tr>\n<tr>\n<td><code>stop</code></td>\n<td><code>transactional</code></td>\n<td><code>running</code></td>\n<td>No body</td>\n</tr>\n<tr>\n<td><code>delete</code></td>\n<td><code>simple</code> or <code>transactional</code></td>\n<td><code>draft</code> or <code>stopped</code></td>\n<td>No body</td>\n</tr>\n<tr>\n<td><code>cancel-send</code></td>\n<td><code>simple</code> (bulk)</td>\n<td><code>running</code> or <code>scheduled</code> (campaign), <code>preparing</code>, <code>sending</code> or <code>scheduled</code> (messages)</td>\n<td>No body</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"fa6136d3-3982-4b98-9628-7ef951a5b46d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Email Templates","item":[{"name":"Get Email Templates","id":"d9868124-375d-4777-b3de-cc008d99d5b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/email-configs?type=1","description":"<p>Returns the account's active email templates.</p>\n<h4 id=\"query-parameters\">Query parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>integer</td>\n<td>no</td>\n<td>Filter by template type: <code>1</code> = footer, <code>2</code> = compliance, <code>3</code> = body. If omitted (or <code>0</code>) all types are returned.</td>\n</tr>\n</tbody>\n</table>\n</div><p>The list of templates is returned inside <code>data</code>.</p>\n<h4 id=\"errors\">Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP</th>\n<th>Message</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>\"Email templates could not be retrieved.\"</code></td>\n<td>The backend could not return the templates</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","email-configs"],"host":["api","wcx","cloud"],"query":[{"description":{"content":"<p>Optional. 1 = footer, 2 = compliance, 3 = body. If omitted, all types are returned.</p>\n","type":"text/plain"},"key":"type","value":"1"}],"variable":[]}},"response":[],"_postman_id":"d9868124-375d-4777-b3de-cc008d99d5b4"},{"name":"Get Email Template by ID","id":"e776d35e-2c94-43ab-a277-4203758ca8e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/email-configs/{{config_id}}","description":"<p>Returns the detail of a single email template.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>URL parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>config_id</td>\n<td>numeric</td>\n<td><strong>yes</strong></td>\n<td>ID of the template</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"errors\">Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP</th>\n<th>Message</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>\"config_id is required.\"</code></td>\n<td><code>config_id</code> is missing in the URL</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"Email template could not be retrieved.\"</code></td>\n<td>The template does not exist for the account, or the backend returned an error</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","email-configs","{{config_id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[],"_postman_id":"e776d35e-2c94-43ab-a277-4203758ca8e2"},{"name":"Create Email Template","id":"f5eef615-c1af-480d-929e-fcd11d55e8ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": 1,\n    \"htmltemplate\": \"<div style=\\\"font-size:12px;color:#888\\\">Wise CX · Do not reply to this email.</div>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/email-configs","description":"<p>Creates a new email template for the account.</p>\n<h4 id=\"body\">Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>integer</td>\n<td>no</td>\n<td>Template type: <code>1</code> = footer, <code>2</code> = compliance, <code>3</code> = body</td>\n</tr>\n<tr>\n<td>htmltemplate</td>\n<td>string</td>\n<td>no</td>\n<td>HTML content of the template</td>\n</tr>\n</tbody>\n</table>\n</div><p>The created template is returned inside <code>data</code>.</p>\n<h4 id=\"errors\">Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP</th>\n<th>Message</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>\"Request body is required.\"</code></td>\n<td>The request has no body</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"Email template could not be created.\"</code></td>\n<td>The backend could not create the template</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","email-configs"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5eef615-c1af-480d-929e-fcd11d55e8ea"},{"name":"Update Email Template","id":"0a78f2e7-1141-4ac6-a530-27354e95c2fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": 1,\n    \"htmltemplate\": \"<div style=\\\"font-size:12px;color:#888\\\">Wise CX · Do not reply to this email.</div>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/email-configs/{{config_id}}","description":"<p>Updates an existing email template. Both body fields are optional — only the fields sent are updated.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>URL parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>config_id</td>\n<td>numeric</td>\n<td><strong>yes</strong></td>\n<td>ID of the template to update</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"body\">Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>integer</td>\n<td>no</td>\n<td>Template type: <code>1</code> = footer, <code>2</code> = compliance, <code>3</code> = body</td>\n</tr>\n<tr>\n<td>htmltemplate</td>\n<td>string</td>\n<td>no</td>\n<td>HTML content of the template</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"errors\">Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP</th>\n<th>Message</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>\"config_id is required.\"</code></td>\n<td><code>config_id</code> is missing in the URL</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"Request body is required.\"</code></td>\n<td>The request has no body</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"Email template could not be updated.\"</code></td>\n<td>The backend could not update the template</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","email-configs","{{config_id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[],"_postman_id":"0a78f2e7-1141-4ac6-a530-27354e95c2fa"},{"name":"Delete Email Template","id":"6063ad27-061e-4b16-a86d-a04196dc2640","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/email-configs/{{config_id}}","description":"<p>Deletes an email template.</p>\n<blockquote>\n<p>This is a <strong>soft-delete</strong>: the record is marked as <code>disabled</code> and is no longer returned by <code>GET /v1/nitro/email-configs</code>, but it is not physically removed.</p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>URL parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>config_id</td>\n<td>numeric</td>\n<td><strong>yes</strong></td>\n<td>ID of the template to delete</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"errors\">Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP</th>\n<th>Message</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>\"config_id is required.\"</code></td>\n<td><code>config_id</code> is missing in the URL</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"Email template could not be deleted.\"</code></td>\n<td>The backend could not delete the template</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","email-configs","{{config_id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[],"_postman_id":"6063ad27-061e-4b16-a86d-a04196dc2640"}],"id":"fe310189-21ea-4414-a307-4264c40c5cbf","description":"<p>Reusable HTML templates (<code>campaigns_email_config</code>) used to compose the email messages of a campaign. Types: <code>1</code> = footer, <code>2</code> = compliance, <code>3</code> = body.</p>\n","_postman_id":"fe310189-21ea-4414-a307-4264c40c5cbf","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Email Senders","item":[{"name":"Get Email Senders","id":"fec6da93-97de-4177-bed5-9231718df53a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/email-senders","description":"<p>Returns all the active email senders of the account inside <code>data</code>.</p>\n<h4 id=\"errors\">Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP</th>\n<th>Message</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>\"Email senders could not be retrieved.\"</code></td>\n<td>The backend could not return the senders</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","email-senders"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[],"_postman_id":"fec6da93-97de-4177-bed5-9231718df53a"},{"name":"Get Email Sender by ID","id":"50491143-647b-42ae-93f0-997a80aeaf62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/email-senders/{{sender_id}}","description":"<p>Returns the detail of a single email sender.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>URL parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sender_id</td>\n<td>numeric</td>\n<td><strong>yes</strong></td>\n<td>ID of the sender</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"errors\">Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP</th>\n<th>Message</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>\"sender_id is required.\"</code></td>\n<td><code>sender_id</code> is missing in the URL</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"Email sender could not be retrieved.\"</code></td>\n<td>The sender does not exist for the account, or the backend returned an error</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","email-senders","{{sender_id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[],"_postman_id":"50491143-647b-42ae-93f0-997a80aeaf62"},{"name":"Create Email Sender","id":"e6838dd8-da96-4cba-8e4a-741c1a822c5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"no-reply@example.com\",\n    \"reply_to\": \"support@example.com\",\n    \"name\": \"Support sender\",\n    \"description\": \"Sender used for support notifications\",\n    \"nombre_from\": \"Wise CX Support\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/email-senders","description":"<p>Creates a new email sender for the account.</p>\n<h4 id=\"body\">Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Sender email address</td>\n</tr>\n<tr>\n<td>reply_to</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Reply-to address. The <code>email</code> + <code>reply_to</code> combination must be unique per account (among active senders).</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>no</td>\n<td>Internal name / label of the sender inside the platform</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td>no</td>\n<td>Internal description of the record</td>\n</tr>\n<tr>\n<td>nombre_from</td>\n<td>string</td>\n<td>no</td>\n<td>Display name used in the <code>From:</code> header of the sent email (e.g. <code>\"Wise CX Support\"</code>)</td>\n</tr>\n</tbody>\n</table>\n</div><p>The created sender is returned inside <code>data</code>.</p>\n<h4 id=\"errors\">Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP</th>\n<th>Message</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>\"Request body is required.\"</code></td>\n<td>The request has no body</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"email is required.\"</code></td>\n<td><code>email</code> is missing or empty</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"reply_to is required.\"</code></td>\n<td><code>reply_to</code> is missing or empty</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"Email sender could not be created.\"</code></td>\n<td>The backend could not create the sender (e.g. duplicated <code>email</code> + <code>reply_to</code>)</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","email-senders"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6838dd8-da96-4cba-8e4a-741c1a822c5c"},{"name":"Update Email Sender","id":"96260372-ca83-4773-9c1c-f41b71dd9c38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"no-reply@example.com\",\n    \"reply_to\": \"support@example.com\",\n    \"name\": \"Support sender\",\n    \"description\": \"Sender used for support notifications\",\n    \"nombre_from\": \"Wise CX Support\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/email-senders/{{sender_id}}","description":"<p>Updates an existing email sender. All body fields are optional — only the fields sent are updated.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>URL parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sender_id</td>\n<td>numeric</td>\n<td><strong>yes</strong></td>\n<td>ID of the sender to update</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"body\">Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>no</td>\n<td>Sender email address</td>\n</tr>\n<tr>\n<td>reply_to</td>\n<td>string</td>\n<td>no</td>\n<td>Reply-to address</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>no</td>\n<td>Internal name / label of the sender</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td>no</td>\n<td>Internal description of the record</td>\n</tr>\n<tr>\n<td>nombre_from</td>\n<td>string</td>\n<td>no</td>\n<td>Display name used in the <code>From:</code> header</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"errors\">Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP</th>\n<th>Message</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>\"sender_id is required.\"</code></td>\n<td><code>sender_id</code> is missing in the URL</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"Request body is required.\"</code></td>\n<td>The request has no body</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"Email sender could not be updated.\"</code></td>\n<td>The backend could not update the sender</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","email-senders","{{sender_id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[],"_postman_id":"96260372-ca83-4773-9c1c-f41b71dd9c38"},{"name":"Delete Email Sender","id":"f6b30575-036d-4743-8593-9c3c5d968bd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/email-senders/{{sender_id}}","description":"<p>Deletes an email sender.</p>\n<blockquote>\n<p>This is a <strong>soft-delete</strong>: the record is marked as <code>disabled</code> and is no longer returned by <code>GET /v1/nitro/email-senders</code>, but it is not physically removed.</p>\n</blockquote>\n<blockquote>\n<p>The deletion is <strong>rejected</strong> when the sender is currently the mail account associated with the account.</p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>URL parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sender_id</td>\n<td>numeric</td>\n<td><strong>yes</strong></td>\n<td>ID of the sender to delete</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"errors\">Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP</th>\n<th>Message</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>\"sender_id is required.\"</code></td>\n<td><code>sender_id</code> is missing in the URL</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"Email sender could not be deleted.\"</code></td>\n<td>The backend could not delete the sender (e.g. the sender is in use by the account)</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","email-senders","{{sender_id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6b30575-036d-4743-8593-9c3c5d968bd6"}],"id":"ca569dac-b353-43c3-90de-ea55f119d9be","description":"<p>Email addresses available as senders for the email messages of a campaign.</p>\n","_postman_id":"ca569dac-b353-43c3-90de-ea55f119d9be","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Transactional Request","id":"9491af82-e0c6-44e4-b08d-e9fd17da7d5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/transactional/{{id}}/send","description":"<h5 id=\"send-message\">Send Message</h5>\n<p>To send a message in a transactional campaign, you need to perform a <code>POST</code> method with the next object:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Desription</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>channels</td>\n<td>string[]</td>\n<td><strong>yes</strong></td>\n<td>Channels through which the message will be sent.</td>\n</tr>\n<tr>\n<td>contact</td>\n<td><code>contact</code></td>\n<td><strong>yes</strong></td>\n<td>Recipient's contact information for the message.</td>\n</tr>\n<tr>\n<td>variables</td>\n<td>dictionary [string, string]</td>\n<td><strong>no</strong></td>\n<td>Variables to be replaced within the message.</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>dictionary [string, string]</td>\n<td><strong>no</strong></td>\n<td>Key/Value fields to be used inside Analytics reports as well as inside Assistants flows.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>IMPORTANT</strong>: regarding to the dictionary <code>variables</code>, META's API considers the <strong>order/position</strong> in which the variables are sent and NOT their names.</p>\n<p>For example, if a template has the following text: \"Hello {{1}}, thank you for your purchase! The tracking number is: {{2}}\", a request must be sent to our API containing the variables dictionary with the <strong>name</strong> first and the <strong>tracking ID</strong> second.</p>\n<p>The object<code>contact</code>should be sent in the following manner:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Desription</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>numeric</td>\n<td>yes*</td>\n<td>Contact ID. *Required according specifications.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>yes*</td>\n<td>Contact Email. *Required according specifications.</td>\n</tr>\n<tr>\n<td>personal_id</td>\n<td>string</td>\n<td>yes*</td>\n<td>Contact Personal ID (DNI, CUIT).  <br />*Required according specifications.</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>yes*</td>\n<td>Contact phone number. *Required according specifications.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Usage Specifications:</strong></p>\n<p>1. Before using this endpoint, the transactional campaign must be created, and the identifier (ID) of the campaign must be known.</p>\n<p>2. To obtain company ID, we need to access Nitro module, where we have two options:</p>\n<ul>\n<li>From the creation of the new campaign, when we are on the final step before activating it, we can copy the ID:</li>\n</ul>\n<img src=\"https://content.pstmn.io/69db46e7-abba-4efb-a8a1-543e42c50380/aW1hZ2UucG5n\" width=\"893\" height=\"250\" />\n\n<ul>\n<li>From the campaigns list, within the contextual menu upon hovering with the mouse, there's an option available to copy the ID:</li>\n</ul>\n<img src=\"https://content.pstmn.io/5c61ff37-dd88-48e5-a499-2631ce523a66/aW1hZ2UucG5n\" width=\"402\" height=\"248\" />\n\n<p>3. The campaign must be in an Active state and correctly configured for the defined channels.</p>\n<p>4. To send the message through this endpoint, the following specifications must be taken into account:</p>\n<ul>\n<li><p>The <strong>channels</strong> field is a list of available channels for use in the Nitro module, for example: WhatsApp, Email, SMS, Calls.</p>\n</li>\n<li><p>In the <strong>contact</strong> object, 'ID' is the identifying field of the contact. If this field is completed, it is not necessary to fill in the 'Email', 'personal_id', or 'phone' fields.</p>\n</li>\n<li><p>In the <strong>contact</strong> object, if the 'ID' field is not completed, at least one of the three identification fields must be completed.</p>\n</li>\n<li><p>If the specified channel is WhatsApp, call, or SMS, filling in the 'phone' field in the <strong>contact</strong> object is mandatory.</p>\n</li>\n<li><p>If the specified channel is Email, filling in the <strong>email</strong> field in the <strong>contact</strong> object is mandatory.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","transactional","{{id}}","send"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"fae3839c-e02d-42f0-a5b2-6e28151707d6","name":"Transactional Campaing - Send Message","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"channels\": [\"whatsapp\"],\r\n    \"contact\": {\r\n        \"id\": 0,\r\n        \"phone\": \"\",\r\n        \"email\": \"\",\r\n        \"personal_id\": \"\"\r\n    },\r\n    \"variables\": {\r\n        \"{1}\": \"\",\r\n        \"{2}\": \"\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/transactional/2739/send"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"channel\": \"whatsapp\",\n        \"status\": \"queued\",\n        \"description\": \"\",\n        \"tracking_id\": \"wa-4546\"\n    }\n]"},{"id":"fd36cfb7-99eb-41ce-876f-c54b65129401","name":"Transactional Request - Phone Call to a User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"channels\": [\r\n        \"call\"\r\n    ],\r\n    \"contact\": {\r\n        \"name\": \"John\",\r\n        \"phone\": \"5493517508711\"\r\n    },\r\n    \"user_id\":33868\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/transactional/{{id}}/send"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"05dedd15-d0a6-414b-b017-85c1f07b8443","name":"Transactional Request - Phone Call","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"channels\": [\r\n        \"call\"\r\n    ],\r\n    \"contact\": {\r\n        \"name\": \"John\",\r\n        \"phone\": \"5493517606454\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/transactional/{{id}}/send"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"9491af82-e0c6-44e4-b08d-e9fd17da7d5f"},{"name":"Transactional Request Bulk","id":"573d125e-e3d3-4dfd-bbf0-7b2653b6628b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/transactional/send","description":"<h5 id=\"send-message\">Send Message</h5>\n<p>To send a message in a transactional campaign bulk, you need to perform a <code>POST</code> method with the next object in a <strong>LIST</strong> format:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Desription</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>channels</td>\n<td>string[]</td>\n<td><strong>yes</strong></td>\n<td>Channels through which the message will be sent.</td>\n</tr>\n<tr>\n<td>campaign_id</td>\n<td>numeric</td>\n<td><strong>yes</strong></td>\n<td>The transactional camapign ID to be sent to the indicated contact.</td>\n</tr>\n<tr>\n<td>contact</td>\n<td><code>contact</code></td>\n<td><strong>yes</strong></td>\n<td>Recipient's contact information for the message.</td>\n</tr>\n<tr>\n<td>variables</td>\n<td>dictionary [string, string]</td>\n<td><strong>no</strong></td>\n<td>Variables to be replaced within the message.</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>dictionary [string, string]</td>\n<td><strong>no</strong></td>\n<td>Key/Value fields to be used inside Analytics reports as well as inside Assistants flows.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>IMPORTANT</strong>: regarding to the dictionary <code>variables</code>, META's API considers the <strong>order/position</strong> in which the variables are sent and NOT their names.</p>\n<p>For example, if a template has the following text: \"Hello {{1}}, thank you for your purchase! The tracking number is: {{2}}\", a request must be sent to our API containing the variables dictionary with the <strong>name</strong> first and the <strong>tracking ID</strong> second.</p>\n<p>The object<code>contact</code>should be sent in the following manner:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Desription</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>numeric</td>\n<td>yes*</td>\n<td>Contact ID. *Required according specifications.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>yes*</td>\n<td>Contact Email. *Required according specifications.</td>\n</tr>\n<tr>\n<td>personal_id</td>\n<td>string</td>\n<td>yes*</td>\n<td>Contact Personal ID (DNI, CUIT).  <br />*Required according specifications.</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>yes*</td>\n<td>Contact phone number. *Required according specifications.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Usage Specifications:</strong></p>\n<p>Same as detailed in Transactional Message endpoint.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","transactional","send"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"82a3dbbe-2465-4ae2-a11b-da8443838d4d","name":"Transactional Campaign - Send Message Bulk","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"channels\": [\r\n            \"whatsapp\"\r\n        ],\r\n        \"campaign_id\": 1321,\r\n        \"contact\": {\r\n            \"phone\": \"5493517606060\"\r\n        },\r\n        \"variables\": {\r\n            \"{1}\": \"\",\r\n            \"{2}\": \"\"\r\n        },\r\n        \"metadata\": {\r\n            \"tracking_id\": \"ASD-9843\",\r\n            \"project_area\": \"Marketing\"\r\n        }\r\n    },\r\n    {\r\n        \"channels\": [\r\n            \"whatsapp\"\r\n        ],\r\n        \"campaign_id\": 1322,\r\n        \"contact\": {\r\n            \"phone\": \"5493517382938\"\r\n        },\r\n        \"variables\": {\r\n            \"{1}\": \"\",\r\n            \"{2}\": \"\"\r\n        },\r\n        \"metadata\": {\r\n            \"tracking_id\": \"FDD-3847\",\r\n            \"project_area\": \"Finance \"\r\n        }\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/transactional/send"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"channel\": \"whatsapp\",\n        \"status\": \"queued\",\n        \"contact\":{\n            \"id\": 89238,\n            \"phone\": \"5493517606060\"\n        },\n        \"description\": \"\",\n        \"tracking_id\": 1\n    },\n    {\n        \"channel\": \"whatsapp\",\n        \"status\": \"queued\",\n        \"contact\":{\n            \"id\": 89239,\n            \"phone\": \"5493517382938\"\n        },\n        \"description\": \"\",\n        \"tracking_id\": 1\n    }\n]"}],"_postman_id":"573d125e-e3d3-4dfd-bbf0-7b2653b6628b"},{"name":"Request detail by tracking id","id":"28a21b0f-5cb7-48c7-92cc-13750ba707a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/transactional/requests/{{tracking_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","transactional","requests","{{tracking_id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"ca74d481-8d5e-48e6-be81-418e402085f2","name":"Get request detail","originalRequest":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/transactional/requests/em-340"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"case\": {\n        \"id\": 1328784,\n        \"number\": \"6544\"\n    },\n    \"contact\": {\n        \"id\": \"19090509\",\n        \"email\": \"julio.p@wisecx.com\"\n    },\n    \"variables\": {\n        \"{id_tyt}\": \"12321876123876\",\n        \"{location}\": \"ARG\"\n    },\n    \"metadata\": {\n        \"id_tyt\": \"CU1567894654653AR\",\n        \"id_mensaje\": \"123456789\"\n    }\n}"}],"_postman_id":"28a21b0f-5cb7-48c7-92cc-13750ba707a7"},{"name":"Get Campaigns","id":"a5c46a92-841f-4a98-bf0f-5c47bec5bfa5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/campaigns?page=1&limit=10","description":"<p>To retrieve the list of Nitro Campaigns, make a <code>GET</code> request.</p>\n<p>Supports pagination and filtering via <code>page</code>, <code>limit</code>, <code>sort_by</code>, <code>sort_order</code> and <code>filtering</code> parameters.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","campaigns"],"host":["api","wcx","cloud"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Number of results per page</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[]}},"response":[{"id":"569edbd3-a1b5-4c19-8baa-5ca41fc9eaab","name":"Get Campaigns","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wcx.cloud/core/v1/nitro/campaigns?page=1&limit=10","protocol":"https","host":["api","wcx","cloud"],"path":["core","v1","nitro","campaigns"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"414\",\n            \"name\": \"Winter Promotion Campaign\",\n            \"type\": \"simple\",\n            \"status\": \"draft\",\n            \"created_at\": \"2026-03-05 11:57:17\",\n            \"updated_at\": \"2026-03-05 11:57:17\",\n            \"scheduled_at\": \"\",\n            \"messages\": [\n                {\n                    \"id\": \"685\",\n                    \"channel\": \"whatsapp\",\n                    \"status\": \"draft\",\n                    \"scheduled_at\": \"\",\n                    \"sent_at\": \"\",\n                    \"stats\": {\n                        \"total\": 0,\n                        \"sent\": 0,\n                        \"delivered\": 0,\n                        \"opened\": 0,\n                        \"clicked\": 0,\n                        \"replied\": 0,\n                        \"failed\": 0,\n                        \"bounced\": 0,\n                        \"unsubscribed\": 0\n                    },\n                    \"channel_config\": {\n                        \"template_id\": \"40184\",\n                        \"template_name\": \"winter_promo\",\n                        \"language\": \"en\"\n                    }\n                }\n            ]\n        }\n    ],\n    \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 10,\n        \"total_items\": 100,\n        \"total_pages\": 10\n    }\n}"}],"_postman_id":"a5c46a92-841f-4a98-bf0f-5c47bec5bfa5"},{"name":"Create Campaign","id":"8ca64156-0784-4817-b3e6-7e9768134355","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Welcome Campaign\",\r\n    \"type\": \"simple\",\r\n    \"description\": \"Welcome message for new customers\",\r\n    \"groups_ids\": \"123,456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/campaigns","description":"<h5 id=\"new-campaign\">New Campaign</h5>\n<p>To create a new Nitro Campaign, make a <code>POST</code> request with the following body:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Campaign name</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Campaign type: <code>simple</code> (bulk) or <code>transactional</code></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td>no</td>\n<td>Campaign description</td>\n</tr>\n<tr>\n<td>groups_ids</td>\n<td>string</td>\n<td><strong>yes</strong>*</td>\n<td>Comma-separated IDs of target contact groups (e.g. <code>\"123,456\"</code>). <strong>Required for <code>simple</code> campaigns</strong>. Not applicable for <code>transactional</code>. IDs can be retrieved from <code>/v1/contacts/groups</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","campaigns"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"1f2876c1-d177-46cb-9f4a-7b4ef6e6798a","name":"Create Campaign","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Welcome Campaign\",\r\n    \"type\": \"transactional\",\r\n    \"description\": \"Welcome message for new customers\",\r\n    \"groups_ids\": \"123,456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/campaigns"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\"data\":{\"id\":\"1325\",\"name\":\"Welcome Campaign\",\"type\":\"transactional\",\"description\":\"Welcome message for new customers\"}}"}],"_postman_id":"8ca64156-0784-4817-b3e6-7e9768134355"},{"name":"Get Campaign by Id","id":"fa668eff-ae5c-4b83-b45d-c981b2eba2ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/{{campaign_id}}","description":"<p>To retrieve the details of a Nitro Campaign, make a <code>GET</code> request with the <code>campaign_id</code> in the URL.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","campaigns","{{campaign_id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"29d7ec8e-02ec-41c6-b4df-222dfc7d439b","name":"Get Campaign by Id","originalRequest":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/1321"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"115670\",\n        \"name\": \"Transactional Campaign - Example\",\n        \"type\": \"transactional\",\n        \"status\": \"running\",\n        \"created_at\": \"2026-02-25 21:43:30\",\n        \"updated_at\": \"2026-02-25 21:44:16\",\n        \"scheduled_at\": \"\",\n        \"messages\": [\n            {\n                \"id\": \"117301\",\n                \"channel\": \"email\",\n                \"status\": \"scheduled\",\n                \"scheduled_at\": \"2026-02-25 21:44:19\",\n                \"sent_at\": \"\",\n                \"stats\": {\n                    \"total\": 2,\n                    \"sent\": 2,\n                    \"delivered\": 2,\n                    \"opened\": 1,\n                    \"clicked\": 0,\n                    \"replied\": 0,\n                    \"failed\": 0,\n                    \"bounced\": 0,\n                    \"unsubscribed\": 0\n                },\n                \"channel_config\": {\n                    \"subject\": \"Special promotion\",\n                    \"from_name\": \"Wcx\",\n                    \"from_email\": \"no-reply@wcx.cloud\",\n                    \"template_id\": \"0\",\n                    \"email_content\": \"aws_s3:14063:115670:117301.txt\"\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"fa668eff-ae5c-4b83-b45d-c981b2eba2ea"},{"name":"Update Campaign by Id","id":"6d1bb163-01bc-44c4-8fde-cf6b5a261355","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Welcome Campaign v2\",\r\n    \"description\": \"Updated welcome message\",\r\n    \"groups_ids\": \"123,456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/{{campaign_id}}","description":"<p>To update a Nitro Campaign, make a <code>PUT</code> request with the <code>campaign_id</code> in the URL.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>New campaign name</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td>no</td>\n<td>New campaign description</td>\n</tr>\n<tr>\n<td>groups_ids</td>\n<td>string</td>\n<td><strong>yes</strong>*</td>\n<td>Comma-separated IDs of target contact groups (e.g. <code>\"123,456\"</code>). <strong>Required for <code>simple</code> campaigns</strong>. Not applicable for <code>transactional</code>. IDs can be retrieved from <code>/v1/contacts/groups</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","campaigns","{{campaign_id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"a30986c9-3a18-4fcb-a282-4a0059a32882","name":"Update Campaign by Id","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Welcome Campaign v2\",\r\n    \"description\": \"Updated welcome message\",\r\n    \"groups_ids\": \"123,456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/1321"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\"data\":{\"id\":\"1321\",\"name\":\"Welcome Campaign v2\",\"description\":\"Updated welcome message\"}}"}],"_postman_id":"6d1bb163-01bc-44c4-8fde-cf6b5a261355"},{"name":"Duplicate Campaign","id":"3da74394-d09e-475c-9b42-2ddc13efe368","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/{{campaign_id}}/duplicate","description":"<p>Duplicates an existing campaign, including its messages. <strong>No request body is required.</strong></p>\n<p>Returns the ID of the newly created campaign.</p>\n<h4 id=\"errors\">Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP</th>\n<th>Message</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>\"Campaign ID is required.\"</code></td>\n<td><code>campaign_id</code> is missing in the URL</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"Campaign could not be duplicated.\"</code></td>\n<td>The backend could not duplicate the campaign</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","campaigns","{{campaign_id}}","duplicate"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"3a0485c7-51eb-4b3f-b67a-4e455cb1faf4","name":"Duplicate Campaign","originalRequest":{"method":"POST","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/414/duplicate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"campaign_id\": \"415\"\n    }\n}"}],"_postman_id":"3da74394-d09e-475c-9b42-2ddc13efe368"},{"name":"Create Campaign Message","id":"8b315598-8540-4a55-8bd4-adf30d9ca96a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"channel\": \"whatsapp\",\n    \"channel_config\": {\n        \"template_id\": 7,\n        \"variables\": [\n            { \n                \"name\": \"{1}\", \n                \"value_from\": \"name\", \n                \"value_default\": \"Customer\" \n            }\n        ],\n        \"reply_type\": \"group\",\n        \"reply_id\": 123\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/{{campaign_id}}/messages","description":"<h5 id=\"create-campaign-message\">Create Campaign Message</h5>\n<p>To create a Message inside a Nitro Campaign, send a <code>POST</code> request to <code>/v1/nitro/campaigns/{campaign_id}/messages</code>.</p>\n<h3 id=\"api-layer-validations\">API-layer validations</h3>\n<ul>\n<li>Required path param: <code>campaign_id</code></li>\n<li>Required body fields: <code>channel</code>, <code>channel_config</code></li>\n<li>Channel-specific conditional rules are validated downstream (business layer)</li>\n</ul>\n<h3 id=\"root-fields\">Root fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>channel</code></td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Message channel: <code>whatsapp</code>, <code>email</code>, <code>call</code></td>\n</tr>\n<tr>\n<td><code>channel_config</code></td>\n<td>object</td>\n<td><strong>yes</strong></td>\n<td>Channel-specific configuration (see tables below)</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Channel restriction</strong>: <code>email</code> is only valid for <code>transactional</code> campaigns.</p>\n</blockquote>\n<h3 id=\"whatsapp-channel_config\">WhatsApp (<code>channel_config</code>)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>template_id</code></td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>WhatsApp template ID</td>\n</tr>\n<tr>\n<td><code>variables</code></td>\n<td>array</td>\n<td>no</td>\n<td>Template variables. Item fields: <code>name</code>, <code>value_from</code>, <code>value_default</code></td>\n</tr>\n<tr>\n<td><code>reply_type</code></td>\n<td>string</td>\n<td>no</td>\n<td>Reply routing mode: <code>group</code> (default), <code>user</code>, <code>assistant</code></td>\n</tr>\n<tr>\n<td><code>reply_id</code></td>\n<td>numeric</td>\n<td>conditional</td>\n<td>Agent group ID (<code>group</code>), assistant/bot ID (<code>assistant</code>). Not used when <code>reply_type</code> is <code>user</code></td>\n</tr>\n<tr>\n<td><code>reply_node</code></td>\n<td>string</td>\n<td>conditional</td>\n<td>Required when <code>reply_type</code> is <code>assistant</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"email-channel_config\">Email (<code>channel_config</code>)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>from_email</code></td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Sender email address</td>\n</tr>\n<tr>\n<td><code>subject</code></td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Email subject</td>\n</tr>\n<tr>\n<td><code>email_content</code></td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>Email HTML content</td>\n</tr>\n<tr>\n<td><code>headers</code></td>\n<td>array</td>\n<td>no</td>\n<td>Extra SMTP headers. Each item requires non-empty <code>key</code> and <code>value</code></td>\n</tr>\n<tr>\n<td><code>reply_type</code></td>\n<td>string</td>\n<td>no</td>\n<td>Reply routing mode: only <code>group</code> allowed</td>\n</tr>\n<tr>\n<td><code>reply_id</code></td>\n<td>numeric</td>\n<td>no</td>\n<td>Agent group ID (<code>group</code>)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"call-channel_config\">Call (<code>channel_config</code>)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>call_number_id</code></td>\n<td>numeric</td>\n<td><strong>yes</strong></td>\n<td>Call number ID to use</td>\n</tr>\n<tr>\n<td><code>reply_type</code></td>\n<td>string</td>\n<td>no</td>\n<td>Action on reply: <code>group</code>, <code>user</code>, <code>ivr</code>, <code>audio</code>, <code>survey</code></td>\n</tr>\n<tr>\n<td><code>reply_id</code></td>\n<td>numeric</td>\n<td>conditional</td>\n<td>Agent group ID (<code>group</code>), IVR ID (<code>ivr</code>), survey ID (<code>survey</code>)</td>\n</tr>\n<tr>\n<td><code>reply_url</code></td>\n<td>string</td>\n<td>conditional</td>\n<td>Required for <code>audio</code></td>\n</tr>\n<tr>\n<td><code>only_when_available</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>If <code>true</code>, only calls when agents are available. Default: <code>false</code></td>\n</tr>\n<tr>\n<td><code>only_business_hours</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>If <code>true</code>, only calls during business hours. Default: <code>false</code></td>\n</tr>\n<tr>\n<td><code>simultaneous_calls</code></td>\n<td>numeric</td>\n<td>no</td>\n<td>Max simultaneous outbound calls. Allowed range: <code>1..7</code>. Default: <code>1</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"reply_type-conditional-matrix\"><code>reply_type</code> conditional matrix</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th><code>reply_id</code></th>\n<th><code>reply_url</code></th>\n<th>Rule</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>group</code></td>\n<td>required</td>\n<td>not used</td>\n<td>Send target group ID</td>\n</tr>\n<tr>\n<td><code>user</code></td>\n<td>required</td>\n<td>not used</td>\n<td>Send target user ID</td>\n</tr>\n<tr>\n<td><code>ivr</code></td>\n<td>required</td>\n<td>not used</td>\n<td>Send IVR target ID</td>\n</tr>\n<tr>\n<td><code>audio</code></td>\n<td>not used</td>\n<td>required</td>\n<td>Send audio URL</td>\n</tr>\n<tr>\n<td><code>survey</code></td>\n<td>required</td>\n<td>not used</td>\n<td>Send survey target ID</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"examples-by-channel\">Examples by channel</h3>\n<p><strong>WhatsApp</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"channel\": \"whatsapp\",\n  \"channel_config\": {\n    \"template_id\": \"40184\",\n    \"variables\": [\n      {\n        \"name\": \"{1}\",\n        \"value_from\": \"name\",\n        \"value_default\": \"Customer\"\n      }\n    ],\n    \"reply_type\": \"group\",\n    \"reply_id\": 123\n  }\n}\n</code></pre>\n<p><strong>Email</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"channel\": \"email\",\n  \"scheduled_at\": \"2026-04-01 10:00:00\",\n  \"channel_config\": {\n    \"from_email\": \"noreply@yourdomain.com\",\n    \"subject\": \"Welcome to WiseCX\",\n    \"email_content\": \"&lt;html&gt;&lt;body&gt;&lt;h1&gt;Hello {{contact_name}}&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;\",\n    \"headers\": [\n      {\n        \"key\": \"X-Custom-Source\",\n        \"value\": \"api\"\n      }\n    ]\n  }\n}\n</code></pre>\n<p><strong>Call</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"channel\": \"call\",\n  \"channel_config\": {\n    \"call_number_id\": 456,\n    \"reply_type\": \"ivr\",\n    \"reply_id\": 12,\n    \"only_when_available\": true,\n    \"only_business_hours\": false,\n    \"simultaneous_calls\": 3\n  }\n}\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","campaigns","{{campaign_id}}","messages"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"e8c40315-fb5a-45a5-a040-b263f3b2daf7","name":"Create Campaign Message","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"channel\": \"whatsapp\",\n    \"channel_config\": {\n        \"template_id\": 7,\n        \"variables\": [\n            {\n                \"name\": \"{1}\",\n                \"value_from\": \"name\",\n                \"value_default\": \"Customer\"\n            }\n        ],\n        \"reply_type\": \"group\",\n        \"reply_id\": 123\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/1321/messages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 686,\n        \"campaign_id\": 416,\n        \"channel\": \"whatsapp\",\n        \"channel_config\": {\n            \"template_id\": \"40184\",\n            \"variables\": [\n                {\n                    \"name\": \"{1}\",\n                    \"value_from\": \"name\",\n                    \"value_default\": \"Customer\"\n                }\n            ],\n            \"reply_type\": \"group\",\n            \"reply_id\": 123\n        }\n    }\n}"}],"_postman_id":"8b315598-8540-4a55-8bd4-adf30d9ca96a"},{"name":"Update Campaign Message","id":"d5988c29-fb2b-476d-896e-805160dfb332","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"channel_config\": {\n        \"template_id\": \"123\",\n        \"variables\": [\n            { \n                \"name\": \"{1}\", \n                \"value_from\": \"customer_name\", \n                \"value_default\": \"Customer\" \n            }\n        ],\n        \"reply_type\": \"group\",\n        \"reply_id\": 123\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/{{campaign_id}}/messages/{{message_id}}","description":"<h5 id=\"update-campaign-message\">Update Campaign Message</h5>\n<p>To update a Message in a Nitro Campaign, send a <code>PUT</code> request to <code>/v1/nitro/campaigns/{campaign_id}/messages/{message_id}</code>.</p>\n<h3 id=\"api-layer-validations\">API-layer validations</h3>\n<ul>\n<li>Required path params: <code>campaign_id</code>, <code>message_id</code></li>\n<li>Required body: non-null object</li>\n<li>Channel-specific conditional rules are validated downstream (business layer)</li>\n</ul>\n<h3 id=\"root-fields\">Root fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>channel_config</code></td>\n<td>object</td>\n<td><strong>yes</strong></td>\n<td>New complete channel-specific configuration (PUT = full replacement)</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><code>channel</code> is immutable after creation. Do not send <code>channel</code> in update payloads.</p>\n<p><strong>Channel restriction</strong>: <code>email</code> is only valid for <code>transactional</code> campaigns.</p>\n</blockquote>\n<h3 id=\"whatsapp-channel_config\">WhatsApp (<code>channel_config</code>)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>template_id</code></td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>WhatsApp template ID</td>\n</tr>\n<tr>\n<td><code>variables</code></td>\n<td>array</td>\n<td>no</td>\n<td>Template variables. Item fields: <code>name</code>, <code>value_from</code>, <code>value_default</code></td>\n</tr>\n<tr>\n<td><code>reply_type</code></td>\n<td>string</td>\n<td>no</td>\n<td>Reply routing mode: <code>group</code> (default), <code>user</code>, <code>assistant</code></td>\n</tr>\n<tr>\n<td><code>reply_id</code></td>\n<td>numeric</td>\n<td>conditional</td>\n<td>Agent group ID (<code>group</code>), assistant/bot ID (<code>assistant</code>). Not used when <code>reply_type</code> is <code>user</code></td>\n</tr>\n<tr>\n<td><code>reply_node</code></td>\n<td>string</td>\n<td>conditional</td>\n<td>Required when <code>reply_type</code> is <code>assistant</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"email-channel_config\">Email (<code>channel_config</code>)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>from_email</code></td>\n<td>string</td>\n<td><strong>yes</strong>*</td>\n<td>Required when updating Email config</td>\n</tr>\n<tr>\n<td><code>subject</code></td>\n<td>string</td>\n<td><strong>yes</strong>*</td>\n<td>Required when updating Email config</td>\n</tr>\n<tr>\n<td><code>email_content</code></td>\n<td>string</td>\n<td><strong>yes</strong>*</td>\n<td>Required when updating Email config</td>\n</tr>\n<tr>\n<td><code>headers</code></td>\n<td>array</td>\n<td>no</td>\n<td>Extra SMTP headers. Each item requires non-empty <code>key</code> and <code>value</code></td>\n</tr>\n<tr>\n<td><code>reply_type</code></td>\n<td>string</td>\n<td>no</td>\n<td>Reply routing mode: only <code>group</code> allowed</td>\n</tr>\n<tr>\n<td><code>reply_id</code></td>\n<td>numeric</td>\n<td>no</td>\n<td>Agent group ID (<code>group</code>)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"call-channel_config\">Call (<code>channel_config</code>)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>call_number_id</code></td>\n<td>numeric</td>\n<td><strong>yes</strong>*</td>\n<td>Required when updating Call config</td>\n</tr>\n<tr>\n<td><code>reply_type</code></td>\n<td>string</td>\n<td>no</td>\n<td>Action on reply: <code>group</code>, <code>user</code>, <code>ivr</code>, <code>audio</code>, <code>survey</code></td>\n</tr>\n<tr>\n<td><code>reply_id</code></td>\n<td>numeric</td>\n<td>conditional</td>\n<td>Agent group ID (<code>group</code>), IVR ID (<code>ivr</code>), survey ID (<code>survey</code>)</td>\n</tr>\n<tr>\n<td><code>reply_url</code></td>\n<td>string</td>\n<td>conditional</td>\n<td>Required for <code>audio</code></td>\n</tr>\n<tr>\n<td><code>only_when_available</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>If <code>true</code>, only calls when agents are available. Default: <code>false</code></td>\n</tr>\n<tr>\n<td><code>only_business_hours</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>If <code>true</code>, only calls during business hours. Default: <code>false</code></td>\n</tr>\n<tr>\n<td><code>simultaneous_calls</code></td>\n<td>numeric</td>\n<td>no</td>\n<td>Max simultaneous outbound calls. Allowed range: <code>1..7</code>. Default: <code>1</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"reply_type-conditional-matrix\"><code>reply_type</code> conditional matrix</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th><code>reply_id</code></th>\n<th><code>reply_url</code></th>\n<th>Rule</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>group</code></td>\n<td>required</td>\n<td>not used</td>\n<td>Send target group ID</td>\n</tr>\n<tr>\n<td><code>user</code></td>\n<td>required</td>\n<td>not used</td>\n<td>Send target user ID</td>\n</tr>\n<tr>\n<td><code>ivr</code></td>\n<td>required</td>\n<td>not used</td>\n<td>Send IVR target ID</td>\n</tr>\n<tr>\n<td><code>audio</code></td>\n<td>not used</td>\n<td>required</td>\n<td>Send audio URL</td>\n</tr>\n<tr>\n<td><code>survey</code></td>\n<td>required</td>\n<td>not used</td>\n<td>Send survey target ID</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"examples-by-channel\">Examples by channel</h3>\n<p><strong>WhatsApp</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"channel_config\": {\n    \"template_id\": \"40200\",\n    \"variables\": [\n      {\n        \"name\": \"{1}\",\n        \"value_from\": \"customer_name\",\n        \"value_default\": \"Customer\"\n      }\n    ],\n    \"reply_type\": \"assistant\",\n    \"reply_id\": 38,\n    \"reply_node\": \"inicio\"\n  }\n}\n</code></pre>\n<p><strong>Email</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"scheduled_at\": \"2026-04-02 11:30:00\",\n  \"channel_config\": {\n    \"from_email\": \"noreply@yourdomain.com\",\n    \"subject\": \"Updated promotion\",\n    \"email_content\": \"&lt;html&gt;&lt;body&gt;&lt;p&gt;Hi {{contact_name}}, this is an update.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;\",\n    \"headers\": [\n      {\n        \"key\": \"X-Campaign-Version\",\n        \"value\": \"v2\"\n      }\n    ]\n  }\n}\n</code></pre>\n<p><strong>Call</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"channel_config\": {\n    \"call_number_id\": 456,\n    \"reply_type\": \"group\",\n    \"reply_id\": 45,\n    \"only_when_available\": false,\n    \"only_business_hours\": true,\n    \"simultaneous_calls\": 2\n  }\n}\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","campaigns","{{campaign_id}}","messages","{{message_id}}"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"043b5221-0e7c-42a9-aacf-51d8b28b1477","name":"Update Campaign Message","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"channel_config\": {\n        \"template_id\": \"123\",\n        \"variables\": [\n            {\n                \"name\": \"{1}\",\n                \"value_from\": \"customer_name\",\n                \"value_default\": \"Customer\"\n            }\n        ],\n        \"reply_type\": \"group\",\n        \"reply_id\": 123\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/1321/messages/12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 686,\n        \"campaign_id\": 416,\n        \"channel\": \"whatsapp\",\n        \"channel_config\": {\n            \"template_id\": \"123\",\n            \"variables\": [\n                {\n                    \"name\": \"{1}\",\n                    \"value_from\": \"customer_name\",\n                    \"value_default\": \"Customer\"\n                }\n            ],\n            \"reply_type\": \"group\",\n            \"reply_id\": 123\n        }\n    }\n}"}],"_postman_id":"d5988c29-fb2b-476d-896e-805160dfb332"},{"name":"Get Campaign Message Contacts","id":"04bc7b9b-b0fb-4338-ab4e-464fba21729a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/nitro/campaigns/{{campaign_id}}/messages/{{message_id}}/contacts?page=1&limit=10","description":"<p>To retrieve the Contacts associated with a Campaign Message, make a <code>GET</code> request with <code>campaign_id</code> and <code>message_id</code> in the URL.</p>\n<p>Supports pagination and filtering via <code>page</code>, <code>limit</code>, <code>sort_by</code>, <code>sort_order</code> and <code>filtering</code> parameters.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","campaigns","{{campaign_id}}","messages","{{message_id}}","contacts"],"host":["api","wcx","cloud"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Number of results per page</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[]}},"response":[{"id":"6b8ec002-6bef-4e4f-beec-10bd91a3c293","name":"Get Campaign Message Contacts","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wcx.cloud/core/v1/nitro/campaigns/1321/messages/msg-abc123/contacts?page=1&limit=10","protocol":"https","host":["api","wcx","cloud"],"path":["core","v1","nitro","campaigns","1321","messages","msg-abc123","contacts"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"tracking_id\": \"wa_3264\",\n            \"contact_id\": \"19372467\",\n            \"phone\": \"5493533683773\",\n            \"channel\": \"whatsapp\",\n            \"status\": \"sent\",\n            \"created_at\": \"2026-03-04 20:00:03\",\n            \"case_id\": 0,\n            \"channel_detail\": {\n                \"whatsapp_id\": \"98e04e8f-c159-4c7f-9d68-de7d5659e536\",\n                \"sent_at\": \"2026-03-04 20:00:05\",\n                \"delivered_at\": \"\",\n                \"last_open_date\": \"\",\n                \"last_click_date\": \"\"\n            }\n        },\n        {\n            \"tracking_id\": \"wa_3265\",\n            \"contact_id\": \"19276265\",\n            \"phone\": \"541156929370\",\n            \"channel\": \"whatsapp\",\n            \"status\": \"sent\",\n            \"created_at\": \"2026-03-04 20:00:03\",\n            \"case_id\": 0,\n            \"channel_detail\": {\n                \"whatsapp_id\": \"6ec7e5fc-fb1d-4365-b1c4-3b4b56f50417\",\n                \"sent_at\": \"2026-03-04 20:00:07\",\n                \"delivered_at\": \"\",\n                \"last_open_date\": \"\",\n                \"last_click_date\": \"\"\n            }\n        }\n    ],\n    \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 10,\n        \"total_items\": 2,\n        \"total_pages\": 1\n    }\n}"}],"_postman_id":"04bc7b9b-b0fb-4338-ab4e-464fba21729a"},{"name":"Preprocess Email HTML","id":"8641cf6f-5454-48f5-8d88-f0824c84c9bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"html\": \"<html><body><h1>Hello {{name}}</h1><p>Your order is on its way.</p></body></html>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wcx.cloud/core/v1/nitro/html-preview","description":"<p>Sends an email HTML block to be preprocessed by the platform and returns the resulting HTML inside <code>data</code>.</p>\n<p>Useful to validate and preview the HTML of an email with the substitutions and transformations applied by the platform (tracking, unsubscribe links, inlined styles, etc.).</p>\n<h4 id=\"body\">Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>html</td>\n<td>string</td>\n<td><strong>yes</strong></td>\n<td>HTML content to preprocess</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"errors\">Errors</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP</th>\n<th>Message</th>\n<th>Condition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>\"html is required.\"</code></td>\n<td><code>html</code> is missing or empty</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>\"HTML preview could not be processed.\"</code></td>\n<td>The backend could not preprocess the HTML</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","nitro","html-preview"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[],"_postman_id":"8641cf6f-5454-48f5-8d88-f0824c84c9bb"}],"id":"828eb33d-59f9-493e-981c-80ab40ea6d39","description":"<p>The<code>nitro</code> endpoint allows the handling and management of WiseCX campaigns.</p>\n<p>Through this endpoint it is possible to send <strong>WhatsApp messages,</strong> <strong>phone calls</strong> as well as <strong>emails</strong>, depending on the configuration associated with the campaign to be executed within WiseCX.</p>\n","_postman_id":"828eb33d-59f9-493e-981c-80ab40ea6d39","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Types","item":[{"name":"Types Retrieval","id":"d9ee664b-cb2c-4afe-9788-6fbf44735b0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/types","description":"<p>To obtain the list of Types from the standalone <code>/v1/types</code> endpoint, send a <code>GET</code> indicating the required fields through the <code>fields</code> parameter. The possible fields are:</p>\n<p><code>id,name,parent_id</code></p>\n<p>It supports pagination and filtering through the <code>page</code>, <code>limit</code>, <code>sort_by</code>, <code>sort_order</code> and <code>filtering</code> parameters.</p>\n<blockquote>\n<p><strong>Note:</strong> This endpoint is equivalent to <code>GET /v1/cases/types</code> and returns the same resource.</p>\n</blockquote>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","types"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"49662f89-4458-46b0-b08e-a17cbffa45f9","name":"Types Retrieval","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wcx.cloud/core/v1/types?fields=id,name,parent_id","protocol":"https","host":["api","wcx","cloud"],"path":["core","v1","types"],"query":[{"key":"fields","value":"id,name,parent_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 10,\n            \"name\": \"Inquiry\",\n            \"parent_id\": 1\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Press\",\n            \"parent_id\": 0\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Sales\",\n            \"parent_id\": 5\n        }\n    ]\n}"}],"_postman_id":"d9ee664b-cb2c-4afe-9788-6fbf44735b0a"}],"id":"eafb313d-df12-4608-b411-46c6245ab3d2","description":"<p>The <code>/v1/types</code> endpoint returns the list of Wise CX Types as a standalone resource. It supports pagination and filtering through the standard <code>fields</code>, <code>page</code>, <code>limit</code> and <code>filtering</code> parameters.</p>\n","_postman_id":"eafb313d-df12-4608-b411-46c6245ab3d2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}},{"name":"Channels","item":[{"name":"Fetching Channels","id":"c4c422d6-83e7-4188-b1d0-3590910a40f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wcx.cloud/core/v1/channels","description":"<p>To retrieve the list of integrated channels, you must perform a <code>GET</code> request, specifying the required fields using the <code>fields</code> parameter. Available fields are:</p>\n<p><code>id, name, source.</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}},"urlObject":{"protocol":"https","path":["core","v1","channels"],"host":["api","wcx","cloud"],"query":[],"variable":[]}},"response":[{"id":"8dbaa03a-bccf-44a9-aa35-2ee5251e9b15","name":"Fetching Channels","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wcx.cloud/core/v1/channels?fields=id,name,source","protocol":"https","host":["api","wcx","cloud"],"path":["core","v1","channels"],"query":[{"key":"fields","value":"id,name,source"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"id\": \"11330\",\r\n            \"name\": \"Chat Online phonebar\",\r\n            \"source\": \"chat\"\r\n        },\r\n        {\r\n            \"id\": \"17029\",\r\n            \"name\": \"tk.qaphonebar@wcentrix.net\",\r\n            \"source\": \"email\"\r\n        },\r\n        {\r\n            \"id\": \"596\",\r\n            \"name\": \"QA Wise CX\",\r\n            \"source\": \"incoming_whatsapp\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"c4c422d6-83e7-4188-b1d0-3590910a40f5"}],"id":"ccd75ec9-7682-41f7-aa85-2b163824918d","description":"<p>The <code>channels</code> endpoint allows you to retrieve the list of channels integrated into Wise CX</p>\n","_postman_id":"ccd75ec9-7682-41f7-aa85-2b163824918d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"f95666c9-5d07-4c26-828a-e72f4d510fef","id":"f95666c9-5d07-4c26-828a-e72f4d510fef","name":"WiseCX API · v1 (English)","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"5b39be68-8884-4394-89c3-61c35d1cac2a"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"60da8ce6-a316-451b-89f4-771b6afb6470"}}],"variable":[{"key":"baseUrl","value":"https://5tiqmkle31.execute-api.us-east-1.amazonaws.com/dev"}]}