{"info":{"_postman_id":"f6668c5a-9bc7-44ad-a3c2-c4c78b736367","name":"API Cxpress","description":"<html><head></head><body><p><a href=\"https://documenter.getpostman.com/view/45421173/2sB2qi8HcV\">Portuguese version (BR)</a></p>\n<p><a href=\"https://documenter.getpostman.com/view/45421173/2sB2x6mXha\">Spanish version (neutral latin)</a></p>\n<p>Welcome to the Cxpress Integration API Documentation</p>\n<p>This document presents the technical specifications for the available requests to interact with the API, allowing for queries and modifications from external applications. It also includes instructions for generating the authentication token, which is essential to ensure secure access to the endpoints. This guide aims to provide all the necessary information for efficient, structured, and reliable API consumption, enabling safe and standardised integration with external systems.</p>\n<h3 id=\"structure\"><strong>Structure</strong></h3>\n<ol>\n<li><p>The documentation is organised by versions, prioritising the most recent version of the API.</p>\n</li>\n<li><p>If a specific endpoint is not documented in the latest version, the endpoint available in the most recent version in which it is documented should be used.</p>\n</li>\n<li><p>The Cxpress API has a limit of 300 requests per minute per IP address. If this limit is exceeded within a 60-second period, a 10-minute security block will be automatically applied to the IP address responsible for the requests.</p>\n</li>\n</ol>\n<h1 id=\"creating-an-integration-entity\"><strong>Creating an Integration Entity</strong></h1>\n<p>To create a new integration entity, a user with the COMPANY OWNER profile must follow the path below within the platform:</p>\n<p><strong>Sidebar Menu → Configurations → Company → API</strong></p>\n<img src=\"https://content.pstmn.io/17c6228e-1891-4b92-a1ab-3c0646e0beb6/aW1hZ2UucG5n\" width=\"449\" height=\"238\">\n\n<p>On the API screen, click the button located in the upper corner of the interface:</p>\n<img src=\"https://content.pstmn.io/927243fc-0e46-4b6e-93d4-3ffbb7e512a1/aW1hZ2UucG5n\" width=\"140\" height=\"58\">\n\n<p>When this button is clicked, a modal will be displayed where the following information must be provided:</p>\n<ul>\n<li><p><strong>Token name</strong>: Identification name for the integration entity.</p>\n</li>\n<li><p><strong>Permissions</strong>: Selection of the endpoints the token will be allowed to access.</p>\n</li>\n</ul>\n<img src=\"https://content.pstmn.io/f6e51287-9520-4510-bcb7-a76c06939b87/aW1hZ2UucG5n\" width=\"587\" height=\"504\">\n\n<p>Once the integration entity is created, the <strong>API Token</strong> and <strong>Refresh Token</strong> will be generated and made available to the user. These tokens allow authentication of requests and enable modifications within the Cxpress platform via integration with external systems.</p>\n<p>⚠️ <strong>Important</strong>: Tokens are displayed only once after creation. Ensure they are stored securely.</p>\n<img src=\"https://content.pstmn.io/80eca823-4ccf-49fc-a290-cb8ada012f3e/aW1hZ2UucG5n\" width=\"587\" height=\"433\">\n\n<h4 id=\"token-validity-and-management\"><strong>Token Validity and Management</strong></h4>\n<ul>\n<li><p>The <strong>API Token</strong> is valid for 1 hour. After this period, it is automatically invalidated.</p>\n</li>\n<li><p>The <strong>Refresh Token</strong> is valid for 168 hours (7 days). After expiry, it is no longer possible to generate new access tokens from it.</p>\n</li>\n</ul>\n<p>The integration token will appear in the list within the interface, but it cannot be edited. If access permissions need to be changed, the user must create a new token and define the required permissions during creation.</p>\n<img src=\"https://content.pstmn.io/10914637-4021-4ff6-9039-1766f9739eef/aW1hZ2UucG5n\" width=\"513\" height=\"272\">\n\n<p>The <strong>Endpoints 1.0</strong> section of this document details the responses of all endpoints accessible via an integration token, along with instructions on how to use them.</p>\n<h1 id=\"webhook-configuration\"><strong>Webhook Configuration</strong></h1>\n<p>The webhook functionality allows external systems to be automatically notified whenever specific events occur within the Cxpress platform.</p>\n<p>On the API screen, click the button located above the token listing:</p>\n<img src=\"https://content.pstmn.io/02fc29c6-db10-4c8b-ae45-4dadae42808b/aW1hZ2UucG5n\" width=\"243\" height=\"110\">\n\n<h4 id=\"configuration-fields\"><strong>Configuration Fields</strong></h4>\n<p>When this button is clicked, a modal will appear where the following information must be filled in:</p>\n<ul>\n<li><p><strong>Endpoint</strong>: The destination URL to which event notifications will be sent. This is the address configured to receive HTTP requests generated by the webhook mechanism.</p>\n</li>\n<li><p><strong>Events</strong>: Allows the selection of events that should trigger notifications to the configured endpoint. The following types of events can be enabled individually:</p>\n<ul>\n<li><p><strong>Creation (</strong><code>create</code><strong>)</strong> – Triggered when one of the available entities is created in Cxpress.</p>\n</li>\n<li><p><strong>Update (</strong><code>update</code><strong>)</strong> – Triggered when one of the available entities is modified in Cxpress.</p>\n</li>\n</ul>\n</li>\n</ul>\n<img src=\"https://content.pstmn.io/4fcb25b7-72c4-47fb-848f-13fb390faa1b/aW1hZ2UucG5n\" width=\"587\" height=\"418\">\n\n<h4 id=\"available-entities\"><strong>Available Entities</strong></h4>\n<p>Webhook notifications cover events related to the following entity types:</p>\n<ul>\n<li><p>Consumer</p>\n</li>\n<li><p>Ticket</p>\n</li>\n<li><p>Task</p>\n</li>\n<li><p>Department</p>\n</li>\n<li><p>Ticket Tags</p>\n</li>\n<li><p>Consumer Tags</p>\n</li>\n<li><p>Custom Fields</p>\n</li>\n</ul>\n<h4 id=\"how-it-works\"><strong>How It Works</strong></h4>\n<p>When an event type (Creation or Update) is enabled, the system will automatically send an HTTP POST notification to the configured endpoint whenever the corresponding action occurs for a supported entity.</p>\n<p>The request payload will include the updated or newly created data of the entity, allowing the external system to respond to changes in real time.</p>\n<h4 id=\"example-use-case\"><strong>Example Use Case</strong></h4>\n<p>When the <strong>create</strong> event is enabled, the configured endpoint will be triggered whenever one of the available entities is created in the system. The request sent to the endpoint will contain, in its body (payload), the data of the newly created entity.</p>\n<p>For example, in the case of a creation event for the <strong>Department</strong> entity, the request body will be structured as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"entity\": \"sector\",\n  \"type\": \"create\",\n  \"data\": {\n    \"id\": \"4f36f4aa-78do-462d-bcoa-a74beb69452b\",\n    \"company id\": \"G6cce6aBge-Oaeo-4e4c-Seac-e7d5ecaafaa7\",\n    \"name\": \"Setor teste\",\n    \"updated at\": \"2025-05-08T16:02:37.5692\",\n    \"deleted at\": null,\n    \"active\": true,\n    \"created at\": \"2025-05-08T16:02:37.5692\",\n    \"employees user ids\": [\n      \"981c9949-2327-4fO0e-98d2-2a61f7ecbeaf\",\n      \"feda355a-a75b-4a8a-b599-e2do2c23f983\"\n    ],  \n    \"key words\": [\n      \"esquerda\"\n    ]\n  }\n}\n\n</code></pre>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Creating an Integration Entity","slug":"creating-an-integration-entity"},{"content":"Webhook Configuration","slug":"webhook-configuration"}],"owner":"45421173","collectionId":"f6668c5a-9bc7-44ad-a3c2-c4c78b736367","publishedId":"2sB2x6msBP","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"232960"},"publishDate":"2025-06-13T17:50:42.000Z"},"item":[{"name":"Endpoints 1.0","item":[{"name":"Update Token","id":"f70db0e0-085c-40d6-a5ae-cc6cbe6ec3e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"refresh_token\": \"{Refresh_Token}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/update/token","description":"<p>Updates the API authentication token after it has expired.</p>\n<p>The request must include a JSON-formatted body containing a valid <strong>Refresh Token</strong>.</p>\n<p>The response will return:</p>\n<ul>\n<li><p>a new valid <strong>API Token</strong></p>\n</li>\n<li><p>a new valid <strong>Refresh Token</strong></p>\n</li>\n</ul>\n<p>This endpoint does <strong>not</strong> require permission to be enabled in the interface, unlike the other endpoints in this document.</p>\n","urlObject":{"protocol":"https","path":["external","update","token"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"d5837e35-9ea1-4ce8-bf71-5e4fe6c7f75c","name":"Update Token","originalRequest":{"method":"PUT","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"refresh_token\": \"Refresh_Token0Refresh_Token0Refresh_Token0Refresh_Token0Refresh_Token0Refresh_Token0Refresh_Token0Refresh_Token0Refresh_Token0Refresh_Token0Refresh_Token0Refresh_Token0Refresh_Token0Refresh_Token0Refresh_Token0Refresh_Token0Refresh_Token0Refresh_Token0Refresh_Token0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/update/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"Request successfully fulfilled.\",\r\n\t\"code_cxpress\": 6700,\r\n\t\"token\": \"Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1Token1\",\r\n\t\"refresToken\": \"Refresh_Token1Refresh_Token1Refresh_Token1Refresh_Token1Refresh_Token1Refresh_Token1Refresh_Token1Refresh_Token1Refresh_Token1Refresh_Token1Refresh_Token1Refresh_Token1Refresh_Token1Refresh_Token1Refresh_Token1Refresh_Token1Refresh_Token1Refresh_Token1\"\r\n}"}],"_postman_id":"f70db0e0-085c-40d6-a5ae-cc6cbe6ec3e5"},{"name":"List Consumers","id":"18418b46-663c-4aa1-88d9-61a844375896","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/consumer","description":"<p>Returns information on all consumers linked to the company.</p>\n<p>Supports query parameters.</p>\n","urlObject":{"protocol":"https","path":["external","consumer"],"host":["api","cxpress","io"],"query":[{"disabled":true,"description":{"content":"<p>Defines the maximum number of consumers to be returned per page.</p>\n","type":"text/plain"},"key":"limit","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Specifies the page number to be returned in the paginated list of consumers.</p>\n","type":"text/plain"},"key":"page","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Allows filtering of consumers based on a search string. The search is applied to the following fields: 'name', 'email', 'document_number', 'phone', 'whatsapp', 'instagram', 'twitter', 'facebook', 'youtube', and 'address'.</p>\n","type":"text/plain"},"key":"search","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Defines the field by which results should be sorted. Currently supported value: 'name'.</p>\n","type":"text/plain"},"key":"sort_by","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Indicates the direction of the sorting. Allowed values: 'asc' (ascending order) or 'desc' (descending order).</p>\n","type":"text/plain"},"key":"order_by","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters consumers based on an array of consumer tag IDs. Values should be comma-separated. Example: tag_id1,tag_id2,tag_id3.</p>\n","type":"text/plain"},"key":"tags","value":"array[string], optional"},{"disabled":true,"description":{"content":"<p>Filters consumers based on an array of operator IDs. Values should be comma-separated. Example: employee_id1,employee_id2,employee_id3.</p>\n","type":"text/plain"},"key":"employee","value":"array[string], optional"},{"disabled":true,"description":{"content":"<p>Determines whether the filter should consider all consumer tags registered in the company. Accepted values: 'true' or 'false'.</p>\n","type":"text/plain"},"key":"allTags","value":"boolean, optional"},{"disabled":true,"description":{"content":"<p>Filters consumers who were automatically created when contacting the company via the Telephony channel. Accepted values: 'true' or 'false'.</p>\n","type":"text/plain"},"key":"is_for_dialer","value":"boolean, optional"}],"variable":[]}},"response":[{"id":"c5f8deaa-6edb-4694-819f-577ce8ed3b6d","name":"List Consumers","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/consumer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"successfully.\",\r\n\t\"consumers\": [\r\n\t\t{\r\n\t\t\t\"name\": \"01\",\r\n\t\t\t\"lastname\": null,\r\n\t\t\t\"user_id\": \"6d2904bd-cadc-40a3-9ac8-b7b13c0ae1a9\",\r\n\t\t\t\"email\": null,\r\n\t\t\t\"document_number\": null,\r\n\t\t\t\"phone\": \"558765876699\",\r\n\t\t\t\"address\": null,\r\n\t\t\t\"whatsapp\": null,\r\n\t\t\t\"employee_user_id\": null,\r\n\t\t\t\"direct_attendance_n2\": false,\r\n\t\t\t\"created_by_employee\": \"false\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"name\": \"02 espanha\",\r\n\t\t\t\"lastname\": null,\r\n\t\t\t\"user_id\": \"2bcf3319-09a3-4fd2-82f4-e3c6fb88beda\",\r\n\t\t\t\"email\": null,\r\n\t\t\t\"document_number\": null,\r\n\t\t\t\"phone\": \"34612345678\",\r\n\t\t\t\"address\": null,\r\n\t\t\t\"whatsapp\": null,\r\n\t\t\t\"employee_user_id\": null,\r\n\t\t\t\"direct_attendance_n2\": false,\r\n\t\t\t\"created_by_employee\": \"false\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"name\": \"11\",\r\n\t\t\t\"lastname\": null,\r\n\t\t\t\"user_id\": \"a1874711-399a-45d9-98bf-63d39ddad466\",\r\n\t\t\t\"email\": \"1@email.com\",\r\n\t\t\t\"document_number\": null,\r\n\t\t\t\"phone\": null,\r\n\t\t\t\"address\": null,\r\n\t\t\t\"whatsapp\": null,\r\n\t\t\t\"employee_user_id\": null,\r\n\t\t\t\"direct_attendance_n2\": false,\r\n\t\t\t\"created_by_employee\": \"true\"\r\n\t\t}\r\n    ],\r\n\t\"code_cxpress\": 1400,\r\n\t\"pagination\": {\r\n\t\t\"total\": 3,\r\n\t\t\"lastPage\": 1,\r\n\t\t\"prevPage\": null,\r\n\t\t\"nextPage\": null,\r\n\t\t\"perPage\": 100,\r\n\t\t\"currentPage\": 1,\r\n\t\t\"from\": 0,\r\n\t\t\"to\": 100\r\n\t}\r\n}"}],"_postman_id":"18418b46-663c-4aa1-88d9-61a844375896"},{"name":"Show consumer","id":"624bff85-33c3-4baa-97c7-d5be62ecd79b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/consumer/{user_id}","description":"<p>Displays the information of a specific consumer.  </p>\n<p>The consumer’s <code>user_id</code> must be provided in the endpoint, similar to the example shown in the cURL under \"Example\".</p>\n","urlObject":{"protocol":"https","path":["external","consumer","{user_id}"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"56d7e2fa-0059-4f94-97f7-144fbafffd7c","name":"Show consumer","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/consumer/191efbd3-1cab-4f7e-8ec1-7ae173e57dc3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"successfully.\",\r\n\t\"consumers\": [\r\n\t\t{\r\n\t\t\t\"id\": \"6cf3a2fc-bf53-4a53-86bd-71e05cd4f41a\",\r\n\t\t\t\"user_id\": \"191efbd3-1cab-4f7e-8ec1-7ae173e57dc3\",\r\n\t\t\t\"name\": \"Marcos 2\",\r\n\t\t\t\"lastname\": null,\r\n\t\t\t\"document_number\": null,\r\n\t\t\t\"email\": \"email@gmail.com\",\r\n\t\t\t\"phone\": null,\r\n\t\t\t\"instagram\": null,\r\n\t\t\t\"twitter\": null,\r\n\t\t\t\"facebook\": null,\r\n\t\t\t\"youtube\": null,\r\n\t\t\t\"whatsapp\": null,\r\n\t\t\t\"address\": null,\r\n\t\t\t\"observations\": null,\r\n\t\t\t\"webchat\": null,\r\n\t\t\t\"employee_user_id\": null,\r\n\t\t\t\"instagram_user\": null,\r\n\t\t\t\"facebook_user\": null,\r\n\t\t\t\"line_type_whatsapp\": null,\r\n\t\t\t\"direct_attendance_n2\": false,\r\n\t\t\t\"created_by_employee\": \"true\",\r\n\t\t\t\"tags\": [\r\n\t\t\t\tnull\r\n\t\t\t],\r\n\t\t\t\"custom_fields\": []\r\n\t\t}\r\n\t],\r\n\t\"code_cxpress\": 1400\r\n}"}],"_postman_id":"624bff85-33c3-4baa-97c7-d5be62ecd79b"},{"name":"Create Consumer","id":"d05f2d01-ae32-4a85-8dc1-01fcbc5d5c3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"string\",\r\n  \"lastname\": \"string\",\r\n  \"document_number\": \"string\",\r\n  \"email_addresses\": [\r\n    \"email@email.com\"\r\n    ],\r\n  \"phone\": \"Phone number in the format: Country Code + Area Code + Number\",\r\n  \"twitter\": \"string\",\r\n  \"observations\": \"string\",\r\n  \"youtube\": \"string\",\r\n  \"address\": \"string\",\r\n  \"whatsapp_numbers\": [\r\n    \"Phone number in the format: Country Code + Area Code + Number\"\r\n    ],\r\n  \"custom_fields\": [\r\n    {\r\n      \"custom_field_id\": \"id\",\r\n      \"value\": [\r\n        \"Text only | Digits only | All character types\"\r\n      ]\r\n    }\r\n  ],\r\n  \"employee_user_id\": \"id\",\r\n  \"tags\": [\r\n    \"id\"\r\n  ],\r\n  \"direct_attendance_n2\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/consumer","description":"<p>Creates a new consumer linked to the company.</p>\n<p>The request must include a JSON-formatted body with the following required field:</p>\n<ul>\n<li><p><strong><code>name</code></strong> (<em>string</em>) – Consumer’s first name</p>\n<ul>\n<li>Must be a string.</li>\n</ul>\n</li>\n</ul>\n<p>Optional fields:</p>\n<ul>\n<li><p><strong><code>lastname</code></strong> (<em>string</em>) – Consumer’s surname</p>\n<ul>\n<li>Must be a string.</li>\n</ul>\n</li>\n<li><p><strong><code>document_number</code></strong> (<em>string</em>) – Consumer’s document number</p>\n<ul>\n<li>Must be a string.</li>\n</ul>\n</li>\n<li><p><strong><code>email_addresses []</code></strong> (<em>array[string])</em> – Consumer email address(es)</p>\n<ul>\n<li>Must be filled in with one or more valid email addresses.</li>\n</ul>\n</li>\n<li><p><strong><code>phone</code></strong> (<em>string</em>) – Consumer’s phone number</p>\n<ul>\n<li><p>Must be a valid phone number in the format: CountryCode + AreaCode + Number</p>\n</li>\n<li><p>Example: <code>551121222324</code></p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>twitter</code></strong> (<em>string</em>) – Consumer’s Twitter handle</p>\n<ul>\n<li>Must be a string.</li>\n</ul>\n</li>\n<li><p><strong><code>observations</code></strong> (<em>string</em>) – Observations about the consumer</p>\n<ul>\n<li>Must be a string.</li>\n</ul>\n</li>\n<li><p><strong><code>youtube</code></strong> (<em>string</em>) – Consumer’s YouTube username</p>\n<ul>\n<li>Must be a string.</li>\n</ul>\n</li>\n<li><p><strong><code>address</code></strong> (<em>string</em>) – Consumer’s address</p>\n<ul>\n<li>Must be a string.</li>\n</ul>\n</li>\n<li><p><strong><code>whatsapp_numbers []</code></strong> _(array_[<em>string]</em>) – Consumer’s WhatsApp number</p>\n<ul>\n<li><p>Must be filled in with one or more valid phone numbers, using the format: Country code + Area code + number.</p>\n<ul>\n<li>Example: <code>5511999887766</code></li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong><code>custom_fields</code></strong> (<em>array[object]</em>) – Custom fields associated with the consumerEach object must contain:</p>\n<ul>\n<li><p><code>id</code> (<em>string</em>) – Custom field ID</p>\n</li>\n<li><p><code>value</code> (<em>string</em>) – Value according to the field type</p>\n</li>\n<li><p>⚠️ Only <strong>consumer</strong> custom fields are accepted. Using <strong>ticket</strong> custom fields will cause an error. Field value rules:</p>\n<ul>\n<li><p><em>Text</em>: Letters only (a–z, A–Z), including accented characters (e.g. é, ã, ç). No spaces.</p>\n</li>\n<li><p><em>Numeric</em>: Digits only (0–9). No spaces.</p>\n</li>\n<li><p><em>General</em>: Accepts any character, including spaces and special symbols.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong><code>employee_user_id</code></strong> (<em>string</em>) – ID of the operator responsible for the consumer</p>\n<ul>\n<li>Must be the <code>user_id</code> of an existing operator.</li>\n</ul>\n</li>\n<li><p><strong><code>tags</code></strong> (<em>array[string]</em>) – List of tag IDs associated with the consumer</p>\n<ul>\n<li><p>Must be an array of strings. Each string represents a consumer tag <code>id</code>.</p>\n</li>\n<li><p>Tags must have the <code>active</code> field set to <code>true</code>.</p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>direct_attendance_n2</code></strong> (<em>boolean</em>) – Indicates whether the consumer should be directly routed to a human agent (Level 2), bypassing the chatbot (Level 1)</p>\n<ul>\n<li><p><code>false</code>: default behaviour via chatbot</p>\n</li>\n<li><p><code>true</code>: ticket is created directly under human support</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"uniqueness-rules\">Uniqueness rules</h4>\n<p>The consumer creation will be rejected if any value in the following fields already exists for another consumer, in order to prevent data duplication:</p>\n<ul>\n<li><p><code>document_number</code></p>\n</li>\n<li><p><code>email_addresses</code></p>\n</li>\n<li><p><code>phone</code></p>\n</li>\n<li><p><code>twitter</code></p>\n</li>\n<li><p><code>youtube</code></p>\n</li>\n<li><p><code>whatsapp_numbers</code></p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["external","consumer"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"e77852c4-bc3e-4472-94ca-fd449f552231","name":"Create Consumer","originalRequest":{"method":"POST","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"abcde\",\r\n    \"lastname\": \"fghi\",\r\n    \"whatsapp_numbers\": [\r\n        \"5581999887766\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/consumer"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"successfully.\",\r\n\t\"consumers\": [\r\n\t\t{\r\n\t\t\t\"id\": \"77110679-5c1c-4fae-b0ae-ddff5d3f1f94\",\r\n\t\t\t\"user_id\": \"5ccb32d0-63be-4f51-8bdc-145af4f7977a\",\r\n\t\t\t\"name\": \"abcde\",\r\n\t\t\t\"lastname\": \"fghi\",\r\n\t\t\t\"document_number\": null,\r\n\t\t\t\"email\": null,\r\n\t\t\t\"phone\": null,\r\n\t\t\t\"instagram\": null,\r\n\t\t\t\"twitter\": null,\r\n\t\t\t\"facebook\": null,\r\n\t\t\t\"youtube\": null,\r\n\t\t\t\"whatsapp\": null,\r\n\t\t\t\"address\": null,\r\n\t\t\t\"observations\": null,\r\n\t\t\t\"webchat\": null,\r\n\t\t\t\"employee_user_id\": null,\r\n\t\t\t\"instagram_user\": null,\r\n\t\t\t\"facebook_user\": null,\r\n\t\t\t\"line_type_whatsapp\": null,\r\n\t\t\t\"direct_attendance_n2\": false\r\n\t\t}\r\n\t],\r\n\t\"code_cxpress\": 1400\r\n}"}],"_postman_id":"d05f2d01-ae32-4a85-8dc1-01fcbc5d5c3c"},{"name":"Edit Consumer","id":"a7013a2f-05ef-4c91-84ca-e6ebef917e05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"id\": \"user_id\",\r\n  \"name\": \"string\",\r\n  \"lastname\": \"string\",\r\n  \"document_number\": \"string\",\r\n  \"email_addresses\": [\r\n    \"email@email.com\"\r\n    ],\r\n  \"phone\": \"Phone number in the format: Country Code + Area Code + Number\",\r\n  \"twitter\": \"string\",\r\n  \"observations\": \"string\",\r\n  \"youtube\": \"string\",\r\n  \"address\": \"string\",\r\n  \"whatsapp_numbers\": [\r\n    \"Phone number in the format: Country Code + Area Code + Number\"\r\n    ],\r\n  \"custom_fields\": [\r\n    {\r\n      \"custom_field_id\": \"id\",\r\n      \"value\": [\r\n        \"Text only | Digits only | All character types\"\r\n      ]\r\n    }\r\n  ],\r\n  \"employee_user_id\": \"id\",\r\n  \"tags\": [\r\n    \"id\"\r\n  ],\r\n  \"direct_attendance_n2\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/consumer","description":"<p>Updates the information of an existing consumer linked to the company.</p>\n<p>The request must include a JSON-formatted body with the following required field:</p>\n<ul>\n<li><p><strong><code>id</code></strong> (<em>string</em>) – Unique identifier of the consumer to be updated</p>\n<ul>\n<li>Must be filled with the <code>user_id</code> of the consumer.</li>\n</ul>\n</li>\n</ul>\n<p><strong>Edition rules:</strong></p>\n<p>1 - In addition to <code>id</code>, at least one of the following fields must be included for the update to proceed:</p>\n<p><strong>Minimum required fields:</strong></p>\n<ul>\n<li><p><code>name</code></p>\n</li>\n<li><p><code>lastname</code></p>\n</li>\n<li><p><code>phone</code></p>\n</li>\n<li><p><code>email_addresses</code></p>\n</li>\n<li><p><code>document_number</code></p>\n</li>\n<li><p><code>twitter</code></p>\n</li>\n<li><p><code>observations</code></p>\n</li>\n</ul>\n<p>2 - The following fields may not be updated while the customer has ongoing tickets, whether handled by a human agent or by a chatbot.</p>\n<ul>\n<li><p><code>email_addresses</code></p>\n</li>\n<li><p><code>whatsapp_numbers</code></p>\n</li>\n</ul>\n<p>3 - Other fields available for update follow the same validation rules as described in the <strong><code>Create Consumer</code></strong> endpoint.</p>\n<p>4 - Only the fields that will be updated must be sent in the body. The other fields that are already filled in and are not included in the body will remain with the same value after the edit request is executed.</p>\n","urlObject":{"protocol":"https","path":["external","consumer"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"64f7426f-aedd-49e6-8a35-885257ec2c00","name":"Edit Consumer","originalRequest":{"method":"PUT","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"id\": \"26f0945e-7d18-4782-8249-f3ff46e29b77\",\r\n\t\"name\": \"abcdfgh\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/consumer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n\t\"message\": \"Consumer successfully updated.\",\n\t\"consumer\": {\n\t\t\"id\": \"1c1f8aaf-88bf-4e1c-8248-1984116b7e37\",\n\t\t\"user_id\": \"26f0945e-7d18-4782-8249-f3ff46e29b77\",\n\t\t\"lastname\": null,\n\t\t\"document_number\": null,\n\t\t\"email\": null,\n\t\t\"phone\": null,\n\t\t\"instagram\": null,\n\t\t\"twitter\": null,\n\t\t\"facebook\": null,\n\t\t\"youtube\": null,\n\t\t\"whatsapp\": null,\n\t\t\"address\": null,\n\t\t\"observations\": null,\n\t\t\"webchat\": null,\n\t\t\"instagram_user\": null,\n\t\t\"facebook_user\": null,\n\t\t\"line_type_whatsapp\": null,\n\t\t\"direct_attendance_n2\": false,\n        \"whatsapp_numbers\": [\n\t\t\t{\n\t\t\t\t\"number\": \"5511999887766\",\n\t\t\t\t\"line_type\": \"mobile\"\n\t\t\t}\n\t\t],\n\t\t\"email_addresses\": null,\n\t\t\"custom_fields\": []\n\t},\n\t\"code_cxpress\": 1400\n}"}],"_postman_id":"a7013a2f-05ef-4c91-84ca-e6ebef917e05"},{"name":"Delete Consumer","id":"28735fd1-1f9d-4394-8e1f-9dd9b65333e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/consumer/{user_id}","description":"<p>Deletes a consumer from the company.</p>\n<p>The ID of the consumer to be deleted must be specified in the endpoint URL, as shown in the cURL <strong>Example</strong>.</p>\n<p>If the consumer has tickets with statuses such as <code>New</code>, <code>Open</code>, <code>Pending</code>, or <code>On Hold</code> at the time of deletion, all these ongoing tickets will be automatically closed. They will no longer appear in the ticket list.</p>\n","urlObject":{"protocol":"https","path":["external","consumer","{user_id}"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"3fb7f4ed-6c6e-40fd-9a42-b7ab4c25eb56","name":"Delete Consumer","originalRequest":{"method":"DELETE","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/consumer/26f0945e-7d18-4782-8249-f3ff46e29b77"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"Consumer successfully deleted.\",\r\n\t\"code_cxpress\": 1400\r\n}"}],"_postman_id":"28735fd1-1f9d-4394-8e1f-9dd9b65333e8"},{"name":"List Consumer Tags","id":"dc96c3a4-08e8-4173-a829-1f1237966b53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/consumer-tag","description":"<p>Returns information on all consumer tags linked to the company.</p>\n<p>Supports query parameters.</p>\n","urlObject":{"protocol":"https","path":["external","consumer-tag"],"host":["api","cxpress","io"],"query":[{"disabled":true,"description":{"content":"<p>Specifies the page number to be returned in the paginated list of consumer tags.</p>\n","type":"text/plain"},"key":"page","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Defines the maximum number of consumer tags to be returned per page.</p>\n","type":"text/plain"},"key":"limit","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return either active or inactive consumer tags. This parameter must be set to 'true' (active tags) or 'false' (inactive tags).</p>\n","type":"text/plain"},"key":"active","value":"boolean, optional"},{"disabled":true,"description":{"content":"<p>Allows filtering of consumer tags based on a search string. The search is applied to the following fields: 'id' and 'name'.</p>\n","type":"text/plain"},"key":"search","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Defines the field by which results should be sorted. Currently supported values: 'name', 'reference_id', 'active', 'created_at'.</p>\n","type":"text/plain"},"key":"sort_by","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Indicates the direction of the sorting. Allowed values: 'asc' (ascending order) or 'desc' (descending order).</p>\n","type":"text/plain"},"key":"order_by","value":"string, optional"}],"variable":[]}},"response":[{"id":"d8893fc2-7497-45fb-ae16-5a2d2c9ad4d9","name":"List Consumer Tags","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/consumer-tag"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"Request successfully fulfilled.\",\r\n\t\"tags\": [\r\n\t\t{\r\n\t\t\t\"id\": \"74cccdc3-8bb8-4f51-9108-92708dcdffb0\",\r\n\t\t\t\"reference_id\": 38,\r\n\t\t\t\"name\": \"atag\",\r\n\t\t\t\"active\": false,\r\n\t\t\t\"created_at\": \"2024-10-02T12:11:04.904Z\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"aedd89db-f829-4879-883b-a5986c4935b8\",\r\n\t\t\t\"reference_id\": 54,\r\n\t\t\t\"name\": \"a_teste\",\r\n\t\t\t\"active\": true,\r\n\t\t\t\"created_at\": \"2024-12-30T18:04:26.897Z\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"2baf9081-a458-4f84-9649-ee25d1c4aea0\",\r\n\t\t\t\"reference_id\": 1,\r\n\t\t\t\"name\": \"con12\",\r\n\t\t\t\"active\": true,\r\n\t\t\t\"created_at\": \"2024-04-08T13:50:30.572Z\"\r\n\t\t}\r\n\t],\r\n\t\"code_cxpress\": 5500,\r\n\t\"pagination\": {\r\n\t\t\"total\": 3,\r\n\t\t\"lastPage\": 1,\r\n\t\t\"prevPage\": null,\r\n\t\t\"nextPage\": null,\r\n\t\t\"perPage\": 100,\r\n\t\t\"currentPage\": 1,\r\n\t\t\"from\": 0,\r\n\t\t\"to\": 3\r\n\t}\r\n}"}],"_postman_id":"dc96c3a4-08e8-4173-a829-1f1237966b53"},{"name":"Create Consumer Tag","id":"4b1b8025-662e-4701-b145-13bd8b869e0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"active\": true,\r\n  \"name\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/consumer-tag","description":"<p>Creates a consumer tag linked to the company.</p>\n<p>This consumer tag can be associated with a consumer via the <strong><code>Create Consumer</code></strong> and <strong><code>Edit Consumer</code></strong> endpoints, provided that the <code>active</code> field is set to <code>true</code>.</p>\n<p>The request body must be in JSON format and include the following <strong>required</strong> fields:</p>\n<ul>\n<li><p><strong><code>active</code></strong> (<em>boolean</em>) – Field indicating whether the consumer tag is active</p>\n<ul>\n<li>Must be <code>true</code> or <code>false</code>.</li>\n</ul>\n</li>\n<li><p><strong><code>name</code></strong> (<em>string</em>) – Name of the consumer tag</p>\n<ul>\n<li><p>Must be a string.</p>\n</li>\n<li><p>The name must be <strong>unique</strong> – it cannot match the name of an existing consumer tag.</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["external","consumer-tag"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"adc3b11f-78bf-48b7-a4f8-200b9ab07ad8","name":"Create Consumer Tag","originalRequest":{"method":"POST","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"active\": true,\r\n  \"name\": \"teste2905\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/consumer-tag"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Request successfully fulfilled.\",\n    \"code_cxpress\": 5500\n}"}],"_postman_id":"4b1b8025-662e-4701-b145-13bd8b869e0e"},{"name":"Edit Consumer Tag","id":"469e1be0-bbbd-4602-a9ef-6693da44929c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"active\": true,\r\n  \"name\": \"string\",\r\n  \"id\": \"id\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/consumer-tag","description":"<p>Updates the information of a consumer tag linked to the company.</p>\n<p>The request must include a JSON-formatted body with the following field:</p>\n<ul>\n<li><p><strong><code>id</code></strong> (<em>string</em>) – Unique identifier of the consumer tag to be updated</p>\n<ul>\n<li>Must be a valid tag ID.</li>\n</ul>\n</li>\n</ul>\n<p>All other fields follow the same structure and validation rules as those described in the <strong><code>Create Consumer Tag</code></strong> endpoint.</p>\n","urlObject":{"protocol":"https","path":["external","consumer-tag"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"a6a483cf-31d2-42d8-ac9e-a2a001fdbf9e","name":"Edit Consumer Tag","originalRequest":{"method":"PUT","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"active\": true,\r\n  \"name\": \"teste2905\",\r\n\t\"id\": \"48a8ae11-0d70-408f-8a5b-973e58a3f85d\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/consumer-tag"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Request successfully fulfilled.\",\n    \"code_cxpress\": 5500,\n    \"tag\": {\n        \"id\": \"48a8ae11-0d70-408f-8a5b-973e58a3f85d\",\n        \"reference_id\": 55,\n        \"name\": \"teste2905\",\n        \"active\": true,\n        \"created_at\": \"2025-05-29T20:25:03.470Z\"\n    }\n}"}],"_postman_id":"469e1be0-bbbd-4602-a9ef-6693da44929c"},{"name":"List Tickets","id":"e0ed2f2f-b8a0-44eb-a4a6-bca67881bc62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/ticket","description":"<p>Returns information on all support tickets linked to the company.</p>\n<p>Query parameters are available.</p>\n","urlObject":{"protocol":"https","path":["external","ticket"],"host":["api","cxpress","io"],"query":[{"disabled":true,"description":{"content":"<p>Defines the maximum number of tickets to be returned per page.</p>\n","type":"text/plain"},"key":"limit","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Specifies the page number to be returned in the paginated list of tickets.</p>\n","type":"text/plain"},"key":"page","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets with a specific status. This parameter should be filled with a 'status_id' value. With the ticket status value being:\nNew - daddbd66-1dd2-4008-94c9-7fcb9b1a5800\nOpen- b58c1105-0ffe-4d07-a7d6-751389fc3008\nPending - 0ec35dbb-398e-4c2f-996c-933af162c950\nOn Hold - 3dd9b9ac-7399-4ce8-b22c-a513eb473803</p>\n","type":"text/plain"},"key":"status","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that belong to a specific channel. This parameter should be filled with a 'channel_id' value.</p>\n","type":"text/plain"},"key":"channel","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets assigned to a specific operator. This parameter should be filled with a 'user_id' value.</p>\n","type":"text/plain"},"key":"employee","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that involved chatbot interaction. This parameter must be 'true' or 'false'.</p>\n","type":"text/plain"},"key":"bot","value":"boolean, optional"},{"disabled":true,"description":{"content":"<p>Filters tickets based on an array of automation keys. Values should be comma-separated. Example: entity_key1,entity_key2,entity_key3.</p>\n","type":"text/plain"},"key":"automation","value":"array[string], optional"},{"disabled":true,"description":{"content":"<p>Filters tickets by date range. Must be used in conjunction with 'end_date'.</p>\n","type":"text/plain"},"key":"start_date","value":"data no formato ISO 8601 ex.: YYYY-MM-DD, optional"},{"disabled":true,"description":{"content":"<p>Filters tickets by date range. Must be used in conjunction with 'start_date'.</p>\n","type":"text/plain"},"key":"end_date","value":"data no formato ISO 8601 ex.: YYYY-MM-DD, optional"},{"disabled":true,"description":{"content":"<p>Allows filtering of tickets based on a search string. The search is applied to the ticket field: 'ticket_reference_id' and the consumer fields: 'name', 'lastname', 'email', 'whatsapp', and 'phone'.</p>\n","type":"text/plain"},"key":"search","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that belong to a specific sector. This parameter should be filled with a 'sector_id' value.</p>\n","type":"text/plain"},"key":"sector","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Indicates the direction of the sorting. Allowed values: 'asc' (ascending order) or 'desc' (descending order).</p>\n","type":"text/plain"},"key":"order_by","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Defines the field by which results should be sorted. Currently supported values: 'home_ticket_update_at' and 'updated_level2_at'.</p>\n","type":"text/plain"},"key":"sort_by","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters tickets based on an array of ticket tag IDs. Values should be comma-separated. Example: tag_id1,tag_id2,tag_id3.</p>\n","type":"text/plain"},"key":"tags","value":"array[string], optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that have or have not been read. This parameter must be 'true' (read) or 'false' (unread).</p>\n","type":"text/plain"},"key":"was_read","value":"boolean, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that either belong to a sector or not. This parameter must be 'true'.</p>\n","type":"text/plain"},"key":"is_all_sectors","value":"boolean, optional"}],"variable":[]}},"response":[{"id":"7b58a5a4-7f6c-4041-af1e-ac6f86100128","name":"List Tickets","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/ticket"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Request successfully fulfilled.\",\n    \"code_cxpress\": 700,\n    \"tickets\": [\n        {\n            \"id\": \"2f61bd86-ddd3-46c6-ab9e-03746502303f\",\n            \"status_id\": \"daddbd66-1dd2-4008-94c9-7fcb9b1a5800\",\n            \"updated_at\": \"2025-05-29T15:10:49.614Z\",\n            \"updated_level2_at\": \"2025-05-29T13:41:42.781Z\",\n            \"channel_id\": \"3f3fa530-fd3e-4018-ab98-4d9c3cd5406a\",\n            \"deleted_at\": null,\n            \"ticket_reference_id\": \"30595\",\n            \"subject\": \"test\",\n            \"who_is_viewing\": null,\n            \"consumer_last_message\": \"2025-05-29T13:41:43.156Z\",\n            \"processing\": false,\n            \"who_is_viewing_user_id\": null,\n            \"home_ticket_update_at\": \"2025-05-29T13:41:43.156Z\",\n            \"requester_user\": {\n                \"name\": \"Alana\",\n                \"lastname\": null\n            },\n            \"assigned_employee\": {\n                \"name\": null,\n                \"lastname\": null\n            },\n            \"sector\": {\n                \"id\": \"e937f3c3-2ad7-4e53-b02d-ae963c9a723f\",\n                \"name\": \"AAA Setor API teste\"\n            },\n            \"bold\": false,\n            \"last_message\": \"eteste\\n\\n-- \\n[image: Elife]\\n\\n[image: We deliver insights] \\n<https://elife.com.br/> *Alana Tenório*\\n_cel: *+55 87 99950-2991*\\n\\nwww.elife.com.br\\n\",\n            \"tags\": null,\n            \"custom_fiejds\": null\n        },\n        {\n            \"id\": \"6ff4ec2f-ebc9-447c-91ea-0758f0405fd9\",\n            \"status_id\": \"b58c1105-0ffe-4d07-a7d6-751389fc3008\",\n            \"updated_at\": \"2025-05-29T14:09:35.161Z\",\n            \"updated_level2_at\": \"2025-05-28T16:08:22.594Z\",\n            \"channel_id\": \"3f3fa530-fd3e-4018-ab98-4d9c3cd5406a\",\n            \"deleted_at\": null,\n            \"ticket_reference_id\": \"30573\",\n            \"subject\": \"texte\",\n            \"who_is_viewing\": null,\n            \"consumer_last_message\": \"2025-05-28T16:11:41.557Z\",\n            \"processing\": false,\n            \"who_is_viewing_user_id\": null,\n            \"home_ticket_update_at\": \"2025-05-28T16:11:41.557Z\",\n            \"requester_user\": {\n                \"name\": \"Alana\",\n                \"lastname\": null\n            },\n            \"assigned_employee\": {\n                \"name\": \"Alana\",\n                \"lastname\": null\n            },\n            \"sector\": {\n                \"id\": \"e937f3c3-2ad7-4e53-b02d-ae963c9a723f\",\n                \"name\": \"AAA Setor API externa\"\n            },\n            \"bold\": false,\n            \"last_message\": \"Recebido.\\n\\nEm qua., 28 de mai. de 2025 às 13:11,\\n<suporte_teste@cxpress.io>\\nescreveu:\\n\\n>\\n> AAAAAAAA\\n>\\n> *Alana | Teste Ari 03*\\n> ------------------------------\\n> ------------------------------\\n>\\n\",\n            \"tags\": null,\n            \"custom_fiejds\": null\n        },\n        {\n            \"id\": \"8e10b67b-388d-42f1-8b64-c5db46acb430\",\n            \"status_id\": \"daddbd66-1dd2-4008-94c9-7fcb9b1a5800\",\n            \"updated_at\": \"2025-05-29T12:29:52.759Z\",\n            \"updated_level2_at\": \"2025-05-28T12:18:35.195Z\",\n            \"channel_id\": \"3f3fa530-fd3e-4018-ab98-4d9c3cd5406a\",\n            \"deleted_at\": null,\n            \"ticket_reference_id\": \"30572\",\n            \"subject\": \"TesteDeEnvio\",\n            \"who_is_viewing\": null,\n            \"consumer_last_message\": \"2025-05-28T12:18:35.669Z\",\n            \"processing\": false,\n            \"who_is_viewing_user_id\": null,\n            \"home_ticket_update_at\": \"2025-05-28T12:18:35.669Z\",\n            \"requester_user\": {\n                \"name\": \"email3@gmail.com\",\n                \"lastname\": null\n            },\n            \"assigned_employee\": {\n                \"name\": null,\n                \"lastname\": null\n            },\n            \"sector\": {\n                \"id\": \"e937f3c3-2ad7-4e53-b02d-ae963c9a723f\",\n                \"name\": \"AAA Setor API externa\"\n            },\n            \"bold\": false,\n            \"last_message\": \"AAAAA\\n\",\n            \"tags\": null,\n            \"custom_fiejds\": null\n        },\n        {\n            \"id\": \"ade030ec-5044-4182-a374-69ddd99e9b11\",\n            \"status_id\": \"0ec35dbb-398e-4c2f-996c-933af162c950\",\n            \"updated_at\": \"2025-05-29T12:30:05.762Z\",\n            \"updated_level2_at\": \"2025-05-28T11:42:19.775Z\",\n            \"channel_id\": \"3f3fa530-fd3e-4018-ab98-4d9c3cd5406a\",\n            \"deleted_at\": null,\n            \"ticket_reference_id\": \"30570\",\n            \"subject\": \"ticket\",\n            \"who_is_viewing\": null,\n            \"consumer_last_message\": null,\n            \"processing\": false,\n            \"who_is_viewing_user_id\": null,\n            \"home_ticket_update_at\": \"2025-05-28T11:43:05.102Z\",\n            \"requester_user\": {\n                \"name\": \"email2@gmail.com\",\n                \"lastname\": null\n            },\n            \"assigned_employee\": {\n                \"name\": \"Alana\",\n                \"lastname\": null\n            },\n            \"sector\": {\n                \"id\": null,\n                \"name\": null\n            },\n            \"bold\": false,\n            \"last_message\": \"oi\",\n            \"tags\": null,\n            \"custom_fiejds\": null\n        },\n        {\n            \"id\": \"13a3ff38-125d-4a4a-b455-d1841287a96f\",\n            \"status_id\": \"0ec35dbb-398e-4c2f-996c-933af162c950\",\n            \"updated_at\": \"2025-05-29T12:30:47.758Z\",\n            \"updated_level2_at\": \"2025-05-28T11:19:48.735Z\",\n            \"channel_id\": \"3f3fa530-fd3e-4018-ab98-4d9c3cd5406a\",\n            \"deleted_at\": null,\n            \"ticket_reference_id\": \"30569\",\n            \"subject\": \"ticket com cc e cco\",\n            \"who_is_viewing\": null,\n            \"consumer_last_message\": null,\n            \"processing\": false,\n            \"who_is_viewing_user_id\": null,\n            \"home_ticket_update_at\": \"2025-05-28T11:20:34.247Z\",\n            \"requester_user\": {\n                \"name\": \"email1@gmail.com\",\n                \"lastname\": null\n            },\n            \"assigned_employee\": {\n                \"name\": \"Alana\",\n                \"lastname\": null\n            },\n            \"sector\": {\n                \"id\": null,\n                \"name\": null\n            },\n            \"bold\": false,\n            \"last_message\": \"oi\",\n            \"tags\": null,\n            \"custom_fiejds\": null\n        },\n        {\n            \"id\": \"33c8efe0-4ecc-4936-888a-5c94ce9c7b12\",\n            \"status_id\": \"daddbd66-1dd2-4008-94c9-7fcb9b1a5800\",\n            \"updated_at\": \"2025-05-28T17:18:03.021Z\",\n            \"updated_level2_at\": \"2025-04-22T13:28:50.057Z\",\n            \"channel_id\": \"33be81d8-88ac-4e08-bb4d-cf69fd23267f\",\n            \"deleted_at\": null,\n            \"ticket_reference_id\": \"30123\",\n            \"subject\": \"WhatsApp\",\n            \"who_is_viewing\": null,\n            \"consumer_last_message\": \"2025-04-22T13:41:18.599Z\",\n            \"processing\": false,\n            \"who_is_viewing_user_id\": null,\n            \"home_ticket_update_at\": \"2025-04-22T13:41:18.636Z\",\n            \"requester_user\": {\n                \"name\": \"Narciso\",\n                \"lastname\": null\n            },\n            \"assigned_employee\": {\n                \"name\": null,\n                \"lastname\": null\n            },\n            \"sector\": {\n                \"id\": \"4f5024e5-d88d-4ce6-8db6-e4f9a83a9f03\",\n                \"name\": \"Setor\"\n            },\n            \"bold\": false,\n            \"last_message\": \"atendimento humano\",\n            \"tags\": null,\n            \"custom_fiejds\": null\n        }\n    ],\n    \"pagination\": {\n        \"total\": 6,\n        \"lastPage\": 1,\n        \"prevPage\": null,\n        \"nextPage\": null,\n        \"perPage\": 100,\n        \"currentPage\": 1,\n        \"from\": 0,\n        \"to\": 6\n    }\n}"}],"_postman_id":"e0ed2f2f-b8a0-44eb-a4a6-bca67881bc62"},{"name":"List ticket history","id":"77e51521-b5b2-4095-b949-5b6f25b6a1b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/historic","description":"<p>Returns information on all completed services linked to the company. This endpoint includes:</p>\n<ul>\n<li><p>Tickets completed after human service</p>\n</li>\n<li><p>Tickets completed solely through chatbot service</p>\n</li>\n<li><p>Telephony tickets, in which:</p>\n<ul>\n<li><p>Calls were completed exclusively in the voicebot, or</p>\n</li>\n<li><p>Calls were not answered by any human agent extension.</p>\n</li>\n</ul>\n</li>\n<li><p>Deleted tickets.</p>\n</li>\n</ul>\n<p>Query parameters are available.  </p>\n<p>For each of the options listed above, this document contains versions with their respective filtering parameters. These endpoints are detailed further below in this document.</p>\n","urlObject":{"protocol":"https","path":["external","historic"],"host":["api","cxpress","io"],"query":[{"disabled":true,"description":{"content":"<p>Defines the maximum number of tickets to be returned per page.</p>\n","type":"text/plain"},"key":"limit","value":"integer > 0, opcional"},{"disabled":true,"description":{"content":"<p>Specifies the page number to be returned in the paginated list of tickets.</p>\n","type":"text/plain"},"key":"page","value":"integer > 0, opcional"},{"disabled":true,"description":{"content":"<p>Indicates the direction of the sorting. Allowed values: 'asc' (ascending order) or 'desc' (descending order).</p>\n","type":"text/plain"},"key":"order_by","value":"string, opcional"},{"disabled":true,"description":{"content":"<p>Defines the field by which results should be sorted. Currently supported values:\n'finished_at',\n'created_at',\n'updated_level2_at',\n'deleted_at',</p>\n","type":"text/plain"},"key":"sort_by","value":"string, opcional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets with a specific status. This parameter should be filled with a 'status_id' value. With the ticket status value being:\nNew - daddbd66-1dd2-4008-94c9-7fcb9b1a5800\nOpen- b58c1105-0ffe-4d07-a7d6-751389fc3008\nPending - 0ec35dbb-398e-4c2f-996c-933af162c950\nOn Hold - 3dd9b9ac-7399-4ce8-b22c-a513eb473803\nResolved - 2b45ba71-fa68-4ce5-bf16-14f31d43ba1a\nAbandoned - 2f955a38-e8cf-4033-bf6c-c5e4f68c8ea9</p>\n","type":"text/plain"},"key":"status","value":"string, opcional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that belong to a specific channel. This parameter should be filled with a 'channel_id' value.</p>\n","type":"text/plain"},"key":"channel","value":"string, opcional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets assigned to a specific operator. This parameter should be filled with a 'user_id' value.</p>\n","type":"text/plain"},"key":"employee","value":"string, opcional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that involved chatbot interaction. This parameter must be 'true' or 'false'.</p>\n","type":"text/plain"},"key":"bot","value":"boolean, opcional"},{"disabled":true,"description":{"content":"<p>Filters tickets by date range. Must be used in conjunction with 'end_date'.</p>\n","type":"text/plain"},"key":"start_date","value":"data no formato ISO 8601 ex.: YYYY-MM-DD, opcional"},{"disabled":true,"description":{"content":"<p>Filters tickets by date range. Must be used in conjunction with 'start_date'.</p>\n","type":"text/plain"},"key":"end_date","value":"data no formato ISO 8601 ex.: YYYY-MM-DD, opcional"},{"disabled":true,"description":{"content":"<p>Allows filtering of tickets based on a search string. The search is applied to the ticket field: 'ticket_reference_id' and the consumer fields: 'name', 'lastname', 'email', 'whatsapp', and 'phone'.</p>\n","type":"text/plain"},"key":"search","value":"string, opcional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that belong to a specific sector. This parameter should be filled with a 'sector_id' value.</p>\n","type":"text/plain"},"key":"sector","value":"string, opcional"},{"disabled":true,"description":{"content":"<p>Filters tickets based on an array of ticket tag IDs. Values should be comma-separated. Example: tag_id1,tag_id2,tag_id3.</p>\n","type":"text/plain"},"key":"tags","value":"string, opcional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that either belong to a sector or not. This parameter must be 'true'.</p>\n","type":"text/plain"},"key":"is_all_sectors","value":"boolean, opcional"},{"disabled":true,"description":{"content":"<p>Filters the list, returning only tickets that were deleted or not. This parameter must be set to \"true\".</p>\n","type":"text/plain"},"key":"deleted","value":"boolean, opcional"},{"disabled":true,"description":{"content":"<p>Filters the list, returning only the tickets according to the service level, as follows:\n1 for tickets completed exclusively via chatbot service and\n2 for tickets completed after human service</p>\n","type":"text/plain"},"key":"level","value":"integer > 0, opcional"},{"disabled":true,"description":{"content":"<p>Filters tickets based on an array of chatbot IDs. Values must be comma-separated. Example: bot_id1,bot_id2,bot_id3.</p>\n","type":"text/plain"},"key":"bot_id","value":"string, opcional"},{"disabled":true,"description":{"content":"<p>Filters the list, returning tickets that have tags or not. This parameter must be set to \"true\".</p>\n","type":"text/plain"},"key":"allTags","value":"boolean, opcional"}],"variable":[]}},"response":[{"id":"f3f0af34-92e8-46c5-a6d6-126685e6676b","name":"List ticket history","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":{"raw":"https://api.cxpress.io/external/historic","protocol":"https","host":["api","cxpress","io"],"path":["external","historic"],"query":[{"key":"limit","value":"integer > 0, opcional","description":"Defines the maximum number of tickets to be returned per page.","type":"text","disabled":true},{"key":"page","value":"integer > 0, opcional","description":"Specifies the page number to be returned in the paginated list of tickets.","type":"text","disabled":true},{"key":"order_by","value":"string, opcional","description":"Indicates the direction of the sorting. Allowed values: 'asc' (ascending order) or 'desc' (descending order).","type":"text","disabled":true},{"key":"sort_by","value":"string, opcional","description":"Defines the field by which results should be sorted. Currently supported values:\n'finished_at',\n'created_at',\n'updated_level2_at',\n'deleted_at',","type":"text","disabled":true},{"key":"status","value":"string, opcional","description":"Filters the list to return tickets with a specific status. This parameter should be filled with a 'status_id' value. With the ticket status value being:\nNew - daddbd66-1dd2-4008-94c9-7fcb9b1a5800\nOpen- b58c1105-0ffe-4d07-a7d6-751389fc3008\nPending - 0ec35dbb-398e-4c2f-996c-933af162c950\nOn Hold - 3dd9b9ac-7399-4ce8-b22c-a513eb473803\nResolved - 2b45ba71-fa68-4ce5-bf16-14f31d43ba1a\nAbandoned - 2f955a38-e8cf-4033-bf6c-c5e4f68c8ea9","type":"text","disabled":true},{"key":"channel","value":"string, opcional","description":"Filters the list to return tickets that belong to a specific channel. This parameter should be filled with a 'channel_id' value.","type":"text","disabled":true},{"key":"employee","value":"string, opcional","description":"Filters the list to return tickets assigned to a specific agent. This parameter should be filled with a 'user_id' value.","type":"text","disabled":true},{"key":"bot","value":"boolean, opcional","description":"Filters the list to return tickets that involved chatbot interaction. This parameter must be 'true' or 'false'.","type":"text","disabled":true},{"key":"start_date","value":"data no formato ISO 8601 ex.: YYYY-MM-DD, opcional","description":"Filters tickets by date range. Must be used in conjunction with 'end_date'.","type":"text","disabled":true},{"key":"end_date","value":"data no formato ISO 8601 ex.: YYYY-MM-DD, opcional","description":"Filters tickets by date range. Must be used in conjunction with 'start_date'.","type":"text","disabled":true},{"key":"search","value":"string, opcional","description":"Allows filtering of tickets based on a search string. The search is applied to the ticket field: 'ticket_reference_id' and the consumer fields: 'name', 'lastname', 'email', 'whatsapp', and 'phone'.","type":"text","disabled":true},{"key":"sector","value":"string, opcional","description":"Filters the list to return tickets that belong to a specific sector. This parameter should be filled with a 'sector_id' value.","type":"text","disabled":true},{"key":"tags","value":"string, opcional","description":"Filters tickets based on an array of ticket tag IDs. Values should be comma-separated. Example: tag_id1,tag_id2,tag_id3.","type":"text","disabled":true},{"key":"is_all_sectors","value":"boolean, opcional","description":"Filters the list to return tickets that either belong to a sector or not. This parameter must be 'true'.","type":"text","disabled":true},{"key":"deleted","value":"boolean, opcional","description":"Filters the list, returning only tickets that were deleted or not. This parameter must be set to \"true\".","type":"text","disabled":true},{"key":"level","value":"integer > 0, opcional","description":"Filters the list, returning only the tickets according to the service level, as follows:\n1 for tickets completed exclusively via chatbot service\n2 for tickets completed after human service","type":"text","disabled":true},{"key":"bot_id","value":"string, opcional","description":"Filters tickets based on an array of chatbot IDs. Values must be comma-separated. Example: bot_id1,bot_id2,bot_id3.","type":"text","disabled":true},{"key":"allTags","value":"boolean, opcional","description":"Filters the list, returning tickets that have tags or not. This parameter must be set to \"true\".","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Request successfully fulfilled.\",\n    \"tickets\": [\n        {\n            \"id\": \"ff67b6df-a01e-484d-b0c8-e5f11143db2c\",\n            \"ticket_reference_id\": \"28415\",\n            \"updated_at\": \"2025-07-02T21:05:28.459Z\",\n            \"created_at\": \"2025-02-06T14:06:41.324Z\",\n            \"finished_at\": null,\n            \"updated_level2_at\": null,\n            \"deleted_at\": null,\n            \"subject\": \"Facebook - Cx_test\",\n            \"channel_id\": \"aa1cea93-23de-46aa-af14-d6f766acf5c8\",\n            \"status_id\": \"2b45ba71-fa68-4ce5-bf16-14f31d43ba1a\",\n            \"bot_cxpress_name\": \"Bot Cx_test\",\n            \"requester_user\": {\n                \"name\": \"João Pedro Santos\"\n            },\n            \"assigned_employee\": {\n                \"name\": null\n            },\n            \"sector\": {\n                \"id\": null,\n                \"name\": null\n            },\n            \"last_message\": \"I understand, you'd like to speak with a human agent. Please hold a moment while I transfer you to the appropriate department. Would you like to speak with an agent?\"\n        },\n        {\n            \"id\": \"8f61027c-3fa2-4b82-b497-6836059c46ce\",\n            \"ticket_reference_id\": \"37826\",\n            \"updated_at\": \"2025-11-07T12:24:27.252Z\",\n            \"created_at\": \"2025-11-07T12:24:26.073Z\",\n            \"finished_at\": \"2025-11-07T12:24:26.073Z\",\n            \"updated_level2_at\": null,\n            \"deleted_at\": null,\n            \"subject\": \"TELEFONIA\",\n            \"channel_id\": \"6977996d-11d1-44cc-a863-2e1d9c24e046\",\n            \"status_id\": \"2b45ba71-fa68-4ce5-bf16-14f31d43ba1a\",\n            \"bot_cxpress_name\": \"BOT-TELEFONIA\",\n            \"requester_user\": {\n                \"name\": \"5581999999999\"\n            },\n            \"assigned_employee\": {\n                \"name\": null\n            },\n            \"sector\": {\n                \"id\": null,\n                \"name\": null\n            },\n            \"last_message\": \"Call <strong>Received</strong> from <strong>5581999999999</strong></br>\\n Call not answered by human </br> \\n Date/Time of call: Friday, November 7, 2025\"\n        },\n        {\n            \"id\": \"74866b44-a65c-4fae-93d7-c2753d151d8c\",\n            \"ticket_reference_id\": \"38666\",\n            \"updated_at\": \"2025-12-02T14:18:55.243Z\",\n            \"created_at\": \"2025-11-26T16:34:05.044Z\",\n            \"finished_at\": \"2025-11-26T18:30:15.236Z\",\n            \"updated_level2_at\": \"2025-11-26T16:34:05.044Z\",\n            \"deleted_at\": null,\n            \"subject\": \"Facebook - Page_cx_teste1\",\n            \"channel_id\": \"aa1cea93-23de-46aa-af14-d6f766acf5c8\",\n            \"status_id\": \"2f955a38-e8cf-4033-bf6c-c5e4f68c8ea9\",\n            \"bot_cxpress_name\": null,\n            \"requester_user\": {\n                \"name\": \"Alana Tenório\"\n            },\n            \"assigned_employee\": {\n                \"name\": \"ricardo agent\"\n            },\n            \"sector\": {\n                \"id\": null,\n                \"name\": null\n            },\n            \"last_message\": \"Teste Ari 03 - Alana:\\noi\"\n        }\n    ],\n    \"pagination\": {\n        \"total\": 3,\n        \"lastPage\": null,\n        \"prevPage\": null,\n        \"nextPage\": 2,\n        \"perPage\": 100,\n        \"currentPage\": 1,\n        \"from\": 0,\n        \"to\": 100\n    },\n    \"code_cxpress\": 700\n}"}],"_postman_id":"77e51521-b5b2-4095-b949-5b6f25b6a1b7"},{"name":"List ticket history – Human attendace","id":"a8bf5e4f-b080-4cf2-bb4a-956007e0d883","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/historic?order_by=desc&sort_by=finished_at","description":"<p>Returns information on all services completed after human service linked to the company.</p>\n","urlObject":{"protocol":"https","path":["external","historic"],"host":["api","cxpress","io"],"query":[{"key":"order_by","value":"desc"},{"key":"sort_by","value":"finished_at"}],"variable":[]}},"response":[{"id":"10d55ffa-f1e6-4d0b-ae0f-4def250e25eb","name":"List ticket history – Human attendace","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":{"raw":"https://api.cxpress.io/external/historic?order_by=desc&sort_by=finished_at","protocol":"https","host":["api","cxpress","io"],"path":["external","historic"],"query":[{"key":"order_by","value":"desc"},{"key":"sort_by","value":"finished_at"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"message\": \"Request successfully fulfilled.\",\r\n\t\"tickets\": [\r\n\t\t{\r\n\t\t\t\"id\": \"c01d9b5b-be2b-48e3-86f2-90cbc0a5d0fe\",\r\n\t\t\t\"ticket_reference_id\": \"8\",\r\n\t\t\t\"updated_at\": \"2025-10-22T19:25:02.487Z\",\r\n\t\t\t\"created_at\": \"2025-10-20T19:23:38.863Z\",\r\n\t\t\t\"finished_at\": \"2025-10-22T19:25:02.487Z\",\r\n\t\t\t\"updated_level2_at\": \"2025-10-20T19:23:57.721Z\",\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"subject\": \"Webchat\",\r\n\t\t\t\"channel_id\": \"4a7b71bb-6432-4794-ad11-f978b067871d\",\r\n\t\t\t\"status_id\": \"2f955a38-e8cf-4033-bf6c-c5e4f68c8ea9\",\r\n\t\t\t\"bot_cxpress_name\": \"Teste\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"Consumer Webchat 1760988218362\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": \"marcos teste\"\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Beginning of human attendace\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"e5b8e46c-b2cc-4281-b6b2-e91f2bc76ffe\",\r\n\t\t\t\"ticket_reference_id\": \"7\",\r\n\t\t\t\"updated_at\": \"2025-08-10T19:25:09.633Z\",\r\n\t\t\t\"created_at\": \"2025-08-08T19:23:59.044Z\",\r\n\t\t\t\"finished_at\": \"2025-08-10T19:25:09.633Z\",\r\n\t\t\t\"updated_level2_at\": \"2025-08-08T19:24:11.414Z\",\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"subject\": \"Webchat\",\r\n\t\t\t\"channel_id\": \"4a7b71bb-6432-4794-ad11-f978b067871d\",\r\n\t\t\t\"status_id\": \"2f955a38-e8cf-4033-bf6c-c5e4f68c8ea9\",\r\n\t\t\t\"bot_cxpress_name\": \"Teste\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"Consumer Webchat 1754681038630\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Beginning of human attendace\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"52ddd64b-63a4-4d35-a2c0-64bf99f61b7d\",\r\n\t\t\t\"ticket_reference_id\": \"6\",\r\n\t\t\t\"updated_at\": \"2025-08-10T19:25:08.794Z\",\r\n\t\t\t\"created_at\": \"2025-08-08T19:23:15.564Z\",\r\n\t\t\t\"finished_at\": \"2025-08-10T19:25:08.794Z\",\r\n\t\t\t\"updated_level2_at\": \"2025-08-08T19:23:34.953Z\",\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"subject\": \"Webchat\",\r\n\t\t\t\"channel_id\": \"4a7b71bb-6432-4794-ad11-f978b067871d\",\r\n\t\t\t\"status_id\": \"2f955a38-e8cf-4033-bf6c-c5e4f68c8ea9\",\r\n\t\t\t\"bot_cxpress_name\": \"Teste\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"Consumer Webchat 1754680995098\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": \"Marcos 2\"\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Beginning of human attendace\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"9a9118f0-3bad-4c28-91e0-3463b5d55016\",\r\n\t\t\t\"ticket_reference_id\": \"3\",\r\n\t\t\t\"updated_at\": \"2025-08-10T19:25:08.055Z\",\r\n\t\t\t\"created_at\": \"2025-08-08T19:20:59.181Z\",\r\n\t\t\t\"finished_at\": \"2025-08-10T19:25:08.055Z\",\r\n\t\t\t\"updated_level2_at\": \"2025-08-08T19:21:09.436Z\",\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"subject\": \"Webchat\",\r\n\t\t\t\"channel_id\": \"4a7b71bb-6432-4794-ad11-f978b067871d\",\r\n\t\t\t\"status_id\": \"2f955a38-e8cf-4033-bf6c-c5e4f68c8ea9\",\r\n\t\t\t\"bot_cxpress_name\": \"Teste\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"Consumer Webchat 1754680858794\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": \"Marcos 2\"\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Beginning of human attendace\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"a523f1da-38f2-45bb-8ac3-ccf49df5bc85\",\r\n\t\t\t\"ticket_reference_id\": \"5\",\r\n\t\t\t\"updated_at\": \"2025-08-10T19:25:06.883Z\",\r\n\t\t\t\"created_at\": \"2025-08-08T19:22:12.887Z\",\r\n\t\t\t\"finished_at\": \"2025-08-10T19:25:06.883Z\",\r\n\t\t\t\"updated_level2_at\": \"2025-08-08T19:22:24.876Z\",\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"subject\": \"Webchat\",\r\n\t\t\t\"channel_id\": \"4a7b71bb-6432-4794-ad11-f978b067871d\",\r\n\t\t\t\"status_id\": \"2f955a38-e8cf-4033-bf6c-c5e4f68c8ea9\",\r\n\t\t\t\"bot_cxpress_name\": \"Teste\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"Consumer Webchat 1754680932490\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": \"marcos teste\"\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Beginning of human attendace\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"d7710caf-e0a6-4476-9a05-97fd1b1dba11\",\r\n\t\t\t\"ticket_reference_id\": \"2\",\r\n\t\t\t\"updated_at\": \"2025-08-10T19:25:06.061Z\",\r\n\t\t\t\"created_at\": \"2025-08-08T19:20:46.835Z\",\r\n\t\t\t\"finished_at\": \"2025-08-10T19:25:06.061Z\",\r\n\t\t\t\"updated_level2_at\": \"2025-08-08T19:20:55.693Z\",\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"subject\": \"Webchat\",\r\n\t\t\t\"channel_id\": \"4a7b71bb-6432-4794-ad11-f978b067871d\",\r\n\t\t\t\"status_id\": \"2f955a38-e8cf-4033-bf6c-c5e4f68c8ea9\",\r\n\t\t\t\"bot_cxpress_name\": \"Teste\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"Consumer Webchat 1754680846367\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": \"marcos teste\"\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Beginning of human attendace\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"2fd496d7-b2c7-466b-9058-b7702985149e\",\r\n\t\t\t\"ticket_reference_id\": \"4\",\r\n\t\t\t\"updated_at\": \"2025-08-10T19:25:04.900Z\",\r\n\t\t\t\"created_at\": \"2025-08-08T19:21:37.917Z\",\r\n\t\t\t\"finished_at\": \"2025-08-10T19:25:04.900Z\",\r\n\t\t\t\"updated_level2_at\": \"2025-08-08T19:21:48.848Z\",\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"subject\": \"Webchat\",\r\n\t\t\t\"channel_id\": \"4a7b71bb-6432-4794-ad11-f978b067871d\",\r\n\t\t\t\"status_id\": \"2f955a38-e8cf-4033-bf6c-c5e4f68c8ea9\",\r\n\t\t\t\"bot_cxpress_name\": \"Teste\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"Consumer Webchat 1754680897504\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": \"marcos teste\"\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Beginning of human attendace\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"6218ce7f-3edc-4c1e-858b-1e6654845adb\",\r\n\t\t\t\"ticket_reference_id\": \"1\",\r\n\t\t\t\"updated_at\": \"2025-08-10T19:25:03.811Z\",\r\n\t\t\t\"created_at\": \"2025-08-08T19:19:18.009Z\",\r\n\t\t\t\"finished_at\": \"2025-08-10T19:25:03.811Z\",\r\n\t\t\t\"updated_level2_at\": \"2025-08-08T19:20:05.199Z\",\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"subject\": \"Webchat\",\r\n\t\t\t\"channel_id\": \"4a7b71bb-6432-4794-ad11-f978b067871d\",\r\n\t\t\t\"status_id\": \"2f955a38-e8cf-4033-bf6c-c5e4f68c8ea9\",\r\n\t\t\t\"bot_cxpress_name\": \"Teste\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"Consumer Webchat 1754680757520\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": \"Marcos 2\"\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Beginning of human attendace\"\r\n\t\t}\r\n\t],\r\n\t\"pagination\": {\r\n\t\t\"total\": 8,\r\n\t\t\"lastPage\": 1,\r\n\t\t\"prevPage\": null,\r\n\t\t\"nextPage\": null,\r\n\t\t\"perPage\": 100,\r\n\t\t\"currentPage\": 1,\r\n\t\t\"from\": 0,\r\n\t\t\"to\": 8\r\n\t},\r\n\t\"code_cxpress\": 700\r\n}"}],"_postman_id":"a8bf5e4f-b080-4cf2-bb4a-956007e0d883"},{"name":"List ticket history – Chatbot attendace","id":"2ed6ab01-b8fd-4026-a614-a25455674685","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/historic?level=1&sort_by=finished_at&order_by=desc&channel=aa1cea93-23de-46aa-af14-d6f766acf5c8,f28cb4a4-e42b-425a-8011-59d5f9c1d0f2,33be81d8-88ac-4e08-bb4d-cf69fd23267f,4a7b71bb-6432-4794-ad11-f978b067871d","description":"<p>Returns information on all services completed solely through chatbot service linked to the company.</p>\n","urlObject":{"protocol":"https","path":["external","historic"],"host":["api","cxpress","io"],"query":[{"key":"level","value":"1"},{"key":"sort_by","value":"finished_at"},{"key":"order_by","value":"desc"},{"key":"channel","value":"aa1cea93-23de-46aa-af14-d6f766acf5c8,f28cb4a4-e42b-425a-8011-59d5f9c1d0f2,33be81d8-88ac-4e08-bb4d-cf69fd23267f,4a7b71bb-6432-4794-ad11-f978b067871d"}],"variable":[]}},"response":[{"id":"7721c704-ac0d-4f63-bdee-0ca15106cda7","name":"List ticket history – Chatbot attendace","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":{"raw":"https://api.cxpress.io/external/historic?level=1&sort_by=finished_at&order_by=desc&channel=aa1cea93-23de-46aa-af14-d6f766acf5c8,f28cb4a4-e42b-425a-8011-59d5f9c1d0f2,33be81d8-88ac-4e08-bb4d-cf69fd23267f,4a7b71bb-6432-4794-ad11-f978b067871d","protocol":"https","host":["api","cxpress","io"],"path":["external","historic"],"query":[{"key":"level","value":"1"},{"key":"sort_by","value":"finished_at"},{"key":"order_by","value":"desc"},{"key":"channel","value":"aa1cea93-23de-46aa-af14-d6f766acf5c8,f28cb4a4-e42b-425a-8011-59d5f9c1d0f2,33be81d8-88ac-4e08-bb4d-cf69fd23267f,4a7b71bb-6432-4794-ad11-f978b067871d"}]}},"code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"Request successfully fulfilled.\",\r\n\t\"tickets\": [\r\n\t\t{\r\n\t\t\t\"id\": \"ff67b6df-a01e-484d-b0c8-e5f11143db2c\",\r\n\t\t\t\"ticket_reference_id\": \"28415\",\r\n\t\t\t\"updated_at\": \"2025-07-02T21:05:28.459Z\",\r\n\t\t\t\"created_at\": \"2025-02-06T14:06:41.324Z\",\r\n\t\t\t\"finished_at\": null,\r\n\t\t\t\"updated_level2_at\": null,\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"subject\": \"Facebook - Cx_test\",\r\n\t\t\t\"channel_id\": \"aa1cea93-23de-46aa-af14-d6f766acf5c8\",\r\n\t\t\t\"status_id\": \"2b45ba71-fa68-4ce5-bf16-14f31d43ba1a\",\r\n\t\t\t\"bot_cxpress_name\": \"Bot Cx_test\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"João Pedro Santos\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"I understand, you'd like to speak with a human agent. Please hold a moment while I transfer you to the appropriate department. Would you like to speak with an agent?\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"d64c7e55-2385-4e55-a676-43fc890898c0\",\r\n\t\t\t\"ticket_reference_id\": \"28414\",\r\n\t\t\t\"updated_at\": \"2025-06-17T13:29:49.508Z\",\r\n\t\t\t\"created_at\": \"2025-02-06T14:06:09.981Z\",\r\n\t\t\t\"finished_at\": null,\r\n\t\t\t\"updated_level2_at\": null,\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"subject\": \"Facebook - Cx_test\",\r\n\t\t\t\"channel_id\": \"aa1cea93-23de-46aa-af14-d6f766acf5c8\",\r\n\t\t\t\"status_id\": \"2b45ba71-fa68-4ce5-bf16-14f31d43ba1a\",\r\n\t\t\t\"bot_cxpress_name\": \"Bot Cx_test\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"João Pedro Santos\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Hello, I'm Samir, the virtual assistant from Cxpress. Cxpress is a platform for managing/servicing customer service channels, providing a multichannel solution for your company.\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"fdb3a9f8-57cb-4adc-a679-b640b620a4d0\",\r\n\t\t\t\"ticket_reference_id\": \"28402\",\r\n\t\t\t\"updated_at\": \"2025-05-13T18:03:18.652Z\",\r\n\t\t\t\"created_at\": \"2025-02-06T13:38:55.199Z\",\r\n\t\t\t\"finished_at\": null,\r\n\t\t\t\"updated_level2_at\": null,\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"subject\": \"Facebook - Cx_test\",\r\n\t\t\t\"channel_id\": \"aa1cea93-23de-46aa-af14-d6f766acf5c8\",\r\n\t\t\t\"status_id\": \"2b45ba71-fa68-4ce5-bf16-14f31d43ba1a\",\r\n\t\t\t\"bot_cxpress_name\": \"Bot Cx_test\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"João Pedro Santos\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Hello, I'm Samir, the virtual assistant from Cxpress. Cxpress is a platform for managing/servicing customer service channels, providing a multichannel solution for your company. How can I...\"\r\n\t\t}\r\n    ],\r\n\t\"pagination\": {\r\n\t\t\"total\": 3,\r\n\t\t\"lastPage\": null,\r\n\t\t\"prevPage\": null,\r\n\t\t\"nextPage\": 2,\r\n\t\t\"perPage\": 100,\r\n\t\t\"currentPage\": 1,\r\n\t\t\"from\": 0,\r\n\t\t\"to\": 100\r\n\t},\r\n\t\"code_cxpress\": 700\r\n}\r\n    "}],"_postman_id":"2ed6ab01-b8fd-4026-a614-a25455674685"},{"name":"List ticket history – Telephony","id":"a81f5cf9-c88e-4ef3-a596-f4da935a6ae8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/historic?limit=25&page=1&level=1&sort_by=finished_at&order_by=desc&channel=6977996d-11d1-44cc-a863-2e1d9c24e046","description":"<p>Returns information on all telephony services that did not involve human service linked to the company. That is:</p>\n<ul>\n<li><p>Calls were completed exclusively in the voicebot, or</p>\n</li>\n<li><p>Calls were not answered by any human agent extension.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["external","historic"],"host":["api","cxpress","io"],"query":[{"key":"limit","value":"25"},{"key":"page","value":"1"},{"key":"level","value":"1"},{"key":"sort_by","value":"finished_at"},{"key":"order_by","value":"desc"},{"key":"channel","value":"6977996d-11d1-44cc-a863-2e1d9c24e046"}],"variable":[]}},"response":[{"id":"6ac60425-1df3-470c-b1c7-9c8b001a3f6a","name":"List ticket history – Telephony","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":{"raw":"https://api.cxpress.io/external/historic?limit=25&page=1&level=1&sort_by=finished_at&order_by=desc&channel=6977996d-11d1-44cc-a863-2e1d9c24e046","protocol":"https","host":["api","cxpress","io"],"path":["external","historic"],"query":[{"key":"limit","value":"25"},{"key":"page","value":"1"},{"key":"level","value":"1"},{"key":"sort_by","value":"finished_at"},{"key":"order_by","value":"desc"},{"key":"channel","value":"6977996d-11d1-44cc-a863-2e1d9c24e046"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"Request successfully fulfilled.\",\r\n\t\"tickets\": [\r\n\t\t{\r\n\t\t\t\"id\": \"3b302549-be90-493c-866e-3fa9bf921234\",\r\n\t\t\t\"ticket_reference_id\": \"37828\",\r\n\t\t\t\"updated_at\": \"2025-11-07T12:25:40.355Z\",\r\n\t\t\t\"created_at\": \"2025-11-07T12:25:39.370Z\",\r\n\t\t\t\"finished_at\": \"2025-11-07T12:25:39.370Z\",\r\n\t\t\t\"updated_level2_at\": null,\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"subject\": \"TELEFONIA\",\r\n\t\t\t\"channel_id\": \"6977996d-11d1-44cc-a863-2e1d9c24e046\",\r\n\t\t\t\"status_id\": \"2b45ba71-fa68-4ce5-bf16-14f31d43ba1a\",\r\n\t\t\t\"bot_cxpress_name\": \"BOT-TELEFONIA\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"5581999999999\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Call <strong>Received</strong> from <strong>5581999999999</strong></br>\\n Call not answered by human </br> \\n Date/Time of call: Friday, November 7, 2025\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"35844f5f-c20c-4db5-bfbc-0e6db603c1a5\",\r\n\t\t\t\"ticket_reference_id\": \"37827\",\r\n\t\t\t\"updated_at\": \"2025-11-07T12:25:11.646Z\",\r\n\t\t\t\"created_at\": \"2025-11-07T12:25:10.319Z\",\r\n\t\t\t\"finished_at\": \"2025-11-07T12:25:10.319Z\",\r\n\t\t\t\"updated_level2_at\": null,\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"subject\": \"TELEFONIA\",\r\n\t\t\t\"channel_id\": \"6977996d-11d1-44cc-a863-2e1d9c24e046\",\r\n\t\t\t\"status_id\": \"2b45ba71-fa68-4ce5-bf16-14f31d43ba1a\",\r\n\t\t\t\"bot_cxpress_name\": \"BOT-TELEFONIA\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"5581999999999\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Call <strong>Received</strong> from <strong>5581999999999</strong></br>\\n Call not answered by human </br> \\n Date/Time of call: Friday, November 7, 2025\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"8f61027c-3fa2-4b82-b497-6836059c46ce\",\r\n\t\t\t\"ticket_reference_id\": \"37826\",\r\n\t\t\t\"updated_at\": \"2025-11-07T12:24:27.252Z\",\r\n\t\t\t\"created_at\": \"2025-11-07T12:24:26.073Z\",\r\n\t\t\t\"finished_at\": \"2025-11-07T12:24:26.073Z\",\r\n\t\t\t\"updated_level2_at\": null,\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"subject\": \"TELEFONIA\",\r\n\t\t\t\"channel_id\": \"6977996d-11d1-44cc-a863-2e1d9c24e046\",\r\n\t\t\t\"status_id\": \"2b45ba71-fa68-4ce5-bf16-14f31d43ba1a\",\r\n\t\t\t\"bot_cxpress_name\": \"BOT-TELEFONIA\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"5581999999999\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Call <strong>Received</strong> from <strong>5581999999999</strong></br>\\n Call not answered by human </br> \\n Date/Time of call: Friday, November 7, 2025\"\r\n\t\t}\r\n\t],\r\n\t\"pagination\": {\r\n\t\t\"total\": 3,\r\n\t\t\"lastPage\": null,\r\n\t\t\"prevPage\": null,\r\n\t\t\"nextPage\": 2,\r\n\t\t\"perPage\": 25,\r\n\t\t\"currentPage\": 1,\r\n\t\t\"from\": 0,\r\n\t\t\"to\": 25\r\n\t},\r\n\t\"code_cxpress\": 700\r\n}"}],"_postman_id":"a81f5cf9-c88e-4ef3-a596-f4da935a6ae8"},{"name":"List deleted ticket history","id":"f96b9d98-e04c-446a-b6ce-d479fece6d58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/historic?order_by=desc&sort_by=deleted_at&deleted=true","description":"<p>Returns information on all services deleted via the Cxpress interface linked to the company.</p>\n","urlObject":{"protocol":"https","path":["external","historic"],"host":["api","cxpress","io"],"query":[{"key":"order_by","value":"desc"},{"key":"sort_by","value":"deleted_at"},{"key":"deleted","value":"true"}],"variable":[]}},"response":[{"id":"e326fc26-5c5d-4270-9b6b-16aa6447dac3","name":"List deleted ticket history","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":{"raw":"https://api.cxpress.io/external/historic?order_by=desc&sort_by=deleted_at&deleted=true","protocol":"https","host":["api","cxpress","io"],"path":["external","historic"],"query":[{"key":"order_by","value":"desc"},{"key":"sort_by","value":"deleted_at"},{"key":"deleted","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"Request successfully fulfilled.\",\r\n\t\"tickets\": [\r\n\t\t{\r\n\t\t\t\"id\": \"10d0f5a7-cdd1-42dd-b993-464ccc972889\",\r\n\t\t\t\"ticket_reference_id\": \"38739\",\r\n\t\t\t\"updated_at\": \"2025-12-03T18:38:14.884Z\",\r\n\t\t\t\"created_at\": \"2025-12-03T18:23:55.741Z\",\r\n\t\t\t\"finished_at\": null,\r\n\t\t\t\"updated_level2_at\": \"2025-12-03T18:25:57.043Z\",\r\n\t\t\t\"deleted_at\": \"2025-12-03T18:38:14.884Z\",\r\n\t\t\t\"subject\": \"Facebook - NLP Staging\",\r\n\t\t\t\"channel_id\": \"aa1cea93-23de-46aa-af14-d6f766acf5c8\",\r\n\t\t\t\"status_id\": \"daddbd66-1dd2-4008-94c9-7fcb9b1a5800\",\r\n\t\t\t\"bot_cxpress_name\": \"Facebook Samir  -NLP staging\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"pular\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": \"Beth\"\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Bye\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"1e7596ef-2b76-4a4a-ae5f-bec4d4bd6e98\",\r\n\t\t\t\"ticket_reference_id\": \"38725\",\r\n\t\t\t\"updated_at\": \"2025-12-03T10:51:25.357Z\",\r\n\t\t\t\"created_at\": \"2025-12-03T10:45:41.439Z\",\r\n\t\t\t\"finished_at\": null,\r\n\t\t\t\"updated_level2_at\": \"2025-12-03T10:47:51.907Z\",\r\n\t\t\t\"deleted_at\": \"2025-12-03T10:51:11.642Z\",\r\n\t\t\t\"subject\": \"Facebook - NLP Staging\",\r\n\t\t\t\"channel_id\": \"aa1cea93-23de-46aa-af14-d6f766acf5c8\",\r\n\t\t\t\"status_id\": \"daddbd66-1dd2-4008-94c9-7fcb9b1a5800\",\r\n\t\t\t\"bot_cxpress_name\": \"Facebook Samir  -NLP staging\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"alana\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Bye\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"328634ba-6d4b-41df-8854-e806837dc6d5\",\r\n\t\t\t\"ticket_reference_id\": \"38724\",\r\n\t\t\t\"updated_at\": \"2025-12-03T10:45:29.506Z\",\r\n\t\t\t\"created_at\": \"2025-12-03T10:44:05.253Z\",\r\n\t\t\t\"finished_at\": null,\r\n\t\t\t\"updated_level2_at\": \"2025-12-03T10:45:08.362Z\",\r\n\t\t\t\"deleted_at\": \"2025-12-03T10:45:28.920Z\",\r\n\t\t\t\"subject\": \"Facebook - NLP Staging\",\r\n\t\t\t\"channel_id\": \"aa1cea93-23de-46aa-af14-d6f766acf5c8\",\r\n\t\t\t\"status_id\": \"daddbd66-1dd2-4008-94c9-7fcb9b1a5800\",\r\n\t\t\t\"bot_cxpress_name\": \"Facebook Samir  -NLP staging\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"alana\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Bye\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"13998761-7f2f-4681-b7aa-50a1c931dd47\",\r\n\t\t\t\"ticket_reference_id\": \"38723\",\r\n\t\t\t\"updated_at\": \"2025-12-03T10:42:48.018Z\",\r\n\t\t\t\"created_at\": \"2025-12-03T10:41:06.274Z\",\r\n\t\t\t\"finished_at\": null,\r\n\t\t\t\"updated_level2_at\": \"2025-12-03T10:42:18.780Z\",\r\n\t\t\t\"deleted_at\": \"2025-12-03T10:42:47.493Z\",\r\n\t\t\t\"subject\": \"Facebook - NLP Staging\",\r\n\t\t\t\"channel_id\": \"aa1cea93-23de-46aa-af14-d6f766acf5c8\",\r\n\t\t\t\"status_id\": \"0ec35dbb-398e-4c2f-996c-933af162c950\",\r\n\t\t\t\"bot_cxpress_name\": \"Facebook Samir  -NLP staging\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"alana\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": \"Alana\"\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Teste Ari 03 - Alana:\\noi\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"99a7ce6a-9762-4b7d-b4ac-7e987111f06d\",\r\n\t\t\t\"ticket_reference_id\": \"38453\",\r\n\t\t\t\"updated_at\": \"2025-12-02T18:12:38.191Z\",\r\n\t\t\t\"created_at\": \"2025-11-17T18:09:28.331Z\",\r\n\t\t\t\"finished_at\": null,\r\n\t\t\t\"updated_level2_at\": \"2025-11-17T18:17:24.875Z\",\r\n\t\t\t\"deleted_at\": \"2025-12-02T18:12:38.191Z\",\r\n\t\t\t\"subject\": \"WhatsApp\",\r\n\t\t\t\"channel_id\": \"33be81d8-88ac-4e08-bb4d-cf69fd23267f\",\r\n\t\t\t\"status_id\": \"daddbd66-1dd2-4008-94c9-7fcb9b1a5800\",\r\n\t\t\t\"bot_cxpress_name\": \"Twilio com bot - 8965\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"usuário 5572857803760\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"Hello, thank you for contacting us, you are special.\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"9adcc30e-d1c5-4cd0-8ba0-a0c341f3b015\",\r\n\t\t\t\"ticket_reference_id\": \"38714\",\r\n\t\t\t\"updated_at\": \"2025-12-02T12:58:51.528Z\",\r\n\t\t\t\"created_at\": \"2025-12-02T12:56:08.129Z\",\r\n\t\t\t\"finished_at\": null,\r\n\t\t\t\"updated_level2_at\": \"2025-12-02T12:58:32.517Z\",\r\n\t\t\t\"deleted_at\": \"2025-12-02T12:58:51.528Z\",\r\n\t\t\t\"subject\": \"Facebook - NLP Staging\",\r\n\t\t\t\"channel_id\": \"aa1cea93-23de-46aa-af14-d6f766acf5c8\",\r\n\t\t\t\"status_id\": \"daddbd66-1dd2-4008-94c9-7fcb9b1a5800\",\r\n\t\t\t\"bot_cxpress_name\": \"Facebook Samir  -NLP staging\",\r\n\t\t\t\"requester_user\": {\r\n\t\t\t\t\"name\": \"pular\"\r\n\t\t\t},\r\n\t\t\t\"assigned_employee\": {\r\n\t\t\t\t\"name\": \"Beth\"\r\n\t\t\t},\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"last_message\": \"In attendace\"\r\n\t\t}\r\n    ],\r\n\t\"pagination\": {\r\n\t\t\"total\": 6,\r\n\t\t\"lastPage\": null,\r\n\t\t\"prevPage\": null,\r\n\t\t\"nextPage\": 2,\r\n\t\t\"perPage\": 100,\r\n\t\t\"currentPage\": 1,\r\n\t\t\"from\": 0,\r\n\t\t\"to\": 100\r\n\t},\r\n\t\"code_cxpress\": 700\r\n}"}],"_postman_id":"f96b9d98-e04c-446a-b6ce-d479fece6d58"},{"name":"List tickets of an operator","id":"8499aa88-967f-41ef-8a7d-ca34a7e8e11d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/agent/{user_id}/tickets","description":"<p>Returns information on all ongoing and completed services for a specific agent linked to the company.</p>\n<p>Supports query parameters.</p>\n<p><strong>Note:</strong> Deleted tickets are not included in this endpoint.</p>\n","urlObject":{"protocol":"https","path":["external","agent","{user_id}","tickets"],"host":["api","cxpress","io"],"query":[{"disabled":true,"description":{"content":"<p>Defines the maximum number of tickets to be returned per page.</p>\n","type":"text/plain"},"key":"limit","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Specifies the page number to be returned in the paginated list of tickets.</p>\n","type":"text/plain"},"key":"page","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets with a specific status. This parameter should be filled with a 'status_id' value. With the ticket status value being:\nNew - daddbd66-1dd2-4008-94c9-7fcb9b1a5800\nOpen- b58c1105-0ffe-4d07-a7d6-751389fc3008\nPending - 0ec35dbb-398e-4c2f-996c-933af162c950\nOn Hold - 3dd9b9ac-7399-4ce8-b22c-a513eb473803</p>\n","type":"text/plain"},"key":"status","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that belong to a specific channel. This parameter should be filled with a 'channel_id' value.</p>\n","type":"text/plain"},"key":"channel","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that involved chatbot interaction. This parameter must be 'true' or 'false'.</p>\n","type":"text/plain"},"key":"bot","value":"boolean, optional"},{"disabled":true,"description":{"content":"<p>Filters tickets based on an array of automation keys. Values should be comma-separated. Example: entity_key1,entity_key2,entity_key3.</p>\n","type":"text/plain"},"key":"automation","value":"array[string], optional"},{"disabled":true,"description":{"content":"<p>Filters tickets by date range. Must be used in conjunction with 'end_date'.</p>\n","type":"text/plain"},"key":"start_date","value":"data no formato ISO 8601 ex.: YYYY-MM-DD, optional"},{"disabled":true,"description":{"content":"<p>Filters tickets by date range. Must be used in conjunction with 'start_date'.</p>\n","type":"text/plain"},"key":"end_date","value":"data no formato ISO 8601 ex.: YYYY-MM-DD, optional"},{"disabled":true,"description":{"content":"<p>Allows filtering of tickets based on a search string. The search is applied to the ticket field: 'ticket_reference_id' and the consumer fields: 'name', 'lastname', 'email', 'whatsapp', and 'phone'.</p>\n","type":"text/plain"},"key":"search","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that belong to a specific sector. This parameter should be filled with a 'sector_id' value.</p>\n","type":"text/plain"},"key":"sector","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Indicates the direction of the sorting. Allowed values: 'asc' (ascending order) or 'desc' (descending order).</p>\n","type":"text/plain"},"key":"order_by","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Defines the field by which results should be sorted. Currently supported values: 'home_ticket_update_at' and 'updated_level2_at'.</p>\n","type":"text/plain"},"key":"sort_by","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters tickets based on an array of ticket tag IDs. Values should be comma-separated. Example: tag_id1,tag_id2,tag_id3.</p>\n","type":"text/plain"},"key":"tags","value":"array[string], optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that have or have not been read. This parameter must be 'true' (read) or 'false' (unread).</p>\n","type":"text/plain"},"key":"was_read","value":"boolean, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that either belong to a sector or not. This parameter must be 'true'.</p>\n","type":"text/plain"},"key":"is_all_sectors","value":"boolean, optional"}],"variable":[]}},"response":[{"id":"7a123bb9-3707-4da5-b24c-085826691236","name":"List tickets of an operator","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/agent/a6cea57b-b2cf-441c-b4e8-5424b78d97ad/tickets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n\t\"pagination\": {\n\t\t\"total\": 3,\n\t\t\"lastPage\": 1,\n\t\t\"prevPage\": null,\n\t\t\"nextPage\": null,\n\t\t\"perPage\": 100,\n\t\t\"currentPage\": 1,\n\t\t\"from\": 0,\n\t\t\"to\": 26\n\t},\n\t\"message\": \"Tickets listed.\",\n\t\"tickets\": [\t\t\n        {\n\t\t\t\"id\": \"ad97f123-2d56-4601-b3d2-546265da4ada\",\n\t\t\t\"subject\": \"WhatsApp\",\n\t\t\t\"status_id\": \"2f955a38-e8cf-4033-bf6c-c5e4f68c8ea9\",\n\t\t\t\"channel_id\": \"33be81d8-88ac-4e08-bb4d-cf69fd23267f\",\n\t\t\t\"ticket_reference_id\": \"17847\",\n\t\t\t\"updated_at\": \"2024-05-07T19:55:01.463Z\",\n\t\t\t\"updated_level2_at\": \"2024-05-07T18:51:01.688Z\",\n\t\t\t\"deleted_at\": null,\n\t\t\t\"consumer_last_message\": \"2024-05-07T18:51:01.377Z\",\n\t\t\t\"home_ticket_update_at\": \"2024-05-07T18:51:01.377Z\",\n\t\t\t\"processing\": false,\n\t\t\t\"requester_user\": {\n\t\t\t\t\"name\": \"teste\",\n\t\t\t\t\"lastname\": null\n\t\t\t},\n\t\t\t\"sector\": {\n\t\t\t\t\"id\": \"fe500aaf-beb4-42b7-97ec-133c37405411\",\n\t\t\t\t\"name\": \"QA - Giclayne\"\n\t\t\t},\n\t\t\t\"last_message\": \"Yay 😁! I'm so glad you enjoyed the experience! I'll connect you with a human. They'll help you with that, okay?\\n\\nWhile I connect you with an agent, could you give me more details about your request?\"\n\t\t},\n\t\t{\n\t\t\t\"id\": \"a13c1a80-8e2a-4a24-b093-d9022762a3dc\",\n\t\t\t\"subject\": \"WhatsApp\",\n\t\t\t\"status_id\": \"2f955a38-e8cf-4033-bf6c-c5e4f68c8ea9\",\n\t\t\t\"channel_id\": \"33be81d8-88ac-4e08-bb4d-cf69fd23267f\",\n\t\t\t\"ticket_reference_id\": \"17846\",\n\t\t\t\"updated_at\": \"2024-05-07T18:55:00.408Z\",\n\t\t\t\"updated_level2_at\": \"2024-05-07T17:49:30.611Z\",\n\t\t\t\"deleted_at\": null,\n\t\t\t\"consumer_last_message\": \"2024-05-07T17:49:30.790Z\",\n\t\t\t\"home_ticket_update_at\": \"2024-05-07T17:49:30.790Z\",\n\t\t\t\"processing\": false,\n\t\t\t\"requester_user\": {\n\t\t\t\t\"name\": \"teste\",\n\t\t\t\t\"lastname\": null\n\t\t\t},\n\t\t\t\"sector\": {\n\t\t\t\t\"id\": null,\n\t\t\t\t\"name\": null\n\t\t\t},\n\t\t\t\"last_message\": \"Teste Ari 03 - Maria:oi\"\n\t\t},\n\t\t{\n\t\t\t\"id\": \"3faef953-f39b-479e-a846-682eea07d5b1\",\n\t\t\t\"subject\": \"asdasdsa\",\n\t\t\t\"status_id\": \"2b45ba71-fa68-4ce5-bf16-14f31d43ba1a\",\n\t\t\t\"channel_id\": \"4a7b71bb-6432-4794-ad11-f978b067871d\",\n\t\t\t\"ticket_reference_id\": \"17718\",\n\t\t\t\"updated_at\": \"2024-08-14T17:44:56.321Z\",\n\t\t\t\"updated_level2_at\": \"2024-05-02T19:38:41.460Z\",\n\t\t\t\"deleted_at\": null,\n\t\t\t\"consumer_last_message\": null,\n\t\t\t\"home_ticket_update_at\": \"2024-05-02T19:38:41.460Z\",\n\t\t\t\"processing\": false,\n\t\t\t\"requester_user\": {\n\t\t\t\t\"name\": \"marcos teste\",\n\t\t\t\t\"lastname\": null\n\t\t\t},\n\t\t\t\"sector\": {\n\t\t\t\t\"id\": null,\n\t\t\t\t\"name\": null\n\t\t\t},\n\t\t\t\"last_message\": \"On a scale of 1 to 5, how satisfied are you with the service? Responses range from 1 (very dissatisfied) to 5 (very satisfied). 0. I do not wish to rate. 1. Very dissatisfied. 2. Dissatisfied\"\n\t\t}\n\t],\n\t\"code_cxpress\": 800\n}"}],"_postman_id":"8499aa88-967f-41ef-8a7d-ca34a7e8e11d"},{"name":"List tickets of a consumer","id":"a80938f5-9388-464e-ac42-16129380598d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/consumer/{user_id}/tickets","description":"<p>Returns information on all ongoing and completed services for a specific consumer linked to the company.</p>\n<p>Supports query parameters.</p>\n<p><strong>Note:</strong> Deleted tickets are not included in this endpoint.</p>\n","urlObject":{"protocol":"https","path":["external","consumer","{user_id}","tickets"],"host":["api","cxpress","io"],"query":[{"disabled":true,"description":{"content":"<p>Defines the maximum number of tickets to be returned per page.</p>\n","type":"text/plain"},"key":"limit","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Specifies the page number to be returned in the paginated list of tickets.</p>\n","type":"text/plain"},"key":"page","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets with a specific status. This parameter should be filled with a 'status_id' value. With the ticket status value being:\nNew - daddbd66-1dd2-4008-94c9-7fcb9b1a5800\nOpen- b58c1105-0ffe-4d07-a7d6-751389fc3008\nPending - 0ec35dbb-398e-4c2f-996c-933af162c950\nOn Hold - 3dd9b9ac-7399-4ce8-b22c-a513eb473803</p>\n","type":"text/plain"},"key":"status","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that belong to a specific channel. This parameter should be filled with a 'channel_id' value.</p>\n","type":"text/plain"},"key":"channel","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets assigned to a specific operator. This parameter should be filled with a 'user_id' value.</p>\n","type":"text/plain"},"key":"employee","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that involved chatbot interaction. This parameter must be 'true' or 'false'.</p>\n","type":"text/plain"},"key":"bot","value":"boolean, optional"},{"disabled":true,"description":{"content":"<p>Filters tickets based on an array of automation keys. Values should be comma-separated. Example: entity_key1,entity_key2,entity_key3.</p>\n","type":"text/plain"},"key":"automation","value":"array[string], optional"},{"disabled":true,"description":{"content":"<p>Filters tickets by date range. Must be used in conjunction with 'end_date'.</p>\n","type":"text/plain"},"key":"start_date","value":"data no formato ISO 8601 ex.: YYYY-MM-DD, optional"},{"disabled":true,"description":{"content":"<p>Filters tickets by date range. Must be used in conjunction with 'start_date'.</p>\n","type":"text/plain"},"key":"end_date","value":"data no formato ISO 8601 ex.: YYYY-MM-DD, optional"},{"disabled":true,"description":{"content":"<p>Allows filtering of tickets based on a search string. The search is applied to the ticket field: 'ticket_reference_id' and the consumer fields: 'name', 'lastname', 'email', 'whatsapp', and 'phone'.</p>\n","type":"text/plain"},"key":"search","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that belong to a specific sector. This parameter should be filled with a 'sector_id' value.</p>\n","type":"text/plain"},"key":"sector","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Indicates the direction of the sorting. Allowed values: 'asc' (ascending order) or 'desc' (descending order).</p>\n","type":"text/plain"},"key":"order_by","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Defines the field by which results should be sorted. Currently supported values: 'home_ticket_update_at' and 'updated_level2_at'.</p>\n","type":"text/plain"},"key":"sort_by","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters tickets based on an array of ticket tag IDs. Values should be comma-separated. Example: tag_id1,tag_id2,tag_id3.</p>\n","type":"text/plain"},"key":"tags","value":"array[string], optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that have or have not been read. This parameter must be 'true' (read) or 'false' (unread).</p>\n","type":"text/plain"},"key":"was_read","value":"boolean, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that either belong to a sector or not. This parameter must be 'true'.</p>\n","type":"text/plain"},"key":"is_all_sectors","value":"boolean, optional"}],"variable":[]}},"response":[{"id":"a3dcd2f0-2ce9-4d76-9657-128aeddaba1d","name":"List tickets of a consumer","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/consumer/e7fed238-773e-4660-ae1b-190b382fc024/tickets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n\t\"message\": \"Tickets listados.\",\n\t\"tickets\": [\n\t\t{\n\t\t\t\"id\": \"a04515e8-e5cd-4242-a52d-51ff0c1909a3\",\n\t\t\t\"updated_at\": \"2025-07-07T13:56:44.048Z\",\n\t\t\t\"updated_level2_at\": \"2025-06-17T13:22:20.154Z\",\n\t\t\t\"subject\": \"wefdwefwefewflll\",\n\t\t\t\"channel_id\": \"33be81d8-88ac-4e08-bb4d-cf69fd23267f\",\n\t\t\t\"status_id\": \"2b45ba71-fa68-4ce5-bf16-14f31d43ba1a\",\n\t\t\t\"deleted_at\": null,\n\t\t\t\"home_ticket_update_at\": \"2025-06-18T18:06:04.394Z\",\n\t\t\t\"ticket_reference_id\": \"30728\",\n\t\t\t\"consumer_last_message\": null,\n\t\t\t\"who_is_viewing\": null,\n\t\t\t\"processing\": false,\n\t\t\t\"who_is_viewing_user_id\": null,\n\t\t\t\"level\": 2,\n\t\t\t\"created_at\": \"2025-06-17T13:22:20.154Z\",\n\t\t\t\"finished_at\": \"2025-07-07T13:56:44.048Z\",\n\t\t\t\"assigned_employee\": {\n\t\t\t\t\"name\": \"003Giclayne Silvaa\",\n\t\t\t\t\"lastname\": null\n\t\t\t},\n\t\t\t\"sector\": null,\n\t\t\t\"last_message\": \"Hello! Meet cxpress\",\n\t\t\t\"requester_user\": {\n\t\t\t\t\"name\": \"Marcos Vinicius\",\n\t\t\t\t\"lastname\": null\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"id\": \"0d08ed1e-329e-4e81-bb5d-502f6bd78b6c\",\n\t\t\t\"updated_at\": \"2025-03-14T14:55:00.495Z\",\n\t\t\t\"updated_level2_at\": \"2025-03-14T14:20:08.682Z\",\n\t\t\t\"subject\": \"Whatsapp\",\n\t\t\t\"channel_id\": \"33be81d8-88ac-4e08-bb4d-cf69fd23267f\",\n\t\t\t\"status_id\": \"2b45ba71-fa68-4ce5-bf16-14f31d43ba1a\",\n\t\t\t\"deleted_at\": null,\n\t\t\t\"home_ticket_update_at\": \"2025-03-14T14:22:30.798Z\",\n\t\t\t\"ticket_reference_id\": \"29650\",\n\t\t\t\"consumer_last_message\": \"2025-03-14T14:20:08.182Z\",\n\t\t\t\"who_is_viewing\": null,\n\t\t\t\"processing\": false,\n\t\t\t\"who_is_viewing_user_id\": null,\n\t\t\t\"level\": 2,\n\t\t\t\"created_at\": \"2025-03-14T14:19:49.310Z\",\n\t\t\t\"finished_at\": \"2025-03-14T14:22:30.798Z\",\n\t\t\t\"assigned_employee\": null,\n\t\t\t\"sector\": {\n\t\t\t\t\"name\": \"AA222\"\n\t\t\t},\n\t\t\t\"last_message\": \"On a scale of 1 to 5, how satisfied are you with the service? Responses range from 1 (very dissatisfied) to 5 (very satisfied). 0. I do not wish to rate. 1. Very dissatisfied. 2. Dissatisfied\",\n\t\t\t\"requester_user\": {\n\t\t\t\t\"name\": \"Marcos Vinicius\",\n\t\t\t\t\"lastname\": null\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"id\": \"7c139254-7f0c-4bbe-8129-8bbe8250140f\",\n\t\t\t\"updated_at\": \"2025-03-14T14:08:00.741Z\",\n\t\t\t\"updated_level2_at\": \"2025-03-14T14:00:00.947Z\",\n\t\t\t\"subject\": \"Teste\",\n\t\t\t\"channel_id\": \"33be81d8-88ac-4e08-bb4d-cf69fd23267f\",\n\t\t\t\"status_id\": \"2f955a38-e8cf-4033-bf6c-c5e4f68c8ea9\",\n\t\t\t\"deleted_at\": null,\n\t\t\t\"home_ticket_update_at\": \"2025-03-14T13:49:05.554Z\",\n\t\t\t\"ticket_reference_id\": \"29649\",\n\t\t\t\"consumer_last_message\": \"2025-03-14T13:49:45.971Z\",\n\t\t\t\"who_is_viewing\": null,\n\t\t\t\"processing\": false,\n\t\t\t\"who_is_viewing_user_id\": null,\n\t\t\t\"level\": 2,\n\t\t\t\"created_at\": \"2025-03-14T13:49:01.781Z\",\n\t\t\t\"finished_at\": \"2025-03-14T14:05:02.376Z\",\n\t\t\t\"assigned_employee\": null,\n\t\t\t\"sector\": {\n\t\t\t\t\"name\": \"AA222\"\n\t\t\t},\n\t\t\t\"last_message\": \"Please enter BOTteste05149. Please enter only numbers with 2 to 3 digits. Please enter the information as requested.\",\n\t\t\t\"requester_user\": {\n\t\t\t\t\"name\": \"Marcos Vinicius\",\n\t\t\t\t\"lastname\": null\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"id\": \"f244a41f-a246-4fad-945d-1c3019552070\",\n\t\t\t\"updated_at\": \"2025-03-14T14:20:07.987Z\",\n\t\t\t\"updated_level2_at\": \"2025-03-14T13:43:06.090Z\",\n\t\t\t\"subject\": \"teste\",\n\t\t\t\"channel_id\": \"33be81d8-88ac-4e08-bb4d-cf69fd23267f\",\n\t\t\t\"status_id\": \"2b45ba71-fa68-4ce5-bf16-14f31d43ba1a\",\n\t\t\t\"deleted_at\": null,\n\t\t\t\"home_ticket_update_at\": \"2025-03-14T13:48:37.443Z\",\n\t\t\t\"ticket_reference_id\": \"29648\",\n\t\t\t\"consumer_last_message\": \"2025-03-14T13:48:37.443Z\",\n\t\t\t\"who_is_viewing\": null,\n\t\t\t\"processing\": false,\n\t\t\t\"who_is_viewing_user_id\": null,\n\t\t\t\"level\": 2,\n\t\t\t\"created_at\": \"2025-03-14T13:42:42.145Z\",\n\t\t\t\"finished_at\": \"2025-03-14T13:48:06.583Z\",\n\t\t\t\"assigned_employee\": null,\n\t\t\t\"sector\": {\n\t\t\t\t\"name\": \"AA222\"\n\t\t\t},\n\t\t\t\"last_message\": \"Thank you for your feedback. Your service request has been completed.!\",\n\t\t\t\"requester_user\": {\n\t\t\t\t\"name\": \"Marcos Vinicius\",\n\t\t\t\t\"lastname\": null\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"id\": \"182d3372-36f9-4a36-b9af-9e08c2c7c810\",\n\t\t\t\"updated_at\": \"2025-03-12T13:53:01.301Z\",\n\t\t\t\"updated_level2_at\": \"2025-03-11T20:24:43.247Z\",\n\t\t\t\"subject\": \"WhatsApp\",\n\t\t\t\"channel_id\": \"33be81d8-88ac-4e08-bb4d-cf69fd23267f\",\n\t\t\t\"status_id\": \"2f955a38-e8cf-4033-bf6c-c5e4f68c8ea9\",\n\t\t\t\"deleted_at\": null,\n\t\t\t\"home_ticket_update_at\": \"2025-03-11T20:24:53.562Z\",\n\t\t\t\"ticket_reference_id\": \"29599\",\n\t\t\t\"consumer_last_message\": \"2025-03-11T20:24:43.181Z\",\n\t\t\t\"who_is_viewing\": null,\n\t\t\t\"processing\": false,\n\t\t\t\"who_is_viewing_user_id\": null,\n\t\t\t\"level\": 2,\n\t\t\t\"created_at\": \"2025-03-11T20:24:32.320Z\",\n\t\t\t\"finished_at\": \"2025-03-12T13:50:07.810Z\",\n\t\t\t\"assigned_employee\": {\n\t\t\t\t\"name\": \"Marcos filho\",\n\t\t\t\t\"lastname\": null\n\t\t\t},\n\t\t\t\"sector\": {\n\t\t\t\t\"name\": \"AA222\"\n\t\t\t},\n\t\t\t\"last_message\": \"Teste Ari 03 - Marcos filho:\\nteste\",\n\t\t\t\"requester_user\": {\n\t\t\t\t\"name\": \"Marcos Vinicius\",\n\t\t\t\t\"lastname\": null\n\t\t\t}\n\t\t}\n\t],\n\t\"pagination\": {\n\t\t\"total\": 5,\n\t\t\"lastPage\": 1,\n\t\t\"prevPage\": null,\n\t\t\"nextPage\": null,\n\t\t\"perPage\": 100,\n\t\t\"currentPage\": 1,\n\t\t\"from\": 0,\n\t\t\"to\": 5\n\t},\n\t\"code_cxpress\": 1400\n}"}],"_postman_id":"a80938f5-9388-464e-ac42-16129380598d"},{"name":"List tickets generated by an active trigger","id":"6573caca-d084-4e9c-8eb4-fbb79eab0b35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/message-sending/{id}/tickets","description":"<p>Returns information on all ongoing and completed services that were generated from a specific bulk dispatch linked to the company.</p>\n<p>Query parameters are available.</p>\n<p><strong>Note:</strong> Deleted tickets are not included in this endpoint.</p>\n","urlObject":{"protocol":"https","path":["external","message-sending","{id}","tickets"],"host":["api","cxpress","io"],"query":[{"disabled":true,"description":{"content":"<p>Defines the maximum number of tickets to be returned per page.</p>\n","type":"text/plain"},"key":"limit","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Specifies the page number to be returned in the paginated list of tickets.</p>\n","type":"text/plain"},"key":"page","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets with a specific status. This parameter should be filled with a 'status_id' value. With the ticket status value being:\nNew - daddbd66-1dd2-4008-94c9-7fcb9b1a5800\nOpen- b58c1105-0ffe-4d07-a7d6-751389fc3008\nPending - 0ec35dbb-398e-4c2f-996c-933af162c950\nOn Hold - 3dd9b9ac-7399-4ce8-b22c-a513eb473803</p>\n","type":"text/plain"},"key":"status","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that belong to a specific channel. This parameter should be filled with a 'channel_id' value.</p>\n","type":"text/plain"},"key":"channel","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets assigned to a specific operator. This parameter should be filled with a 'user_id' value.</p>\n","type":"text/plain"},"key":"employee","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that involved chatbot interaction. This parameter must be 'true' or 'false'.</p>\n","type":"text/plain"},"key":"bot","value":"boolean, optional"},{"disabled":true,"description":{"content":"<p>Filters tickets based on an array of automation keys. Values should be comma-separated. Example: entity_key1,entity_key2,entity_key3.</p>\n","type":"text/plain"},"key":"automation","value":"array[string], optional"},{"disabled":true,"description":{"content":"<p>Filters tickets by date range. Must be used in conjunction with 'end_date'.</p>\n","type":"text/plain"},"key":"start_date","value":"data no formato ISO 8601 ex.: YYYY-MM-DD, optional"},{"disabled":true,"description":{"content":"<p>Filters tickets by date range. Must be used in conjunction with 'start_date'.</p>\n","type":"text/plain"},"key":"end_date","value":"data no formato ISO 8601 ex.: YYYY-MM-DD, optional"},{"disabled":true,"description":{"content":"<p>Allows filtering of tickets based on a search string. The search is applied to the ticket field: 'ticket_reference_id' and the consumer fields: 'name', 'lastname', 'email', 'whatsapp', and 'phone'.</p>\n","type":"text/plain"},"key":"search","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that belong to a specific sector. This parameter should be filled with a 'sector_id' value.</p>\n","type":"text/plain"},"key":"sector","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Indicates the direction of the sorting. Allowed values: 'asc' (ascending order) or 'desc' (descending order).</p>\n","type":"text/plain"},"key":"order_by","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Defines the field by which results should be sorted. Currently supported values: 'home_ticket_update_at' and 'updated_level2_at'.</p>\n","type":"text/plain"},"key":"sort_by","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters tickets based on an array of ticket tag IDs. Values should be comma-separated. Example: tag_id1,tag_id2,tag_id3.</p>\n","type":"text/plain"},"key":"tags","value":"array[string], optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that have or have not been read. This parameter must be 'true' (read) or 'false' (unread).</p>\n","type":"text/plain"},"key":"was_read","value":"boolean, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return tickets that either belong to a sector or not. This parameter must be 'true'.</p>\n","type":"text/plain"},"key":"is_all_sectors","value":"boolean, optional"}],"variable":[]}},"response":[{"id":"88b497ee-19e5-47e2-8c2a-8dd4877f1e24","name":"List tickets generated by an active trigger","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/message-sending/5f839409-e01b-4036-9c98-64c131ef461a/tickets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n\t\"message\": \"List of tickets for an active trigger loaded successfully.\",\n\t\"tickets\": [\n\t\t{\n\t\t\t\"id\": \"95ac457f-8531-4a7a-8184-0d6649bf3e4f\",\n\t\t\t\"updated_at\": \"2025-10-06T14:46:32.457Z\",\n\t\t\t\"updated_level2_at\": \"2025-10-06T14:44:41.102Z\",\n\t\t\t\"channel_id\": \"33be81d8-88ac-4e08-bb4d-cf69fd23267f\",\n\t\t\t\"status_id\": \"2b45ba71-fa68-4ce5-bf16-14f31d43ba1a\",\n\t\t\t\"who_is_viewing,\": null,\n\t\t\t\"who_is_viewing_user_id\": null,\n\t\t\t\"deleted_at\": null,\n\t\t\t\"was_read\": true,\n\t\t\t\"ticket_reference_id\": \"36975\",\n\t\t\t\"home_ticket_update_at\": \"2025-10-06T14:46:24.120Z\",\n\t\t\t\"requester_user\": {\n\t\t\t\t\"id\": \"df2e4054-a0ee-41e4-85e8-852fc18ed390\",\n\t\t\t\t\"name\": \"Consumidor TESTE\",\n\t\t\t\t\"email\": null,\n\t\t\t\t\"phone\": null,\n\t\t\t\t\"address\": null,\n\t\t\t\t\"twitter\": null,\n\t\t\t\t\"user_id\": \"df2e4054-a0ee-41e4-85e8-852fc18ed390\",\n\t\t\t\t\"webchat\": null,\n\t\t\t\t\"youtube\": null,\n\t\t\t\t\"facebook\": null,\n\t\t\t\t\"lastname\": null,\n\t\t\t\t\"whatsapp\": \"5583999887766\",\n\t\t\t\t\"instagram\": null,\n\t\t\t\t\"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\n\t\t\t\t\"created_at\": \"2024-06-07T17:53:53.262025+00:00\",\n\t\t\t\t\"deleted_at\": null,\n\t\t\t\t\"updated_at\": \"2025-10-06T14:50:33.627604+00:00\",\n\t\t\t\t\"observations\": null,\n\t\t\t\t\"facebook_user\": null,\n\t\t\t\t\"instagram_user\": null,\n\t\t\t\t\"document_number\": null,\n\t\t\t\t\"employee_user_id\": null,\n\t\t\t\t\"line_type_whatsapp\": \"mobile\",\n\t\t\t\t\"direct_attendance_n2\": true\n\t\t\t},\n\t\t\t\"assigned_employee\": null,\n\t\t\t\"followers\": [],\n\t\t\t\"sector\": null\n\t\t}\n\t],\n\t\"code_cxpress\": 800,\n\t\"pagination\": {\n\t\t\"total\": 1,\n\t\t\"lastPage\": 1,\n\t\t\"prevPage\": null,\n\t\t\"nextPage\": null,\n\t\t\"perPage\": 100,\n\t\t\"currentPage\": 1,\n\t\t\"from\": 0,\n\t\t\"to\": 1\n\t}\n}"}],"_postman_id":"6573caca-d084-4e9c-8eb4-fbb79eab0b35"},{"name":"List internal notes of a ticket","id":"eca7416a-06f8-447a-946c-1119288cddd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/ticket/internal-observation/{ticket_id}","description":"<p>Lists all internal note messages present in a ticket.</p>\n<p>The <em><strong>ticket ID</strong></em> to be queried must be provided in the endpoint, similar to the example shown in the cURL under <strong>Example</strong>.</p>\n","urlObject":{"protocol":"https","path":["external","ticket","internal-observation","{ticket_id}"],"host":["api","cxpress","io"],"query":[{"disabled":true,"description":{"content":"<p>Defines the maximum number of internal notes of a ticket to be returned per page.</p>\n","type":"text/plain"},"key":"limit","value":"integer > 0, opcional"},{"disabled":true,"description":{"content":"<p>Specifies the page number to be returned in the paginated listing of a ticket’s internal notes.</p>\n","type":"text/plain"},"key":"page","value":"integer > 0, opcional"}],"variable":[]}},"response":[{"id":"571cedc7-2ba5-4784-8442-2dda15e17034","name":"List internal notes of a ticket","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/ticket/internal-observation/559acecd-d35a-452e-ae7b-79bfaa62c193"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Request successfully completed.\",\n    \"code_cxpress\": 778,\n    \"chat_messages\": [\n        {\n            \"date\": \"2026-03-03T18:38:22.647Z\"\n        },\n        {\n            \"_id\": \"69a72a9ee7e89144697d826a\",\n            \"ticket_id\": \"559acecd-d35a-452e-ae7b-79bfaa62c193\",\n            \"user_id\": \"d8901615-b94b-48f9-80fb-4c607e19ad78\",\n            \"channel_id\": \"3f3fa530-fd3e-4018-ab98-4d9c3cd5406a\",\n            \"user_name\": \"marcos teste\",\n            \"user_lastname\": null,\n            \"user_document\": null,\n            \"user_phone\": \"5511998877665\",\n            \"content\": \"<p>test 030326</p>\",\n            \"is_internal_response\": true,\n            \"is_agent\": true,\n            \"timestamp\": \"2026-03-03T18:38:22.521Z\",\n            \"status\": \"sent\",\n            \"company_id\": \"9cd8b0f1-d868-465d-a116-037c7bf22507\",\n            \"toOriginal\": [],\n            \"cc\": [],\n            \"cco\": [],\n            \"botMessageType\": \"inAttendance\",\n            \"contacts\": null,\n            \"attachments\": [],\n            \"whatsapp_status\": [],\n            \"message_delivery_status\": [],\n            \"statusEmail\": [],\n            \"createdAt\": \"2026-03-03T18:38:22.647Z\",\n            \"updatedAt\": \"2026-03-03T18:38:22.793Z\",\n            \"__v\": 0\n        },\n        {\n            \"_id\": \"69a72acde7e89144697d826d\",\n            \"ticket_id\": \"559acecd-d35a-452e-ae7b-79bfaa62c193\",\n            \"user_id\": \"d8901615-b94b-48f9-80fb-4c607e19ad78\",\n            \"channel_id\": \"3f3fa530-fd3e-4018-ab98-4d9c3cd5406a\",\n            \"user_name\": \"marcos teste\",\n            \"user_lastname\": null,\n            \"user_document\": null,\n            \"user_phone\": \"5511998877665\",\n            \"content\": \"<p>test 2</p>\",\n            \"is_internal_response\": true,\n            \"is_agent\": true,\n            \"timestamp\": \"2026-03-03T18:39:09.345Z\",\n            \"status\": \"sent\",\n            \"company_id\": \"9cd8b0f1-d868-465d-a116-037c7bf22507\",\n            \"toOriginal\": [],\n            \"cc\": [],\n            \"cco\": [],\n            \"botMessageType\": \"inAttendance\",\n            \"contacts\": null,\n            \"attachments\": [],\n            \"whatsapp_status\": [],\n            \"message_delivery_status\": [],\n            \"statusEmail\": [],\n            \"createdAt\": \"2026-03-03T18:39:09.372Z\",\n            \"updatedAt\": \"2026-03-03T18:39:09.429Z\",\n            \"__v\": 0\n        }\n    ]\n}"}],"_postman_id":"eca7416a-06f8-447a-946c-1119288cddd7"},{"name":"Create Ticket","id":"9a85ead6-0583-4c62-8f43-7028f37ae510","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"channel_id\": \"id\",\r\n\t\"consumer_user_id\": \"user_id\",\r\n\t\"subject\": \"string\",\r\n    \"assigner_employee_user_id\": \"user_id\",\r\n    \"followers_id\": [\r\n      \"user_id\"\r\n    ],\r\n\t\"status_id\": \"id\",\r\n    \"sector_id\": \"id\",\r\n\t\"custom_fields\": [\r\n      {\r\n        \"custom_field_id\": \"id\",\r\n        \"value\": [\r\n          \"string\"\r\n        ]\r\n      }\r\n    ],\r\n    \"tag_ids\": [\r\n      \"id\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/ticket","description":"<p>Creates a support ticket linked to the company.</p>\n<p>The request body must be in JSON format and include the following <strong>required</strong> fields:</p>\n<ul>\n<li><p><strong><code>channel_id</code></strong> (<em>string</em>) – Identifier of the ticket's originating channel.</p>\n<ul>\n<li><p>Must be filled in with the corresponding channel ID. Available channel values:</p>\n<ul>\n<li><p><strong>Email</strong> – <code>3f3fa530-fd3e-4018-ab98-4d9c3cd5406a</code></p>\n</li>\n<li><p><strong>Telephony</strong> – <code>6977996d-11d1-44cc-a863-2e1d9c24e046</code></p>\n</li>\n<li><p><strong>WhatsApp</strong> – <code>33be81d8-88ac-4e08-bb4d-cf69fd23267f</code></p>\n</li>\n<li><p><strong>Facebook</strong> – <code>aa1cea93-23de-46aa-af14-d6f766acf5c8</code></p>\n</li>\n<li><p><strong>Instagram</strong> – <code>f28cb4a4-e42b-425a-8011-59d5f9c1d0f2</code></p>\n</li>\n<li><p><strong>Webchat</strong> – <code>4a7b71bb-6432-4794-ad11-f978b067871d</code></p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong><code>consumer_user_id</code></strong> (<em>string</em>) – Identifier of the consumer associated with the ticket.</p>\n<ul>\n<li><p>Must be the <code>user_id</code> of the consumer to be served.</p>\n</li>\n<li><p><strong>Important</strong>: The consumer must have a valid value in the field corresponding to the specified <code>channel_id</code>.</p>\n</li>\n<li><p>Example: to create a ticket for the WhatsApp channel, the consumer's <code>whatsapp</code> field must be filled in. This rule applies to all available channels.</p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>subject</code></strong> (<em>string</em>) – Subject of the ticket.</p>\n<ul>\n<li>Must be a valid string.</li>\n</ul>\n</li>\n<li><p><code>assigned_employee_user_id</code> (string) - Operator associated with the ticket</p>\n<ul>\n<li><p>Must be the <code>user_id</code> of an existing operator.</p>\n</li>\n<li><p>If the body contains the <strong><code>sector_id</code></strong> field filled in with a valid sector, it will only be possible to assign operators who are part of that sector, regardless of their access level.</p>\n</li>\n</ul>\n</li>\n<li><p><code>followers_id</code> (array[string]) - Operators following the ticket.</p>\n<ul>\n<li><p>It must be filled in with a list of operator <code>user_id</code> values.</p>\n</li>\n<li><p>If the body contains the <strong><code>sector_id</code></strong> field filled in with a valid sector, for operators with the <code>Operator</code> access level, it will only be possible to assign as followers those operators who are part of that sector.</p>\n</li>\n<li><p>Operators with <strong><code>Admin Operator</code></strong> or <strong><code>Owner</code></strong> access levels can be assigned as followers on any ticket in the company, regardless of whether they are part of the sector or not.</p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>status_id</code></strong> (<em>string</em>) – Identifier of the ticket’s status.</p>\n<ul>\n<li><p>Must contain a valid ID for in-progress statuses. Accepted values:</p>\n<ul>\n<li><p><strong>New</strong> – <code>daddbd66-1dd2-4008-94c9-7fcb9b1a5800</code></p>\n</li>\n<li><p><strong>Open</strong> – <code>b58c1105-0ffe-4d07-a7d6-751389fc3008</code></p>\n</li>\n<li><p><strong>Pending</strong> – <code>0ec35dbb-398e-4c2f-996c-933af162c950</code></p>\n</li>\n<li><p><strong>On Hold</strong> – <code>3dd9b9ac-7399-4ce8-b22c-a513eb473803</code></p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong><code>sector_id</code></strong> <strong>(string):</strong> Identifier of the sector to be linked to the ticket.</p>\n<ul>\n<li>Must be filled in with the corresponding ID of the desired sector.</li>\n</ul>\n</li>\n</ul>\n<p>The following fields are <strong>optional</strong>:</p>\n<ul>\n<li><p><strong><code>custom_fields</code></strong> (<em>array[object]</em>) – Custom fields linked to the ticket. Each item must include:</p>\n<ul>\n<li><p><code>id</code> (<em>string</em>) – Custom field ID</p>\n</li>\n<li><p><code>value</code> (<em>string</em>) – Corresponding value, according to the field type</p>\n</li>\n<li><p>⚠️ Attention: Only <strong>ticket</strong> custom fields are accepted. <strong>Consumer</strong> custom fields will cause an error.</p>\n</li>\n<li><p>If the company has required ticket custom fields, the <code>custom_fields</code> parameter becomes mandatory.</p>\n</li>\n<li><p>Field value requirements:</p>\n<ul>\n<li><p><strong>Text</strong>: Letters only (a–z, A–Z), including accented characters (e.g. é, ã, ç, õ). Spaces are not allowed.</p>\n</li>\n<li><p><strong>Numeric</strong>: Digits only (0–9). Spaces are not allowed.</p>\n</li>\n<li><p><strong>General</strong>: Any character is allowed, including spaces and special symbols.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong><code>tags_ids</code></strong> (<em>array[string]</em>) – List of tag IDs associated with the ticket.</p>\n<ul>\n<li><p>Must be an array of strings, where each string is the ID of a ticket tag.</p>\n</li>\n<li><p>Tags must have the <code>active</code> field set to <code>true</code>.</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["external","ticket"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"00f87f14-1b23-479a-a6de-4a0d5ebd1a2f","name":"Create Ticket","originalRequest":{"method":"POST","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"channel_id\": \"3f3fa530-fd3e-4018-ab98-4d9c3cd5406a\",\r\n\t\"consumer_user_id\": \"e302dd77-52f3-4fff-9e1f-e31873bc6644\",\r\n\t\"subject\": \"testee\",\r\n\t\"status_id\": \"daddbd66-1dd2-4008-94c9-7fcb9b1a5800\",\r\n\t\"custom_fields\": [\r\n      {\r\n        \"custom_field_id\": \"362833cd-66cd-4e97-9b1f-e748a8d7cf5b\",\r\n        \"value\": [\r\n          \"testee\"\r\n        ]\r\n      }\r\n    ],\r\n\t\"tag_ids\": [\r\n      \"5c4bbaa6-a866-458f-99c0-4caccb91a796\",\r\n\t\t\t\"573937d4-7738-4e02-a4a2-c99e220ac43c\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/ticket"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"Ticket successfully created.\",\r\n\t\"code_cxpress\": 6717,\r\n\t\"data\": {\r\n\t\t\"ticket\": {\r\n\t\t\t\"id\": \"134b7d51-b43b-4571-b1e1-6a0f9efc0d12\",\r\n\t\t\t\"status_id\": \"daddbd66-1dd2-4008-94c9-7fcb9b1a5800\",\r\n\t\t\t\"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\r\n\t\t\t\"user_id\": \"e302dd77-52f3-4fff-9e1f-e31873bc6644\",\r\n\t\t\t\"channel_id\": \"3f3fa530-fd3e-4018-ab98-4d9c3cd5406a\",\r\n\t\t\t\"level\": 2,\r\n\t\t\t\"is_bot\": false,\r\n\t\t\t\"subject\": \"testee\",\r\n\t\t\t\"started_at\": null,\r\n\t\t\t\"ended_at\": null,\r\n\t\t\t\"created_at\": \"2025-06-02T14:48:58.149Z\",\r\n\t\t\t\"updated_at\": \"2025-06-02T14:48:58.149Z\",\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"ticket_reference_id\": \"30615\",\r\n\t\t\t\"consumer_last_message\": null,\r\n\t\t\t\"agent_last_message\": null,\r\n\t\t\t\"sector_id\": null,\r\n\t\t\t\"consumer_last_message_content\": null,\r\n\t\t\t\"agent_last_message_content\": null,\r\n\t\t\t\"updated_level2_at\": \"2025-06-02T14:48:58.149Z\",\r\n\t\t\t\"in_attendance\": false,\r\n\t\t\t\"last_assigned_employee_id\": null,\r\n\t\t\t\"was_read\": false,\r\n\t\t\t\"whatsapp_keys_id\": null,\r\n\t\t\t\"who_is_viewing\": null,\r\n\t\t\t\"cc\": null,\r\n\t\t\t\"webchat_keys_id\": null,\r\n\t\t\t\"cco\": null,\r\n\t\t\t\"pre_solved\": false,\r\n\t\t\t\"facebook_keys_id\": null,\r\n\t\t\t\"instagram_keys_id\": null,\r\n\t\t\t\"call_id\": null,\r\n\t\t\t\"waiting_nps_answer\": false,\r\n\t\t\t\"nps_score\": null,\r\n\t\t\t\"bot_cxpress_name\": null,\r\n\t\t\t\"bot_nlp_id\": null,\r\n\t\t\t\"triage_id\": null,\r\n\t\t\t\"triage_sequence\": null,\r\n\t\t\t\"api_integration_id\": null,\r\n\t\t\t\"api_integration_sequence\": null,\r\n\t\t\t\"last_language\": null,\r\n\t\t\t\"run_triage\": true,\r\n\t\t\t\"extension_list\": null,\r\n\t\t\t\"ticket_created_by_employee\": null,\r\n\t\t\t\"processing\": false,\r\n\t\t\t\"email_ticket_created\": null,\r\n\t\t\t\"is_sent_outside_opening_hours_message\": false,\r\n\t\t\t\"finished_at\": null,\r\n\t\t\t\"reopened_at\": null,\r\n\t\t\t\"who_is_viewing_user_id\": null,\r\n\t\t\t\"home_ticket_update_at\": \"2025-06-02T14:48:58.149Z\"\r\n\t\t}\r\n\t}\r\n}"}],"_postman_id":"9a85ead6-0583-4c62-8f43-7028f37ae510"},{"name":"Edit Ticket","id":"4012b6aa-8e54-49b1-ac08-12f0a61f97f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"channel_id\": \"id\",\r\n\t\"subject\": \"string\",\r\n    \"assigner_employee_user_id\": \"user_id\",\r\n    \"followers_id\": [\r\n      \"user_id\"\r\n    ],\r\n\t\"status_id\": \"id\",\r\n    \"sector_id\": \"id\",\r\n\t\"custom_fields\": [\r\n      {\r\n        \"custom_field_id\": \"id\",\r\n        \"value\": [\r\n          \"string\"\r\n        ]\r\n      }\r\n    ],\r\n    \"tag_ids\": [\r\n      \"id\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/ticket/{id}","description":"<p>Updates the information of an existing support ticket linked to the company.</p>\n<p>The <code>id</code> of the ticket to be updated must be provided in the endpoint URL, as shown in the <strong>Example</strong> cURL request.</p>\n<p>The request must contain a JSON-formatted body and follow the same rules and fields as the <strong><code>Create Ticket</code></strong> endpoint, <strong>except</strong> for the <code>consumer_user_id</code> field, wich is not present in this endpoint.</p>\n<p>Additionally, a new value can be used for the <code>status_id</code> field:</p>\n<ul>\n<li><p><strong>Resolved</strong> – <code>2b45ba71-fa68-4ce5-bf16-14f31d43ba1a</code></p>\n<ul>\n<li>Updating a ticket with the <strong>Resolved</strong> status automatically closes the ticket. It will no longer appear in the ticket list.</li>\n</ul>\n</li>\n</ul>\n<p>If an operator is actively handling the ticket, it will not be possible to edit it, and the request will result in an error.</p>\n<p>When changing the sector of a ticket, the assigned operator (<code>_assigned_employee_</code> field) will be automatically removed from the ticket.</p>\n<p>If the ticket’s sectors is changed and there are tasks within the ticket assigned to operators who do not belong to the new department, all such tasks will be deleted to prevent unauthorised access.</p>\n","urlObject":{"protocol":"https","path":["external","ticket","{id}"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"f4d46add-be41-498e-829b-91d48cfaea3a","name":"Edit Ticket","originalRequest":{"method":"PUT","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"subject\": \"testeeee5\",\r\n\t\"status_id\": \"daddbd66-1dd2-4008-94c9-7fcb9b1a5800\",\r\n\t\"custom_fields\": [\r\n      {\r\n        \"custom_field_id\": \"362833cd-66cd-4e97-9b1f-e748a8d7cf5b\",\r\n        \"value\": [\r\n          \"testeess\"\r\n        ]\r\n      }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/ticket/134b7d51-b43b-4571-b1e1-6a0f9efc0d12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"Ticket successfully updated.\",\r\n\t\"code_cxpress\": 6724,\r\n\t\"data\": {\r\n\t\t\"ticket\": {\r\n\t\t\t\"id\": \"134b7d51-b43b-4571-b1e1-6a0f9efc0d12\",\r\n\t\t\t\"status_id\": \"daddbd66-1dd2-4008-94c9-7fcb9b1a5800\",\r\n\t\t\t\"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\r\n\t\t\t\"user_id\": \"e302dd77-52f3-4fff-9e1f-e31873bc6644\",\r\n\t\t\t\"channel_id\": \"3f3fa530-fd3e-4018-ab98-4d9c3cd5406a\",\r\n\t\t\t\"level\": 2,\r\n\t\t\t\"is_bot\": false,\r\n\t\t\t\"subject\": \"testeeee5\",\r\n\t\t\t\"started_at\": null,\r\n\t\t\t\"ended_at\": null,\r\n\t\t\t\"created_at\": \"2025-06-02T14:48:58.149Z\",\r\n\t\t\t\"updated_at\": \"2025-06-02T17:07:51.029Z\",\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"ticket_reference_id\": \"30615\",\r\n\t\t\t\"consumer_last_message\": null,\r\n\t\t\t\"agent_last_message\": null,\r\n\t\t\t\"sector_id\": null,\r\n\t\t\t\"consumer_last_message_content\": null,\r\n\t\t\t\"agent_last_message_content\": null,\r\n\t\t\t\"updated_level2_at\": \"2025-06-02T14:48:58.149Z\",\r\n\t\t\t\"in_attendance\": false,\r\n\t\t\t\"last_assigned_employee_id\": null,\r\n\t\t\t\"was_read\": true,\r\n\t\t\t\"whatsapp_keys_id\": null,\r\n\t\t\t\"who_is_viewing\": null,\r\n\t\t\t\"cc\": null,\r\n\t\t\t\"webchat_keys_id\": null,\r\n\t\t\t\"cco\": null,\r\n\t\t\t\"pre_solved\": false,\r\n\t\t\t\"facebook_keys_id\": null,\r\n\t\t\t\"instagram_keys_id\": null,\r\n\t\t\t\"call_id\": null,\r\n\t\t\t\"waiting_nps_answer\": false,\r\n\t\t\t\"nps_score\": null,\r\n\t\t\t\"bot_cxpress_name\": null,\r\n\t\t\t\"bot_nlp_id\": null,\r\n\t\t\t\"triage_id\": null,\r\n\t\t\t\"triage_sequence\": null,\r\n\t\t\t\"api_integration_id\": null,\r\n\t\t\t\"api_integration_sequence\": null,\r\n\t\t\t\"last_language\": null,\r\n\t\t\t\"run_triage\": true,\r\n\t\t\t\"extension_list\": null,\r\n\t\t\t\"ticket_created_by_employee\": null,\r\n\t\t\t\"processing\": false,\r\n\t\t\t\"email_ticket_created\": null,\r\n\t\t\t\"is_sent_outside_opening_hours_message\": false,\r\n\t\t\t\"finished_at\": null,\r\n\t\t\t\"reopened_at\": null,\r\n\t\t\t\"who_is_viewing_user_id\": null,\r\n\t\t\t\"home_ticket_update_at\": \"2025-06-02T17:07:51.029Z\"\r\n\t\t}\r\n\t}\r\n}"}],"_postman_id":"4012b6aa-8e54-49b1-ac08-12f0a61f97f7"},{"name":"Delete Ticket","id":"c44704f7-ed99-4c7d-b68d-a4f424ce9cd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/ticket/{id}","description":"<p>Deletes a support ticket from the company.</p>\n<p>The ticket <code>id</code> must be provided in the endpoint URL, as shown in the cURL E<strong>xample</strong>.</p>\n<p>If an operator is actively handling the ticket, it cannot be deleted.</p>\n","urlObject":{"protocol":"https","path":["external","ticket","{id}"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"02bae8f0-d37a-4d37-b33c-32e2f2bc0441","name":"Delete Ticket","originalRequest":{"method":"DELETE","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/ticket/134b7d51-b43b-4571-b1e1-6a0f9efc0d12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"Ticket successfully deleted.\",\r\n\t\"code_cxpress\": 6734,\r\n\t\"data\": {\r\n\t\t\"ticket\": {\r\n\t\t\t\"id\": \"134b7d51-b43b-4571-b1e1-6a0f9efc0d12\",\r\n\t\t\t\"status_id\": \"daddbd66-1dd2-4008-94c9-7fcb9b1a5800\",\r\n\t\t\t\"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\r\n\t\t\t\"user_id\": \"e302dd77-52f3-4fff-9e1f-e31873bc6644\",\r\n\t\t\t\"channel_id\": \"3f3fa530-fd3e-4018-ab98-4d9c3cd5406a\",\r\n\t\t\t\"level\": 2,\r\n\t\t\t\"is_bot\": false,\r\n\t\t\t\"subject\": \"testeeee5\",\r\n\t\t\t\"started_at\": null,\r\n\t\t\t\"ended_at\": null,\r\n\t\t\t\"created_at\": \"2025-06-02T14:48:58.149Z\",\r\n\t\t\t\"updated_at\": \"2025-06-02T17:18:17.980Z\",\r\n\t\t\t\"deleted_at\": \"2025-06-02T17:18:17.980Z\",\r\n\t\t\t\"ticket_reference_id\": \"30615\",\r\n\t\t\t\"consumer_last_message\": null,\r\n\t\t\t\"agent_last_message\": null,\r\n\t\t\t\"sector_id\": null,\r\n\t\t\t\"consumer_last_message_content\": null,\r\n\t\t\t\"agent_last_message_content\": null,\r\n\t\t\t\"updated_level2_at\": \"2025-06-02T14:48:58.149Z\",\r\n\t\t\t\"in_attendance\": false,\r\n\t\t\t\"last_assigned_employee_id\": null,\r\n\t\t\t\"was_read\": true,\r\n\t\t\t\"whatsapp_keys_id\": null,\r\n\t\t\t\"who_is_viewing\": null,\r\n\t\t\t\"cc\": null,\r\n\t\t\t\"webchat_keys_id\": null,\r\n\t\t\t\"cco\": null,\r\n\t\t\t\"pre_solved\": false,\r\n\t\t\t\"facebook_keys_id\": null,\r\n\t\t\t\"instagram_keys_id\": null,\r\n\t\t\t\"call_id\": null,\r\n\t\t\t\"waiting_nps_answer\": false,\r\n\t\t\t\"nps_score\": null,\r\n\t\t\t\"bot_cxpress_name\": null,\r\n\t\t\t\"bot_nlp_id\": null,\r\n\t\t\t\"triage_id\": null,\r\n\t\t\t\"triage_sequence\": null,\r\n\t\t\t\"api_integration_id\": null,\r\n\t\t\t\"api_integration_sequence\": null,\r\n\t\t\t\"last_language\": null,\r\n\t\t\t\"run_triage\": true,\r\n\t\t\t\"extension_list\": null,\r\n\t\t\t\"ticket_created_by_employee\": null,\r\n\t\t\t\"processing\": false,\r\n\t\t\t\"email_ticket_created\": null,\r\n\t\t\t\"is_sent_outside_opening_hours_message\": false,\r\n\t\t\t\"finished_at\": null,\r\n\t\t\t\"reopened_at\": null,\r\n\t\t\t\"who_is_viewing_user_id\": null,\r\n\t\t\t\"home_ticket_update_at\": \"2025-06-02T17:07:51.029Z\"\r\n\t\t}\r\n\t}\r\n}"}],"_postman_id":"c44704f7-ed99-4c7d-b68d-a4f424ce9cd1"},{"name":"List Ticket Tags","id":"bbfa001c-f105-4c23-954d-33b7e8e37f73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/tag","description":"<p>Returns information about all ticket tags linked to the company.</p>\n<p>Supports query parameters.</p>\n","urlObject":{"protocol":"https","path":["external","tag"],"host":["api","cxpress","io"],"query":[{"disabled":true,"description":{"content":"<p>Specifies the page number to be returned in the paginated list of ticket tags.</p>\n","type":"text/plain"},"key":"page","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Defines the maximum number of ticket tags to be returned per page.</p>\n","type":"text/plain"},"key":"limit","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return either active or inactive ticket tags. This parameter must be set to 'true' (active tags) or 'false' (inactive tags).</p>\n","type":"text/plain"},"key":"active","value":"boolean, optional"},{"disabled":true,"description":{"content":"<p>Allows filtering of ticket tags based on a search string. The search is applied to the following fields: 'id' and 'name'.</p>\n","type":"text/plain"},"key":"search","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Defines the field by which results should be sorted. Currently supported values: 'name', 'reference_id', 'active', 'created_at'.</p>\n","type":"text/plain"},"key":"sort_by","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Indicates the direction of the sorting. Allowed values: 'asc' (ascending order) or 'desc' (descending order).</p>\n","type":"text/plain"},"key":"order_by","value":"string, optional"}],"variable":[]}},"response":[{"id":"a4f64458-564a-41c4-a50b-5a7b34644bab","name":"List Ticket Tags","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/tag"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"Request successfully fulfilled.\",\r\n\t\"tags\": [\r\n\t\t{\r\n\t\t\t\"id\": \"74cccdc3-8bb8-4f51-9108-92708dcdffb0\",\r\n\t\t\t\"reference_id\": 38,\r\n\t\t\t\"name\": \"atag\",\r\n\t\t\t\"active\": false,\r\n\t\t\t\"created_at\": \"2024-10-02T12:11:04.904Z\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"aedd89db-f829-4879-883b-a5986c4935b8\",\r\n\t\t\t\"reference_id\": 54,\r\n\t\t\t\"name\": \"a_teste\",\r\n\t\t\t\"active\": true,\r\n\t\t\t\"created_at\": \"2024-12-30T18:04:26.897Z\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"2baf9081-a458-4f84-9649-ee25d1c4aea0\",\r\n\t\t\t\"reference_id\": 1,\r\n\t\t\t\"name\": \"con12\",\r\n\t\t\t\"active\": true,\r\n\t\t\t\"created_at\": \"2024-04-08T13:50:30.572Z\"\r\n\t\t}\r\n\t],\r\n\t\"code_cxpress\": 5500,\r\n\t\"pagination\": {\r\n\t\t\"total\": 3,\r\n\t\t\"lastPage\": 1,\r\n\t\t\"prevPage\": null,\r\n\t\t\"nextPage\": null,\r\n\t\t\"perPage\": 100,\r\n\t\t\"currentPage\": 1,\r\n\t\t\"from\": 0,\r\n\t\t\"to\": 3\r\n\t}\r\n}"}],"_postman_id":"bbfa001c-f105-4c23-954d-33b7e8e37f73"},{"name":"Create Ticket Tag","id":"ca3b574c-a8df-4e9a-9ef4-108f8b233bcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"active\": true,\r\n  \"name\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/tag","description":"<p>Creates a ticket tag linked to the company.</p>\n<p>This ticket tag can be associated with a ticket via the <strong><code>Create Ticket</code></strong> and <strong><code>Edit Ticket</code></strong> endpoints, provided that the <code>active</code> field is set to <code>true</code>.</p>\n<p>The request body must be in JSON format and include the following <strong>required</strong> fields:</p>\n<ul>\n<li><p><strong><code>active</code></strong> (<em>boolean</em>) – Field indicating whether the ticket tag is active or not.</p>\n<ul>\n<li>Must be set to <code>true</code> or <code>false</code>.</li>\n</ul>\n</li>\n<li><p><strong><code>name</code></strong> (<em>string</em>) – Name of the ticket tag.</p>\n<ul>\n<li><p>Must be a string.</p>\n</li>\n<li><p>It <strong>cannot</strong> have the same name as an existing ticket tag.</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["external","tag"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"c2736c6e-6176-4bf4-b6fe-aebc9282a7ec","name":"Create Ticket Tag","originalRequest":{"method":"POST","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"active\": true,\r\n  \"name\": \"teste290525\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/tag"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n\t\"message\": \"Request successfully fulfilled.\",\n\t\"code_cxpress\": 5500,\n\t\"tag\": {\n\t\t\"id\": \"da5f8758-3773-48a6-bc01-ac0bdcd4adc9\",\n\t\t\"reference_id\": 56,\n\t\t\"name\": \"test290525\",\n\t\t\"active\": true,\n\t\t\"created_at\": \"2025-05-29T20:40:54.194Z\"\n\t}\n}"}],"_postman_id":"ca3b574c-a8df-4e9a-9ef4-108f8b233bcb"},{"name":"Edit Ticket Tag","id":"a6ad0e3b-bd55-4f1f-b3d6-3dfdf31e7741","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"active\": true,\r\n  \"name\": \"string\",\r\n  \"id\": \"id\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/tag","description":"<p>Updates the information of a ticket tag linked to the company.</p>\n<p>The request must include a JSON-formatted body with the following field:</p>\n<ul>\n<li><p><em><strong>id</strong></em> (<em>string</em>) – Unique identifier of the ticket tag to be updated.</p>\n<ul>\n<li>Must be the ID of an existing ticket tag.</li>\n</ul>\n</li>\n</ul>\n<p>All other fields are the same as those in the <strong><code>Create Ticket Tag</code></strong> endpoint and follow the same validation rules.</p>\n","urlObject":{"protocol":"https","path":["external","tag"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"dba23f67-41f6-4526-b413-b2a5948f3b96","name":"Edit Ticket Tag","originalRequest":{"method":"PUT","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"active\": true,\r\n  \"name\": \"teste2905251\",\r\n\t\"id\": \"da5f8758-3773-48a6-bc01-ac0bdcd4adc9\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/tag"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n\t\"message\": \"Request successfully fulfilled.\",\n\t\"code_cxpress\": 5500,\n\t\"tag\": {\n\t\t\"id\": \"da5f8758-3773-48a6-bc01-ac0bdcd4adc9\",\n\t\t\"reference_id\": 56,\n\t\t\"name\": \"test2905251\",\n\t\t\"active\": true,\n\t\t\"created_at\": \"2025-05-29T20:40:54.194Z\"\n\t}\n}"}],"_postman_id":"a6ad0e3b-bd55-4f1f-b3d6-3dfdf31e7741"},{"name":"List Tasks","id":"9ae2462e-7dd0-41e3-8355-993141f104d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/task","description":"<p>Returns information about all ticket tasks linked to the company.</p>\n<p>Supports query parameters.</p>\n","urlObject":{"protocol":"https","path":["external","task"],"host":["api","cxpress","io"],"query":[{"disabled":true,"description":{"content":"<p>Filters the list to return all tasks assigned to a specific operator. The operator's ID must be provided as a parameter.</p>\n","type":"text/plain"},"key":"assigned_employee_id","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return all tasks created by a specific operator. The operator's ID must be provided as a parameter.</p>\n","type":"text/plain"},"key":"requester_employee_id","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Filters tasks based on an array of ticket tag IDs. Values should be comma-separated. Example: tag_id1,tag_id2,tag_id3.</p>\n","type":"text/plain"},"key":"tags","value":"array[string], optional"},{"disabled":true,"description":{"content":"<p>Filters tasks based on an array of task status IDs (status_task_id). Values should be comma-separated. Example: status_task_id1,status_task_id2,status_task_id3.</p>\n","type":"text/plain"},"key":"status","value":"array[string], optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return all tasks related to a specific ticket. This parameter should be filled with a 'ticket_id' value.</p>\n","type":"text/plain"},"key":"ticket_id","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Indicates the direction of the sorting. Allowed values: 'asc' (ascending order) or 'desc' (descending order).</p>\n","type":"text/plain"},"key":"order_by","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Defines the field by which results should be sorted. Currently supported value: 'date_limit'.</p>\n","type":"text/plain"},"key":"sort_by","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Specifies the page number to be returned in the paginated list of tasks.</p>\n","type":"text/plain"},"key":"page","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Defines the maximum number of tasks to be returned per page.</p>\n","type":"text/plain"},"key":"limit","value":"integer > 0, optional"}],"variable":[]}},"response":[{"id":"117e0156-8f66-46bb-9e60-fb29bff3ecc5","name":"List Tasks","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/task"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"tasks\": [\r\n\t\t{\r\n\t\t\t\"date_limit\": \"2024-05-08T00:00:00Z\",\r\n\t\t\t\"id\": \"60b02e67-d90f-484f-94b9-1c3bb398138b\",\r\n\t\t\t\"ticket_id\": \"91288f22-0233-4c6a-8b9c-5c61e5ec2415\",\r\n\t\t\t\"description\": \"aaaa\",\r\n\t\t\t\"status_task_id\": \"325434f8-836a-4e19-824f-8f35b4d40a5d\",\r\n\t\t\t\"requester_employee_user_id\": \"290ff475-c343-4ff5-b487-b9f69b895725\",\r\n\t\t\t\"requester_employee_name\": \"Maria\",\r\n\t\t\t\"assigned_employee_name\": \"S a n t a n a\",\r\n\t\t\t\"tags\": []\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"date_limit\": \"2024-05-09T00:00:00Z\",\r\n\t\t\t\"id\": \"3f86a484-aa08-4789-b610-73766e7ab192\",\r\n\t\t\t\"ticket_id\": \"6db302e6-0021-4008-8150-340df21a4560\",\r\n\t\t\t\"description\": \"testes\",\r\n\t\t\t\"status_task_id\": \"325434f8-836a-4e19-824f-8f35b4d40a5d\",\r\n\t\t\t\"requester_employee_user_id\": \"90a64501-8c3d-4604-b35e-27fa17aee242\",\r\n\t\t\t\"requester_employee_name\": \"Agente Master\",\r\n\t\t\t\"assigned_employee_name\": \"S a n t a n a\",\r\n\t\t\t\"tags\": []\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"date_limit\": \"2024-05-09T21:00:00Z\",\r\n\t\t\t\"id\": \"ba4c31a0-4734-4735-976a-9ed5c80065e2\",\r\n\t\t\t\"ticket_id\": \"6d4f53cc-3557-4f05-b178-799ddf9bf1bf\",\r\n\t\t\t\"description\": \"teste\",\r\n\t\t\t\"status_task_id\": \"325434f8-836a-4e19-824f-8f35b4d40a5d\",\r\n\t\t\t\"requester_employee_user_id\": \"7e3be2e3-2f91-4ee8-83fa-6a53e176c526\",\r\n\t\t\t\"requester_employee_name\": \"testee\",\r\n\t\t\t\"assigned_employee_name\": \"Agente teste\",\r\n\t\t\t\"tags\": []\r\n\t\t}\r\n\t],\r\n\t\"message\": \"Request successfully fulfilled.\",\r\n\t\"pagination\": {\r\n\t\t\"total\": 3,\r\n\t\t\"lastPage\": 1,\r\n\t\t\"prevPage\": null,\r\n\t\t\"nextPage\": 2,\r\n\t\t\"perPage\": 100,\r\n\t\t\"currentPage\": 1,\r\n\t\t\"from\": 0,\r\n\t\t\"to\": 100\r\n\t},\r\n\t\"code_cxpress\": 3600\r\n}"}],"_postman_id":"9ae2462e-7dd0-41e3-8355-993141f104d4"},{"name":"Create Task","id":"c840cfb9-e7c1-41ad-9590-6abe0fdba4d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"ticket_id\": \"id\",\r\n    \"requester_employee_id\": \"id\",\r\n\t\"assigned_employee_id\": \"id\",\r\n    \"date_limit\": 1,\r\n    \"description\": \"string\",\r\n    \"tags_id\": [\r\n        \"id\"\r\n    ],\r\n    \"followers_id\": [\r\n        \"id\"\r\n    ],\r\n    \"status_task_id\": \"id\",\r\n    \"notification_alert_time\": 1,\r\n    \"notification_alert_type\": \"weeks | hours | days\",\r\n    \"shoud_notificate\": false,\r\n    \"observation\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/task","description":"<p>Creates a ticket task linked to the company.</p>\n<p>The request body must be in JSON format and include the following <strong>required</strong> fields:</p>\n<ul>\n<li><p><strong><code>ticket_id</code></strong> (<em>string</em>) – The ID of the ticket to which the task will be linked.</p>\n<ul>\n<li>Must be a valid ticket ID.</li>\n</ul>\n</li>\n<li><p><strong><code>requester_employee_id</code></strong> (<em>string</em>) – The operator who requested the task for the ticket.</p>\n<ul>\n<li>Must be a valid operator ID with access to the ticket.</li>\n</ul>\n</li>\n<li><p><strong><code>assigned_employee_id</code></strong> (<em>string</em>) – The operator assigned to the task.</p>\n<ul>\n<li>Must be a valid operator ID with access to the ticket.</li>\n</ul>\n</li>\n<li><p><strong><code>date_limit</code></strong> (<em>timestamp</em>) – Deadline for the task.</p>\n<ul>\n<li><p>Must be provided as a UNIX timestamp (in seconds).</p>\n</li>\n<li><p>Cannot be a date/time earlier than the current time.</p>\n</li>\n<li><p>After the deadline passes, the task will automatically receive the status:</p>\n<ul>\n<li><strong>Delayed</strong> – <code>325434f8-836a-4e19-824f-8f35b4d40a5d</code></li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong><code>description</code></strong> (<em>string</em>) – Description of the task.</p>\n<ul>\n<li>Must be a string.</li>\n</ul>\n</li>\n</ul>\n<p>The following fields are <strong>optional</strong>:</p>\n<ul>\n<li><p><strong><code>tags_ids</code></strong> (<em>array[string]</em>) – List of ticket tag IDs associated with the task.</p>\n<ul>\n<li>Must be an array of strings where each string is a valid, active tag ID.</li>\n</ul>\n</li>\n<li><p><strong><code>status_task_id</code></strong> (<em>string</em>) – Status of the task.</p>\n<ul>\n<li><p>Must be one of the following:</p>\n<ul>\n<li><p><strong>Open</strong> – <code>b58c1105-0ffe-4d07-a7d6-751389fc3008</code></p>\n</li>\n<li><p><strong>Resolved</strong> – <code>2b45ba71-fa68-4ce5-bf16-14f31d43ba1a</code></p>\n</li>\n<li><p><strong>Pending</strong> – <code>0ec35dbb-398e-4c2f-996c-933af162c950</code></p>\n</li>\n<li><p><strong>On hold</strong> – <code>3dd9b9ac-7399-4ce8-b22c-a513eb473803</code></p>\n</li>\n<li><p><strong>New</strong> – <code>daddbd66-1dd2-4008-94c9-7fcb9b1a5800</code></p>\n</li>\n<li><p><strong>Abandoned</strong> – <code>2f955a38-e8cf-4033-bf6c-c5e4f68c8ea9</code></p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong><code>followers_id</code></strong> (<em>array[string]</em>) – Operators who will follow the task.</p>\n<ul>\n<li>Must be an array of operator IDs with access to the ticket.</li>\n</ul>\n</li>\n<li><p><strong><code>notification_alert_time</code></strong> (<em>integer</em>) – Amount of time before the deadline to send an alert notification.</p>\n<ul>\n<li><p>Must be a whole number.</p>\n</li>\n<li><p>Example: If the task deadline is 31/08/2025 at 20:00, and <code>notification_alert_time</code> is <code>10</code> and <code>notification_alert_type</code> is <code>hours</code>, the alert will be sent at 10:00 on 31/08/2025.</p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>should_notificate</code></strong> (<em>boolean</em>) – Indicates whether to notify before the deadline.</p>\n<ul>\n<li><p>Must be <code>true</code> or <code>false</code>.</p>\n</li>\n<li><p>If set to <code>false</code>, the values of <code>notification_alert_time</code> and <code>notification_alert_type</code> will be ignored.</p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>observations</code></strong> (<em>string</em>) – Notes related to the task.</p>\n<ul>\n<li>Must be a string.</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["external","task"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"d0f6a98e-6465-4c64-9c1b-6e64d71ef3d9","name":"Create Task","originalRequest":{"method":"POST","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"ticket_id\": \"13a3ff38-125d-4a4a-b455-d1841287a96f\",\r\n    \"requester_employee_id\": \"b085c420-b42c-490e-848f-73d33cf86318\",\r\n\t\"assigned_employee_id\": \"b085c420-b42c-490e-848f-73d33cf86318\",\r\n    \"date_limit\": 1748630580\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/task"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Task successfully created.\",\n    \"task\": {\n        \"id\": \"b8e1410f-7abf-4655-a758-cd07b82bb7d6\",\n        \"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\n        \"ticket_id\": \"13a3ff38-125d-4a4a-b455-d1841287a96f\",\n        \"requester_employee_id\": \"b085c420-b42c-490e-848f-73d33cf86318\",\n        \"assigned_employee_id\": \"b085c420-b42c-490e-848f-73d33cf86318\",\n        \"date_limit\": \"2025-05-30T18:43:00.000Z\",\n        \"description\": \"string\",\n        \"status_task_id\": \"daddbd66-1dd2-4008-94c9-7fcb9b1a5800\",\n        \"created_at\": \"2025-05-29T18:36:45.157Z\",\n        \"updated_at\": \"2025-05-29T18:36:45.157Z\",\n        \"deleted_at\": null,\n        \"notification_alert_date\": \"2025-05-29T18:43:00.000Z\",\n        \"notification_alert_time\": 1440,\n        \"notification_alert_type\": \"hours\",\n        \"notified\": false,\n        \"should_notificate\": false,\n        \"observation\": null\n    },\n    \"code_cxpress\": 3600\n}"}],"_postman_id":"c840cfb9-e7c1-41ad-9590-6abe0fdba4d7"},{"name":"Edit Task","id":"2b6a776c-9d42-4bb1-9094-d640dbfd26c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"string\",\r\n    \"requester_employee_id\": \"id\",\r\n\t\"assigned_employee_id\": \"id\",\r\n    \"date_limit\": 1,\r\n    \"description\": \"string\",\r\n    \"tags_id\": [\r\n        \"id\"\r\n    ],\r\n    \"followers_id\": [\r\n        \"id\"\r\n    ],\r\n    \"status_task_id\": \"id\",\r\n    \"notification_alert_time\": 1,\r\n    \"notification_alert_type\": \"weeks | hours | days\",\r\n    \"shoud_notificate\": false,\r\n    \"observation\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/task","description":"<p>Updates the information of a task linked to the company.</p>\n<p>The request must contain a JSON-formatted body and must include the following field:</p>\n<ul>\n<li><p><strong><code>id</code></strong> <strong>(string)</strong> – Unique identifier of the task to be updated.</p>\n<ul>\n<li>Must be filled in with the ID of an existing task.</li>\n</ul>\n</li>\n</ul>\n<p>All other fields are the same as those used when creating a task and follow the same rules as the <strong><code>Create task</code></strong> endpoint, except for the <strong><code>ticket_id</code></strong> field, since a task is an entity that belongs to a ticket and cannot be moved to another ticket.</p>\n","urlObject":{"protocol":"https","path":["external","task"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"c0626bcf-873f-4ed2-90ac-b7cc501e2fd9","name":"Edit Task","originalRequest":{"method":"PUT","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"id\": \"b8e1410f-7abf-4655-a758-cd07b82bb7d6\",\r\n\t\"requester_employee_id\": \"b085c420-b42c-490e-848f-73d33cf86318\",\r\n\t\"assigned_employee_id\": \"b085c420-b42c-490e-848f-73d33cf86318\",\r\n\t\"description\": \"string\",\r\n\t\"date_limit\": 1748630581,\r\n\t\"status_task_id\": \"0ec35dbb-398e-4c2f-996c-933af162c950\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/task"},"code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Task successfully updated.\",\n    \"task\": {\n        \"id\": \"b8e1410f-7abf-4655-a758-cd07b82bb7d6\",\n        \"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\n        \"ticket_id\": \"13a3ff38-125d-4a4a-b455-d1841287a96f\",\n        \"requester_employee_id\": \"b085c420-b42c-490e-848f-73d33cf86318\",\n        \"assigned_employee_id\": \"b085c420-b42c-490e-848f-73d33cf86318\",\n        \"date_limit\": \"2025-05-30T18:43:01.000Z\",\n        \"description\": \"string\",\n        \"status_task_id\": \"0ec35dbb-398e-4c2f-996c-933af162c950\",\n        \"created_at\": \"2025-05-29T18:36:45.157Z\",\n        \"updated_at\": \"2025-05-29T19:41:17.271Z\",\n        \"deleted_at\": null,\n        \"notification_alert_date\": \"2025-05-29T18:43:01.000Z\",\n        \"notification_alert_time\": 24,\n        \"notification_alert_type\": \"hours\",\n        \"notified\": false,\n        \"should_notificate\": false,\n        \"observation\": null,\n        \"followers\": []\n    },\n    \"code_cxpress\": 3600\n}"}],"_postman_id":"2b6a776c-9d42-4bb1-9094-d640dbfd26c4"},{"name":"Delete Task","id":"3d6414bf-ccc6-4f62-b7d3-4886773bb2cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/task/{id}","description":"<p>Deletes a task from the company.</p>\n<p>The <code>id</code> of the task to be deleted must be provided in the endpoint URL, as shown in the cURL <strong>Example</strong> in the documentation.</p>\n","urlObject":{"protocol":"https","path":["external","task","{id}"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"a30d0174-f520-4345-b95e-5301a7861480","name":"Delete Task","originalRequest":{"method":"DELETE","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/task/b8e1410f-7abf-4655-a758-cd07b82bb7d6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"Request successfully fulfilled.\",\r\n\t\"tasks\": [\r\n\t\t{\r\n\t\t\t\"id\": \"b8e1410f-7abf-4655-a758-cd07b82bb7d6\",\r\n\t\t\t\"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\r\n\t\t\t\"ticket_id\": \"13a3ff38-125d-4a4a-b455-d1841287a96f\",\r\n\t\t\t\"requester_employee_id\": \"b085c420-b42c-490e-848f-73d33cf86318\",\r\n\t\t\t\"assigned_employee_id\": \"b085c420-b42c-490e-848f-73d33cf86318\",\r\n\t\t\t\"date_limit\": \"2025-05-30T18:43:01.000Z\",\r\n\t\t\t\"description\": \"string\",\r\n\t\t\t\"status_task_id\": \"0ec35dbb-398e-4c2f-996c-933af162c950\",\r\n\t\t\t\"created_at\": \"2025-05-29T18:36:45.157Z\",\r\n\t\t\t\"updated_at\": \"2025-05-29T19:45:01.346Z\",\r\n\t\t\t\"deleted_at\": \"2025-05-29T19:56:51.716Z\",\r\n\t\t\t\"notification_alert_date\": \"2025-05-29T18:43:01.000Z\",\r\n\t\t\t\"notification_alert_time\": 1440,\r\n\t\t\t\"notification_alert_type\": \"hours\",\r\n\t\t\t\"notified\": true,\r\n\t\t\t\"should_notificate\": false,\r\n\t\t\t\"observation\": null\r\n\t\t}\r\n\t],\r\n\t\"code_cxpress\": 3600\r\n}"}],"_postman_id":"3d6414bf-ccc6-4f62-b7d3-4886773bb2cf"},{"name":"List Sectors","id":"73888f92-4d9a-492a-b90e-dee2c2cabeeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/sector","description":"<p>Returns the information of all sectors linked to the company.</p>\n<p>Supports query parameters.</p>\n","urlObject":{"protocol":"https","path":["external","sector"],"host":["api","cxpress","io"],"query":[{"disabled":true,"description":{"content":"<p>Defines the maximum number of sectors to be returned per page.</p>\n","type":"text/plain"},"key":"limit","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Specifies the page number to be returned in the paginated list of sectors.</p>\n","type":"text/plain"},"key":"page","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Filters the list to return either active or inactive sectors. This parameter must be set to 'true' (active) or 'false' (inactive).</p>\n","type":"text/plain"},"key":"active","value":"boolean, optional"},{"disabled":true,"description":{"content":"<p>Allows filtering of sectors based on a search string. The search is applied to the following fields: 'name' and 'keyword'.</p>\n","type":"text/plain"},"key":"search","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Defines the field by which results should be sorted. Currently supported values: 'name', 'reference_id', 'active', 'created_at'.</p>\n","type":"text/plain"},"key":"sort_by","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Indicates the direction of the sorting. Allowed values: 'asc' (ascending order) or 'desc' (descending order).</p>\n","type":"text/plain"},"key":"order_by","value":"string, optional"}],"variable":[]}},"response":[{"id":"b1118e07-a952-47ef-b87c-7994f95332ff","name":"List Sectors","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/sector"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"sectors\": [\r\n        {\r\n\t\t\t\"sector_id\": \"f6a3de28-4fa2-4cce-97e6-98302ba52589\",\r\n\t\t\t\"sector_name\": \"1 test setor\",\r\n\t\t\t\"active\": false,\r\n\t\t\t\"agents\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"id\": \"19208a4e-8ead-4802-9b8d-bcef8c92571e\",\r\n\t\t\t\t\t\"name\": \"Participante 1\",\r\n\t\t\t\t\t\"user_id\": \"d1d8b6eb-2c40-4729-8a65-324312d82d1a\",\r\n\t\t\t\t\t\"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\r\n\t\t\t\t\t\"deleted_at\": null\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\t\"id\": \"3ab300cc-bdc9-40b6-9b37-4dd278e0569d\",\r\n\t\t\t\t\t\"name\": \"Participante 2\",\r\n\t\t\t\t\t\"user_id\": \"4f270ad1-46ff-4e59-abd3-affe55abe305\",\r\n\t\t\t\t\t\"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\r\n\t\t\t\t\t\"deleted_at\": \"2025-02-11T13:53:29.242295+00:00\"\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\t\"id\": \"4419508b-1a5c-4f4f-9d3d-605d8d60613a\",\r\n\t\t\t\t\t\"name\": \"Participante 3\",\r\n\t\t\t\t\t\"user_id\": \"09660a7f-d4f6-4882-b8a8-c9e54c4e386c\",\r\n\t\t\t\t\t\"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\r\n\t\t\t\t\t\"deleted_at\": null\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\t\"id\": \"b48b7a02-e6a6-4f3e-b0a9-fd2aeb65305b\",\r\n\t\t\t\t\t\"name\": \"Participante 4\",\r\n\t\t\t\t\t\"user_id\": \"81d7b029-2099-4ed5-b140-0026711d1e24\",\r\n\t\t\t\t\t\"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\r\n\t\t\t\t\t\"deleted_at\": null\r\n\t\t\t\t}\r\n\t\t\t],\r\n\t\t\t\"keyword\": null\r\n\t\t},\r\n        {\r\n\t\t    \"sector_id\": \"c87e932b-8696-40a7-8db9-c3b238d9db7e\",\r\n\t\t    \"sector_name\": \"AA222\",\r\n\t\t    \"active\": true,\r\n\t\t    \"agents\": null,\r\n\t\t    \"keyword\": null\r\n\t    }\r\n    ],\r\n\t\"pagination\": {\r\n\t\t\"total\": 2,\r\n\t\t\"lastPage\": 1,\r\n\t\t\"prevPage\": null,\r\n\t\t\"nextPage\": null,\r\n\t\t\"perPage\": 100,\r\n\t\t\"currentPage\": 1,\r\n\t\t\"from\": 0,\r\n\t\t\"to\": 2\r\n\t},\r\n\t\"code_cxpress\": 2700\r\n}"}],"_postman_id":"73888f92-4d9a-492a-b90e-dee2c2cabeeb"},{"name":"Create Sector","id":"d69a930b-0f11-465d-bc36-f89c42570be8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"string\",\r\n    \"active\": true,\r\n    \"emails_id\": [\r\n        \"id\"\r\n    ],\r\n    \"whatsapp_keys_id\": [\r\n        \"id\"\r\n    ],\r\n    \"instagram_keys_id\": [\r\n        \"id\"\r\n    ],\r\n    \"facebook_keys_id\": [\r\n        \"id\"\r\n    ],\r\n    \"employees_user_ids\": [\r\n        \"id\"\r\n    ],\r\n    \"key_words\": [\r\n        \"string\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/sector","description":"<p>Creates a sector linked to the company.</p>\n<p>The request body must contain the following <strong>required fields</strong>:</p>\n<ul>\n<li><p><strong><code>name</code></strong> <strong>(string)</strong> – Name of the sector.</p>\n<ul>\n<li>Must be filled in with a string.</li>\n</ul>\n</li>\n<li><p><strong><code>active</code></strong> <strong>(boolean)</strong> – Field to indicate whether the sector is active.</p>\n<ul>\n<li>Must be filled in with <code>true</code> or <code>false</code>.</li>\n</ul>\n</li>\n</ul>\n<p>The following fields are <strong>optional</strong>:</p>\n<ul>\n<li><p><strong><code>emails_id []</code></strong> <strong>(array[string])</strong> – List of email IDs associated with the sector.</p>\n<ul>\n<li><p>Must be filled in with an array of email IDs integrated with the company, each string being an ID from the <strong><code>List Integrated Emails</code></strong> endpoint.</p>\n</li>\n<li><p>When a consumer contacts an email address whose ID is in this array, the ticket will be automatically assigned to the sector linked to that email.</p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>whatsapp_keys_id []</code></strong> <strong>(array[string])</strong> – List of WhatsApp number key IDs associated with the sector.</p>\n<ul>\n<li><p>Must be filled in with an array of <code>whatsapp_keys_id</code>, each string being an ID from the <strong>List Integrated Automations</strong> endpoint.</p>\n</li>\n<li><p>When a consumer contacts a WhatsApp number whose ID is in this array, the ticket will be automatically assigned to the sector linked to that number.</p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>instagram_keys_id []</code></strong> <strong>(array[string])</strong> – List of Instagram page key IDs associated with the sector.</p>\n<ul>\n<li><p>Must be filled in with an array of <code>instagram_keys_id</code>, each string being an ID from the <strong>List Integrated Automations</strong> endpoint.</p>\n</li>\n<li><p>When a consumer contacts an Instagram page whose ID is in this array, the ticket will be automatically assigned to the sector linked to that page.</p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>facebook_keys_id []</code></strong> <strong>(array[string])</strong> – List of Facebook page key IDs associated with the sector.</p>\n<ul>\n<li><p>Must be filled in with an array of <code>facebook_keys_id</code>, each string being an ID from the <strong>List Integrated Automations</strong> endpoint.</p>\n</li>\n<li><p>When a consumer contacts a Facebook page whose ID is in this array, the ticket will be automatically assigned to the sector linked to that page.</p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>employee_user_ids []</code></strong> <strong>(array[string])</strong> – List of operator user IDs associated with the sector.</p>\n<ul>\n<li>Must be filled in with an array of <code>user_id</code> values from operators listed in the <strong><code>List Operators</code></strong> endpoint.</li>\n</ul>\n</li>\n<li><p><strong><code>key_words []</code></strong> <strong>(array[string])</strong> – List of keywords associated with the sector.</p>\n<ul>\n<li><p>Must be filled in with an array where each string is a keyword.</p>\n</li>\n<li><p>A keyword cannot be the same as one already registered in another sector.</p>\n</li>\n<li><p>When a consumer contacts an integrated channel, the system will count keyword matches in the chat and assign the ticket to the sector with the highest number of matched keywords.</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["external","sector"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"b444d508-0842-4e4f-8f9e-9e14d36f4c56","name":"Create Sector","originalRequest":{"method":"POST","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Setor teste29051\",\r\n  \"active\": true,\r\n  \"key_words\": [\r\n    \"testeeeeee\",\r\n\t\t\"testeeeeee2\",\r\n\t\t\"teste3\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/sector"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"sector\": {\r\n\t\t\"id\": \"84b4ae49-5f96-4eb6-b80b-8de053cad037\",\r\n\t\t\"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\r\n\t\t\"name\": \"Sector test29051\",\r\n\t\t\"updated_at\": \"2025-05-29T21:19:01.720Z\",\r\n\t\t\"deleted_at\": null,\r\n\t\t\"active\": true,\r\n\t\t\"created_at\": \"2025-05-29T21:19:01.720Z\",\r\n\t\t\"key_words\": [\r\n\t\t\t\"testeeeeee\",\r\n\t\t\t\"testeeeeee2\",\r\n\t\t\t\"teste3\"\r\n\t\t]\r\n\t},\r\n\t\"message\": \"sector registered successfully\",\r\n\t\"code_cxpress\": 2700\r\n}"}],"_postman_id":"d69a930b-0f11-465d-bc36-f89c42570be8"},{"name":"Edit Sector","id":"6e357ae6-414d-48bd-b284-3a1e95f047e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"id\",\r\n    \"name\": \"string\",\r\n    \"active\": true,\r\n    \"emails_id\": [\r\n        \"id\"\r\n    ],\r\n    \"whatsapp_keys_id\": [\r\n        \"id\"\r\n    ],\r\n    \"instagram_keys_id\": [\r\n        \"id\"\r\n    ],\r\n    \"facebook_keys_id\": [\r\n        \"id\"\r\n    ],\r\n    \"employees_user_ids\": [\r\n        \"id\"\r\n    ],\r\n    \"key_words\": [\r\n        \"string\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/sector","description":"<p>Updates the information of a sector linked to the company.</p>\n<p>The request body must contain the following field:</p>\n<ul>\n<li><p><strong><code>id</code></strong> <strong>(string)</strong> – Unique identifier of the sector to be updated.</p>\n<ul>\n<li>Must be filled in with the ID of an existing sector.</li>\n</ul>\n</li>\n</ul>\n<p>All other fields follow the same rules as described in the <strong><code>Create Sector</code></strong> endpoint.</p>\n","urlObject":{"protocol":"https","path":["external","sector"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"cf24289a-8fcc-4ef6-b68e-227660a17ca4","name":"Edit Sector","originalRequest":{"method":"PUT","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"84b4ae49-5f96-4eb6-b80b-8de053cad037\",\r\n    \"name\": \"Setor teste2905\",\r\n    \"active\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/sector"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"sector\": {\r\n\t\t\"id\": \"84b4ae49-5f96-4eb6-b80b-8de053cad037\",\r\n\t\t\"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\r\n\t\t\"name\": \"Sector test2905\",\r\n\t\t\"updated_at\": \"2025-05-29T21:22:10.429Z\",\r\n\t\t\"deleted_at\": null,\r\n\t\t\"active\": true,\r\n\t\t\"created_at\": \"2025-05-29T21:19:01.720Z\"\r\n\t},\r\n\t\"message\": \"sector updated successfully\",\r\n\t\"code_cxpress\": 2700\r\n}"}],"_postman_id":"6e357ae6-414d-48bd-b284-3a1e95f047e1"},{"name":"List Custom Fields","id":"f785bec6-0189-4c62-9b9e-26d1b20bd63b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/custom-fields","description":"<p>Returns the information of all custom fields linked to the company.</p>\n<p>Custom fields can belong to:</p>\n<ul>\n<li><p><strong>Tickets</strong></p>\n<ul>\n<li>Use <code>entity_type_id</code>: <code>250204ce-44eb-4cdc-865a-f54eed9c6496</code></li>\n</ul>\n</li>\n<li><p><strong>Consumers</strong></p>\n<p>  Use <code>entity_type_id</code>: <code>b93b0740-a77d-4474-aad9-7aa0044d5654</code></p>\n</li>\n</ul>\n<p>Each custom field has a data type, which can be:</p>\n<ul>\n<li><p><strong>General</strong> – <code>custom_field_data_type_id = 03bf352a-c95f-4d05-927b-4380eb3f407f</code></p>\n<ul>\n<li>Accepts any character, including spaces and special characters.</li>\n</ul>\n</li>\n<li><p><strong>Numeric</strong> – <code>custom_field_data_type_id = cbb362a5-c6ab-4acb-b2c8-f67a49770987</code></p>\n<ul>\n<li><p>Accepts only digits (0–9).</p>\n</li>\n<li><p><strong>Does not</strong> accept spaces.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Text</strong> – <code>custom_field_data_type_id = 4aaa9e26-2277-4827-a085-e8f3404d358a</code></p>\n<ul>\n<li><p>Accepts alphabetic characters (a–z, A–Z) including accented characters (é, ã, õ, ç, etc.).</p>\n</li>\n<li><p><strong>Does not</strong> accept spaces.</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["external","custom-fields"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"8e993397-8c43-4ed4-94f9-f619a1f0f272","name":"List Custom Fields","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/custom-fields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"successfully.\",\r\n\t\"custom_fields\": [\r\n\t\t{\r\n\t\t\t\"id\": \"97a8a34c-173e-403e-91d2-a385d844f8e7\",\r\n\t\t\t\"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\r\n\t\t\t\"entity_type_id\": \"b93b0740-a77d-4474-aad9-7aa0044d5654\",\r\n\t\t\t\"custom_field_type_id\": \"d31ebd9e-af9f-4559-b04a-729439218a6f\",\r\n\t\t\t\"name\": \"21323112\",\r\n\t\t\t\"placeholder\": \"21\",\r\n\t\t\t\"options\": null,\r\n\t\t\t\"default_value\": null,\r\n\t\t\t\"created_at\": \"2025-01-07T13:11:06.898Z\",\r\n\t\t\t\"updated_at\": \"2025-02-06T11:45:38.607Z\",\r\n\t\t\t\"required\": false,\r\n\t\t\t\"custom_field_datatype_id\": \"cbb362a5-c6ab-4acb-b2c8-f67a49770987\",\r\n\t\t\t\"field_size_min\": 21,\r\n\t\t\t\"field_size_max\": 22\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"2d9bc770-5204-4bd8-b681-659b6ea1616c\",\r\n\t\t\t\"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\r\n\t\t\t\"entity_type_id\": \"250204ce-44eb-4cdc-865a-f54eed9c6496\",\r\n\t\t\t\"custom_field_type_id\": \"d31ebd9e-af9f-4559-b04a-729439218a6f\",\r\n\t\t\t\"name\": \"BOTteste05149\",\r\n\t\t\t\"placeholder\": \"teste\",\r\n\t\t\t\"options\": null,\r\n\t\t\t\"default_value\": null,\r\n\t\t\t\"created_at\": \"2025-01-07T13:04:11.493Z\",\r\n\t\t\t\"updated_at\": \"2025-01-28T11:59:04.870Z\",\r\n\t\t\t\"required\": false,\r\n\t\t\t\"custom_field_datatype_id\": \"cbb362a5-c6ab-4acb-b2c8-f67a49770987\",\r\n\t\t\t\"field_size_min\": 2,\r\n\t\t\t\"field_size_max\": 3\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"7e9a0ea2-aefe-489c-a8b4-e80b87e63735\",\r\n\t\t\t\"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\r\n\t\t\t\"entity_type_id\": \"b93b0740-a77d-4474-aad9-7aa0044d5654\",\r\n\t\t\t\"custom_field_type_id\": \"d31ebd9e-af9f-4559-b04a-729439218a6f\",\r\n\t\t\t\"name\": \"Campo teste 2\",\r\n\t\t\t\"placeholder\": \"campo teste\",\r\n\t\t\t\"options\": null,\r\n\t\t\t\"default_value\": null,\r\n\t\t\t\"created_at\": \"2025-02-06T11:46:38.987Z\",\r\n\t\t\t\"updated_at\": \"2025-02-06T11:46:51.188Z\",\r\n\t\t\t\"required\": false,\r\n\t\t\t\"custom_field_datatype_id\": \"4aaa9e26-2277-4827-a085-e8f3404d358a\",\r\n\t\t\t\"field_size_min\": 1,\r\n\t\t\t\"field_size_max\": 10\r\n    \t}\r\n\t],\r\n\t\"code_cxpress\": 3300\r\n}"}],"_postman_id":"f785bec6-0189-4c62-9b9e-26d1b20bd63b"},{"name":"Create Custom Field","id":"2700dc07-0255-4908-ac75-a916bb64be08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"entity_type_id\": \"id\",\r\n  \"custom_field_type_id\": \"id\",\r\n  \"name\": \"string\",\r\n  \"placeholder\": \"string\",\r\n  \"required\": false,\r\n  \"field_size_min\": 1,\r\n  \"field_size_max\": 50,\r\n  \"custom_field_datatype_id\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/custom-fields","description":"<p>Creates a custom field linked to the company.</p>\n<p>The request body must contain the following <strong>required fields</strong>:</p>\n<ul>\n<li><p><strong><code>entity_type_id</code></strong> <strong>(string)</strong> – Type of entity for the custom field.</p>\n<ul>\n<li><p>Must be one of the following:</p>\n<ul>\n<li><p><strong>Tickets</strong>: <code>250204ce-44eb-4cdc-865a-f54eed9c6496</code></p>\n</li>\n<li><p><strong>Consumers</strong>: <code>b93b0740-a77d-4474-aad9-7aa0044d5654</code></p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong><code>custom_field_type_id</code></strong> <strong>(string)</strong> – Component type for the custom field.</p>\n<ul>\n<li><p>Must be one of the following:</p>\n<ul>\n<li><p><strong>Text</strong>: <code>d31ebd9e-af9f-4559-b04a-729439218a6f</code></p>\n</li>\n<li><p><strong>Textarea</strong>: <code>2982a738-4de3-440a-8ed1-cc1fdb51bc9b</code></p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong><code>name</code></strong> <strong>(string)</strong> – Name of the custom field.</p>\n<ul>\n<li><p>Must be filled in with a string.</p>\n</li>\n<li><p>The name must be unique per entity; you cannot create another field with the same name for the same entity type.</p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>placeholder</code></strong> <strong>(string)</strong> – Placeholder text displayed in the custom field.</p>\n<ul>\n<li>Must be filled in with a string.</li>\n</ul>\n</li>\n<li><p><strong><code>required</code></strong> <strong>(boolean)</strong> – Indicates whether the field is required.</p>\n<ul>\n<li><p>Must be filled in with <code>true</code> or <code>false</code>.</p>\n<ul>\n<li><p>If <code>true</code>, the field must be included in the request body when creating or updating a ticket using the <strong>Create Ticket</strong> or <strong>Edit Ticket</strong> endpoints.</p>\n</li>\n<li><p>For consumer custom fields, this must always be <code>false</code> (there is no validation for required fields in consumer entities).</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong><code>field_size_min</code></strong> <strong>(integer)</strong> – Minimum character length for the field.</p>\n<ul>\n<li>Must be an integer greater than or equal to 1.</li>\n</ul>\n</li>\n<li><p><strong><code>field_size_max</code></strong> <strong>(integer)</strong> – Maximum character length for the field.</p>\n<ul>\n<li>Must be an integer less than or equal to 500.</li>\n</ul>\n</li>\n<li><p>**<code>custom_field_data_type_i</code>**<strong>d (string)</strong> – Data type for the custom field.</p>\n<ul>\n<li><p>Must be one of the following:</p>\n<ul>\n<li><p><strong>General</strong>: <code>03bf352a-c95f-4d05-927b-4380eb3f407f</code></p>\n</li>\n<li><p><strong>Numeric</strong>: <code>cbb362a5-c6ab-4acb-b2c8-f67a49770987</code></p>\n</li>\n<li><p><strong>Text</strong>: <code>4aaa9e26-2277-4827-a085-e8f3404d358a</code></p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["external","custom-fields"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"e2def0e0-6316-4344-b1eb-b84f5e81b34b","name":"Create Custom Field","originalRequest":{"method":"POST","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"entity_type_id\": \"b93b0740-a77d-4474-aad9-7aa0044d5654\",\r\n  \"custom_field_type_id\": \"d31ebd9e-af9f-4559-b04a-729439218a6f\",\r\n  \"name\": \"teste campo\",\r\n  \"placeholder\": \"insira o valor teste\",\r\n  \"required\": false,\r\n  \"field_size_min\": 1,\r\n  \"field_size_max\": 50,\r\n  \"custom_field_datatype_id\": \"cbb362a5-c6ab-4acb-b2c8-f67a49770987\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/custom-fields"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"Field successfully created.\",\r\n\t\"custom_fields\": [\r\n\t\t{\r\n\t\t\t\"id\": \"671c0dc8-f604-4426-8070-968d12165ff9\",\r\n\t\t\t\"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\r\n\t\t\t\"entity_type_id\": \"b93b0740-a77d-4474-aad9-7aa0044d5654\",\r\n\t\t\t\"custom_field_type_id\": \"d31ebd9e-af9f-4559-b04a-729439218a6f\",\r\n\t\t\t\"name\": \"test\",\r\n\t\t\t\"default_value\": null,\r\n\t\t\t\"placeholder\": \"test\",\r\n\t\t\t\"options\": null,\r\n\t\t\t\"created_at\": \"2025-06-02T13:12:39.269Z\",\r\n\t\t\t\"updated_at\": \"2025-06-02T13:12:39.269Z\",\r\n\t\t\t\"required\": false,\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"custom_field_datatype_id\": \"cbb362a5-c6ab-4acb-b2c8-f67a49770987\",\r\n\t\t\t\"field_size_min\": 1,\r\n\t\t\t\"field_size_max\": 50\r\n\t\t}\r\n\t],\r\n\t\"code_cxpress\": 3300\r\n}"}],"_postman_id":"2700dc07-0255-4908-ac75-a916bb64be08"},{"name":"Edit Custom Field","id":"54cb7a46-7e11-47d8-bf25-2a248c6e07f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"id\",\r\n    \"entity_type_id\": \"id\",\r\n    \"custom_field_type_id\": \"id\",\r\n    \"name\": \"string\",\r\n    \"placeholder\": \"string\",\r\n    \"required\": false,\r\n    \"custom_field_datatype_id\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/custom-fields","description":"<p>Updates the information of a custom field linked to the company.</p>\n<p>The request body must include:</p>\n<ul>\n<li><p><strong><code>id</code></strong> <strong>(string)</strong> – Unique identifier of the custom field to be updated.</p>\n<ul>\n<li>Must be filled in with the ID of an existing custom field.</li>\n</ul>\n</li>\n</ul>\n<p>All other fields follow the same structure and validation rules as in the <strong><code>Create Custom Field</code></strong> endpoint.</p>\n","urlObject":{"protocol":"https","path":["external","custom-fields"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"01d7f828-32bc-47f3-bdc8-d3085021f175","name":"Edit Custom Field","originalRequest":{"method":"PUT","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"f871358e-37f6-4b7a-acda-0e7570ea6b23\",\r\n\t\"entity_type_id\": \"b93b0740-a77d-4474-aad9-7aa0044d5654\",\r\n\t\"custom_field_type_id\": \"d31ebd9e-af9f-4559-b04a-729439218a6f\",\r\n    \"name\": \"teste campo22\",\r\n    \"placeholder\": \"insira o valor teste22\",\r\n    \"required\": true,\r\n\t\"custom_field_datatype_id\": \"cbb362a5-c6ab-4acb-b2c8-f67a49770987\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.cxpress.io/external/custom-fields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"Field successfully updated.\",\r\n\t\"custom_fields\": [\r\n\t\t{\r\n\t\t\t\"id\": \"f871358e-37f6-4b7a-acda-0e7570ea6b23\",\r\n\t\t\t\"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\r\n\t\t\t\"entity_type_id\": \"b93b0740-a77d-4474-aad9-7aa0044d5654\",\r\n\t\t\t\"custom_field_type_id\": \"d31ebd9e-af9f-4559-b04a-729439218a6f\",\r\n\t\t\t\"name\": \"test\",\r\n\t\t\t\"default_value\": null,\r\n\t\t\t\"placeholder\": \"test\",\r\n\t\t\t\"options\": null,\r\n\t\t\t\"created_at\": \"2025-06-02T13:17:45.649Z\",\r\n\t\t\t\"updated_at\": \"2025-06-02T13:32:41.971Z\",\r\n\t\t\t\"required\": true,\r\n\t\t\t\"deleted_at\": null,\r\n\t\t\t\"custom_field_datatype_id\": \"cbb362a5-c6ab-4acb-b2c8-f67a49770987\",\r\n\t\t\t\"field_size_min\": 1,\r\n\t\t\t\"field_size_max\": 50\r\n\t\t}\r\n\t],\r\n\t\"code_cxpress\": 3300\r\n}"}],"_postman_id":"54cb7a46-7e11-47d8-bf25-2a248c6e07f3"},{"name":"List Operators","id":"db622c38-9320-42e1-ace3-9cf657fcb5c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/agent","description":"<p>Returns the information of all agents linked to the company.</p>\n<p>Query parameters are available.</p>\n","urlObject":{"protocol":"https","path":["external","agent"],"host":["api","cxpress","io"],"query":[{"disabled":true,"description":{"content":"<p>Defines the maximum number of operators to be returned per page.</p>\n","type":"text/plain"},"key":"limit","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Specifies the page number to be returned in the paginated list of operators.</p>\n","type":"text/plain"},"key":"page","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Indicates the direction of the sorting. Allowed values: 'asc' (ascending order) or 'desc' (descending order).</p>\n","type":"text/plain"},"key":"order_by","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Allows filtering of operators based on a search string. The search is applied to the following fields: 'name', 'email', and 'document_number'.</p>\n","type":"text/plain"},"key":"search","value":"string, optional"}],"variable":[]}},"response":[{"id":"ad83cb90-e67e-4ed6-89a9-7f839c355a37","name":"List Operators","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/agent"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Request successfully fulfilled.\",\n    \"code_cxpress\": 825,\n    \"data\": [\n        {\n            \"id\": \"ebd7eb55-b540-44fa-9978-ea40af1b7eb2\",\n            \"user_id\": \"a1874711-399a-45d9-98bf-63d39ddad466\",\n            \"name\": \"11\",\n            \"lastname\": null,\n            \"email\": \"1@email.com\",\n            \"document_number\": null,\n            \"phone\": null,\n            \"observations\": \"1111111333322222\",\n            \"profile_id\": \"ec2f67da-d7b0-4486-85a7-b8f297c5dc3c\",\n            \"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\n            \"employee_language\": \"en\",\n            \"country\": \"ES\",\n            \"role\": null,\n            \"is_app_authenticated\": null,\n            \"send_email_notification\": false,\n            \"sector\": [\n                {\n                    \"id\": \"144b195a-dd47-4527-ae71-1500225380b6\",\n                    \"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\n                    \"name\": \"a\",\n                    \"updated_at\": \"2025-05-13T19:31:06.434057+00:00\",\n                    \"deleted_at\": null,\n                    \"active\": true,\n                    \"created_at\": \"2024-10-04T16:49:37.37568+00:00\"\n                },\n                {\n                    \"id\": \"feb0d0d6-34ee-4141-be05-574b36639512\",\n                    \"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\n                    \"name\": \"João Voltou\",\n                    \"updated_at\": \"2025-01-16T15:10:40.516722+00:00\",\n                    \"deleted_at\": null,\n                    \"active\": true,\n                    \"created_at\": \"2025-01-15T19:15:49.411696+00:00\"\n                }\n            ],\n            \"status_employee_id\": \"dd31811e-c7ea-4928-b190-a5afe063c957\"\n        },\n        {\n            \"id\": \"97d1cec6-5e52-4405-bb53-e3a4529b630c\",\n            \"user_id\": \"e302dd77-52f3-4fff-9e1f-e31873bc6644\",\n            \"name\": \"2\",\n            \"lastname\": null,\n            \"email\": \"2@EMAIL.COM\",\n            \"document_number\": null,\n            \"phone\": null,\n            \"observations\": null,\n            \"profile_id\": \"ec2f67da-d7b0-4486-85a7-b8f297c5dc3c\",\n            \"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\n            \"employee_language\": \"en\",\n            \"country\": \"BR\",\n            \"role\": null,\n            \"is_app_authenticated\": null,\n            \"send_email_notification\": false,\n            \"sector\": [\n                {\n                    \"id\": \"144b195a-dd47-4527-ae71-1500225380b6\",\n                    \"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\n                    \"name\": \"a\",\n                    \"updated_at\": \"2025-05-13T19:31:06.434057+00:00\",\n                    \"deleted_at\": null,\n                    \"active\": true,\n                    \"created_at\": \"2024-10-04T16:49:37.37568+00:00\"\n                }\n            ],\n            \"status_employee_id\": \"dd31811e-c7ea-4928-b190-a5afe063c957\"\n        },\n        {\n            \"id\": \"a11ea96d-9185-49bc-a83b-cf5bb2084c5a\",\n            \"user_id\": \"752513bd-731d-4b1a-a56f-dc571e9fb9ab\",\n            \"name\": \"3\",\n            \"lastname\": null,\n            \"email\": \"E@EMIAL.COM\",\n            \"document_number\": null,\n            \"phone\": null,\n            \"observations\": null,\n            \"profile_id\": \"ec2f67da-d7b0-4486-85a7-b8f297c5dc3c\",\n            \"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\n            \"employee_language\": \"en\",\n            \"country\": \"FR\",\n            \"role\": null,\n            \"is_app_authenticated\": null,\n            \"send_email_notification\": false,\n            \"sector\": [\n                {\n                    \"id\": \"144b195a-dd47-4527-ae71-1500225380b6\",\n                    \"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\n                    \"name\": \"a\",\n                    \"updated_at\": \"2025-05-13T19:31:06.434057+00:00\",\n                    \"deleted_at\": null,\n                    \"active\": true,\n                    \"created_at\": \"2024-10-04T16:49:37.37568+00:00\"\n                }\n            ],\n            \"status_employee_id\": \"dd31811e-c7ea-4928-b190-a5afe063c957\"\n        },\n        {\n            \"id\": \"75d86e68-92eb-4ca5-a05e-fd294c526247\",\n            \"user_id\": \"50c69384-0c9a-4dfa-b98c-7a10fa694c43\",\n            \"name\": \"Adriano dois\",\n            \"lastname\": null,\n            \"email\": \"adrianoudemy@gmail.com\",\n            \"document_number\": null,\n            \"phone\": null,\n            \"observations\": null,\n            \"profile_id\": \"ec2f67da-d7b0-4486-85a7-b8f297c5dc3c\",\n            \"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\n            \"employee_language\": \"en\",\n            \"country\": \"BR\",\n            \"role\": null,\n            \"is_app_authenticated\": null,\n            \"send_email_notification\": false,\n            \"sector\": [\n                {\n                    \"id\": \"feb0d0d6-34ee-4141-be05-574b36639512\",\n                    \"company_id\": \"3ad8ad75-42f1-4072-b39d-68d9e1e8059f\",\n                    \"name\": \"João Voltou\",\n                    \"updated_at\": \"2025-01-16T15:10:40.516722+00:00\",\n                    \"deleted_at\": null,\n                    \"active\": true,\n                    \"created_at\": \"2025-01-15T19:15:49.411696+00:00\"\n                }\n            ],\n            \"status_employee_id\": \"dd31811e-c7ea-4928-b190-a5afe063c957\"\n        }\n    ],\n    \"pagination\": {\n        \"total\": 4,\n        \"lastPage\": 1,\n        \"prevPage\": null,\n        \"nextPage\": null,\n        \"perPage\": 100,\n        \"currentPage\": 1,\n        \"from\": 0,\n        \"to\": 4\n    }\n}"}],"_postman_id":"db622c38-9320-42e1-ace3-9cf657fcb5c5"},{"name":"Show Operator","id":"64f33eba-853b-4de5-aac7-c2f11267c864","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/agent/{id}","description":"<p>Displays the information of a specific agent.  </p>\n<p>The agent’s <code>id</code> or <code>user_id</code> must be provided in the endpoint, similar to the example shown in the cURL under \"Example\".</p>\n","urlObject":{"protocol":"https","path":["external","agent","{id}"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"ae81e66d-4b1c-4705-ac67-24672d070be4","name":"Show Operator","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/agent/4705eb14-57ca-4da1-ba35-e33dfb861e30"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n\t\"message\": \"Request successfully fulfilled.\",\n\t\"code_cxpress\": 825,\n\t\"data\": [\n\t\t{\n\t\t\t\"id\": \"4705eb14-57ca-4da1-ba35-e33dfb861e30\",\n\t\t\t\"user_id\": \"d8901615-b94b-48f9-80fb-4c607e19ad78\",\n\t\t\t\"profile_id\": \"a90baf90-b2b4-4ed9-a268-4be4f6addb1c\",\n\t\t\t\"name\": \"marcos teste\",\n\t\t\t\"lastname\": \"Consumidor\",\n\t\t\t\"document_number\": null,\n\t\t\t\"email\": \"marcos.filho@elife.com.br\",\n\t\t\t\"phone\": \"5511998877665\",\n\t\t\t\"observations\": null,\n\t\t\t\"company_id\": \"9cd8b0f1-d868-465d-a116-037c7bf22507\",\n\t\t\t\"employee_language\": \"pt-br\",\n\t\t\t\"country\": \"BR\",\n\t\t\t\"role\": null,\n\t\t\t\"send_email_notification\": true,\n\t\t\t\"permissions\": null,\n\t\t\t\"status_employee_id\": \"b6772d5d-47f9-4987-b355-eae070198406\"\n\t\t}\n\t]\n}"}],"_postman_id":"64f33eba-853b-4de5-aac7-c2f11267c864"},{"name":"List Integrated Automations","id":"ac9b7231-d0e8-43c6-89d5-c8c2d866798c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/channel/keys","description":"<p>Returns the information of all integrated automations linked to the company.</p>\n<p>In the context of the platform, an <strong>automation</strong> represents the integration of a customer service channel (except the <strong>Email</strong> channel). Automations may include:</p>\n<ul>\n<li><p><strong>WhatsApp number</strong> – <code>whatsapp_keys</code></p>\n</li>\n<li><p><strong>Facebook page</strong> – <code>facebook_keys</code></p>\n</li>\n<li><p><strong>Instagram page</strong> – <code>instagram_keys</code></p>\n</li>\n<li><p><strong>Webchat channel route</strong> – <code>webchat_keys</code></p>\n</li>\n</ul>\n<p>Each automation returned by this endpoint can be linked to a sector using the <strong><code>Create Sector</code></strong> and <strong><code>Edit Sector</code></strong> endpoints.</p>\n","urlObject":{"protocol":"https","path":["external","channel","keys"],"host":["api","cxpress","io"],"query":[],"variable":[]}},"response":[{"id":"8f29d7f4-1b62-440b-93f0-51163bde03bd","name":"List Integrated Automations","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/channel/keys"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Request successfully fulfilled.\",\n    \"code_cxpress\": 6501,\n    \"data\": [\n        {\n            \"id\": \"6c07e528-612f-4778-89ac-0554412cc0c4\",\n            \"name\": \"testes4\",\n            \"triage_id\": \"921c22b2-2aae-46b5-993b-174d355c6a17\",\n            \"whatsapp_key\": null,\n            \"facebook_key\": null,\n            \"instagram_key\": null,\n            \"webchat_key\": {\n                \"id\": \"bc7700b6-1629-4e8f-bb87-b536a367f481\",\n                \"has_bot\": true\n            }\n        },\n        {\n            \"id\": \"1e3feee0-8f11-431e-84b6-97b0745f167e\",\n            \"name\": \"testes3\",\n            \"triage_id\": \"921c22b2-2aae-46b5-993b-174d355c6a17\",\n            \"whatsapp_key\": {\n                \"id\": \"39f22543-d6d1-49cd-ada5-7ae91414b813\",\n                \"name\": \"testes3\",\n                \"has_bot\": false,\n                \"phone_number\": \"551126264233\"\n            },\n            \"facebook_key\": null,\n            \"instagram_key\": null,\n            \"webchat_key\": null\n        },\n        {\n            \"id\": \"859223e3-d0d2-4329-b398-bc3b12126f26\",\n            \"name\": \"testes2\",\n            \"triage_id\": \"34e3e418-ccb7-4896-9df2-a3d52059c49e\",\n            \"whatsapp_key\": null,\n            \"facebook_key\": null,\n            \"instagram_key\": {\n                \"id\": \"7018c934-5d7f-48bc-8dff-08265cd460d9\",\n                \"name\": \"testes12\",\n                \"has_bot\": true\n            },\n            \"webchat_key\": null\n        },\n        {\n            \"id\": \"d64df55a-e5f2-4a3b-a9a2-1fb39304aa37\",\n            \"name\": \"testes1\",\n            \"triage_id\": \"921c22b2-2aae-46b5-993b-174d355c6a17\",\n            \"whatsapp_key\": null,\n            \"facebook_key\": {\n                \"id\": \"b6a3ede3-637b-44cf-9ab5-61703c1d4eb1\",\n                \"name\": \"testes1\",\n                \"has_bot\": false\n            },\n            \"instagram_key\": null,\n            \"webchat_key\": null\n        }\n    ]\n}"}],"_postman_id":"ac9b7231-d0e8-43c6-89d5-c8c2d866798c"},{"name":"List Integrated Emails","id":"d5e34f5a-20d7-483d-a8f5-f5c9149e3fe3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/company/email","description":"<p>This endpoint returns the information of all integrated emails linked to the company.</p>\n<p>An integrated email is an email address configured to:</p>\n<ul>\n<li><p><strong>Automatically generate tickets</strong> in Cxpress from received messages.</p>\n</li>\n<li><p><strong>Act as the sender when sending emails</strong> to consumers during service interactions.</p>\n</li>\n</ul>\n<p>Each email returned by this endpoint can be linked to a sector using the <strong><code>Create Sector</code></strong> or <strong><code>Edit Sector</code></strong> endpoints.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"f6668c5a-9bc7-44ad-a3c2-c4c78b736367","id":"f6668c5a-9bc7-44ad-a3c2-c4c78b736367","name":"API Cxpress","type":"collection"}},"urlObject":{"protocol":"https","path":["external","company","email"],"host":["api","cxpress","io"],"query":[{"disabled":true,"description":{"content":"<p>Defines the maximum number of integrated emails to be returned per page.</p>\n","type":"text/plain"},"key":"limit","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Specifies the page number to be returned in the paginated list of integrated emails.</p>\n","type":"text/plain"},"key":"page","value":"integer > 0, optional"},{"disabled":true,"description":{"content":"<p>Indicates the direction of the sorting. Allowed values: 'asc' (ascending order) or 'desc' (descending order).</p>\n","type":"text/plain"},"key":"order_by","value":"string, optional"},{"disabled":true,"description":{"content":"<p>Allows filtering of integrated emails based on a search string. The search is applied to the following field: 'email'.</p>\n","type":"text/plain"},"key":"search","value":"string, optional"}],"variable":[]}},"response":[{"id":"8146cf58-2581-4ff5-ba19-e8e868c6c78d","name":"List Integrated Emails","originalRequest":{"method":"GET","header":[{"key":"Origin","value":"https://{Your domain}.app.cxpress.io/","type":"text"}],"url":"https://api.cxpress.io/external/company/email"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n\t\"message\": \"Request successfully fulfilled.\",\r\n\t\"code_cxpress\": 619,\r\n\t\"data\": [\r\n\t\t{\r\n\t\t\t\"id\": \"19bbb664-ba74-4750-8b8b-26d3645536b3\",\r\n\t\t\t\"active\": true,\r\n\t\t\t\"email\": \"11@email.com\",\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"confirmation_url\": null,\r\n\t\t\t\"is_primary\": false,\r\n\t\t\t\"email_suport\": false\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"0e50b79b-4c98-4ee3-b383-2f03a1f74ae4\",\r\n\t\t\t\"active\": false,\r\n\t\t\t\"email\": \"8844personal@freesourcecodes.com\",\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": null,\r\n\t\t\t\t\"name\": null\r\n\t\t\t},\r\n\t\t\t\"confirmation_url\": null,\r\n\t\t\t\"is_primary\": false,\r\n\t\t\t\"email_suport\": false\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"df1d4d3b-797a-406f-92f8-1ef657b5d21a\",\r\n\t\t\t\"active\": true,\r\n\t\t\t\"email\": \"aaaaaa@gmail.com\",\r\n\t\t\t\"sector\": {\r\n\t\t\t\t\"id\": \"ee663daa-ae9c-4745-b9e5-82d7d9796845\",\r\n\t\t\t\t\"name\": \"CadastroTESTE6561\"\r\n\t\t\t},\r\n\t\t\t\"confirmation_url\": null,\r\n\t\t\t\"is_primary\": false,\r\n\t\t\t\"email_suport\": false\r\n\t\t}\r\n    ],\r\n\t\"pagination\": {\r\n\t\t\"total\": 3,\r\n\t\t\"lastPage\": 1,\r\n\t\t\"prevPage\": null,\r\n\t\t\"nextPage\": null,\r\n\t\t\"perPage\": 100,\r\n\t\t\"currentPage\": 1,\r\n\t\t\"from\": 0,\r\n\t\t\"to\": 3\r\n\t}\r\n}"}],"_postman_id":"d5e34f5a-20d7-483d-a8f5-f5c9149e3fe3"}],"id":"c635f94c-6519-4490-be8c-55efd3852820","description":"<p>The <code>/collections</code> endpoints let you manage your <a href=\"https://learning.postman.com/docs/sending-requests/intro-to-collections/\">collections</a>.</p>\n","_postman_id":"c635f94c-6519-4490-be8c-55efd3852820","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"f6668c5a-9bc7-44ad-a3c2-c4c78b736367","id":"f6668c5a-9bc7-44ad-a3c2-c4c78b736367","name":"API Cxpress","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{token}}"}]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}],"variable":[{"id":"ee7eea7e-5492-47da-b8c5-0190d07fa8c8","key":"baseUrl","value":"https://farming-simulator.pstmn.io"}]}