{"info":{"_postman_id":"c527258d-c023-4183-b41f-6ee87da2db30","name":"ClearTrust APIs","description":"<html><head></head><body><p>The API suite provides a secure and seamless integration with the platform through RESTful endpoints, utilizing JWT tokens for authentication and authorization. All communication is encrypted using TLS 1.2 or higher, ensuring data confidentiality and integrity. The granularity of authentication to resource and API keys are employed for secure access, while input validation protect against abuse and vulnerabilities. Real-time monitoring, audit logging, and analytics provide visibility into API usage and security, Comprehensive documentation facilitate smooth integration and development. APIs standardized error responses enable robust error handling. This API framework offers a reliable, scalable, and secure interface for interacting with the platform.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"30356706","collectionId":"c527258d-c023-4183-b41f-6ee87da2db30","publishedId":"2sAXqzVxaK","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-09-30T10:48:35.000Z"},"item":[{"name":"Business Management","item":[{"name":"Add Customer","id":"a43e2fbf-0dd9-45e8-85bb-8ffd96d4c7e8","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"cc-api-access-token","value":"mDH1Ye2xUj6UvOK85tSdGzpEcrXYEBEJRuCjGFjtFaackEw2xY","description":"<p>User authentication token</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"TestAdvertise25092025\",\n    \"biztype\": \"Advertiser\",\n    \"email\": \"vatib@azuretech.net\",\n    \"password\":\"test34\",\n    \"bizid\": 400026\n}","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/admin/business/customer/add","description":"<p>This API enables partners to programmatically add customer accounts to the ClearTrust program. Once added, customers can seamlessly access ClearTrust features. The API is designed for easy integration, ensuring a smooth onboarding process for both customers and partners. Each request is secured with robust authentication mechanisms, guaranteeing that only authorized users can add and access customer accounts within the ClearTrust system.</p>\n<p>As a response the EndPoint provides you two accounts</p>\n<ol>\n<li><p>Business Account</p>\n</li>\n<li><p>User Account</p>\n</li>\n</ol>\n<p>As soon as the customer account is created successfully the welcome mail is triggered to the email address provided in request body asking you to reset/change the password for privacy and security reasons. It is highly recommended to change the password as soon as the customer account is created successfully</p>\n<p>EndPoint : <a href=\"https://ctapp.openivt.ai/admin/business/customer/add\">https://ctapp.openivt.ai/admin/business/customer/add</a></p>\n<p>Content-Type : JSON</p>\n<p>Request Headers:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cc-api-access-token</td>\n<td>The API Key of the Partner</td>\n<td>String</td>\n<td>'abcd1234XYZ'</td>\n</tr>\n</tbody>\n</table>\n</div><p>Request Body:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Condition</strong></th>\n<th><strong>Format</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>username</td>\n<td>Business Name or User Name</td>\n<td>Mandatory</td>\n<td>String</td>\n<td>This key holds the name of the company or the user</td>\n</tr>\n<tr>\n<td>biztype</td>\n<td>\"Agency\" or \"Advertiser\"</td>\n<td>Mandatory</td>\n<td>String</td>\n<td>This key holds the nature of the business the customer is conducting for. The customer can be either \"Advertiser\" or \"Agency\"</td>\n</tr>\n<tr>\n<td>email</td>\n<td>email address for communication</td>\n<td>Mandatory</td>\n<td>String</td>\n<td>This email address is used in future to send any communications or notifications etc. The customer can login to into cleartrust site using this login in future to check the dashboard and reports etc.</td>\n</tr>\n<tr>\n<td>password</td>\n<td>password</td>\n<td>Mandatory</td>\n<td>String</td>\n<td>The password to be used along with email provided to login to the cleartrust site.</td>\n</tr>\n<tr>\n<td>bizid</td>\n<td>Partner Business ID</td>\n<td>Optional</td>\n<td>Number</td>\n<td>The business id of the partner</td>\n</tr>\n</tbody>\n</table>\n</div><p>Response:</p>\n<p>As a response to the request, the EndPoint will respond with id and apiKey of the newly created customer:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Usage</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>b_id</td>\n<td>business identity of the customer.</td>\n<td>This should be used in future to avail the features and integrate the APIs for any other operations on ClearTrust Platform</td>\n</tr>\n<tr>\n<td>b_key</td>\n<td>The api Key of the customer</td>\n<td>This should be used in future to avail the features and integrate the APIs for any other operations on ClearTrust Platform</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["admin","business","customer","add"],"host":["ctapp","openivt","ai"],"query":[],"variable":[]}},"response":[{"id":"83d78d97-c08b-43c5-910a-5975f0c4dfef","name":"Pass","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"cc-api-access-token","value":"WtP1kBPRkZC9IAV0sAGzjnWkSlAlIlP6hlo4PyuL6tWORoV2M8","description":"User authentication token","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"TestAdvertise25092025\",\n    \"biztype\": \"Advertiser\",\n    \"email\": \"vatibemy@azuretechtalk.net\",\n    \"password\":\"test34\",\n    \"bizid\":400026\n}","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/admin/business/customer/add"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Fri, 26 May 2023 04:07:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"111"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"message\": {\n            \"b_id\": 800009,\n            \"b_key\": \"VNA8nU6dyNiWfoGmJWnow35pBk7D7BWpNvEDB4VKTOBpAXhlr9\"\n        },\n        \"status\": \"success\"\n    }\n}"},{"id":"f25fb4c1-0f1c-4e3e-9023-15d9cf79c759","name":"Duplicate Customer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"cc-api-access-token","value":"gz27IUcEKA8rdLp6RZasue8lI7IwKte5RXBr6UIWTWWMqymQG","description":"User authentication token","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"TestAdvertise25092025\",\n    \"biztype\": \"Advertiser\",\n    \"email\": \"vatibemy@azuretechtalk.net\",\n    \"password\":\"test34\",\n    \"bizid\":600001\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:5000/admin/business/customer/add"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"778b6072-8a06-4029-8b66-0e92285df5ee","name":"Invalid API Key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"cc-api-access-token","value":"gz27IUcEKA8rdLp6RZasue8lI7IwKte5RXBr6UIWTWWMqymQG","description":"User authentication token","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"TestAdvertise25092025\",\n    \"biztype\": \"Advertiser\",\n    \"email\": \"vatibemy@azuretechtalk.net\",\n    \"password\":\"test34\",\n    \"bizid\":600001\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:5000/admin/business/customer/add"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"4e731608-081c-4406-b988-28060caa8835","name":"Partner Account does not exist","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"cc-api-access-token","value":"gz27IUcEKA8rdLp6RZasue8lI7IwKte5RXBr6UIWTWWMqymQG","description":"User authentication token","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"TestAdvertise25092025\",\n    \"biztype\": \"Advertiser\",\n    \"email\": \"vatibemy@azuretechtalk.net\",\n    \"password\":\"test34\",\n    \"bizid\":600091\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:5000/admin/business/customer/add"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"a43e2fbf-0dd9-45e8-85bb-8ffd96d4c7e8"},{"name":"Additional Tokens","id":"e4d1622a-8f69-4238-b756-0dc370507d14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"cc-api-access-token","value":"mDH1Ye2xUj6UvOK85tSdGzpEcrXYEBEJRuCjGFjtFaackEw2xY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"bizid\":400026\n}","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/admin/business/fetchTokens","description":"<p>In compliance with security and privacy standards, ClearTrust requires two additional access tokens or keys to implement Multi-Factor Authentication (MFA) for seamless integration into the ClearTrust platform. MFA provides an added layer of security, significantly reducing the risk of unauthorized access by requiring multiple forms of verification. This API allows partners to easily retrieve the necessary tokens, ensuring secure, efficient, and reliable access to the platform. The use of MFA enhances trust, protects sensitive data, and helps partners comply with industry security regulations.</p>\n<p>EndPoint : <a href=\"https://ctapp.openivt.ai/admin/business/fetchTokens\">https://ctapp.openivt.ai/admin/business/fetchTokens</a></p>\n<p>Content Type: JSON</p>\n<p>Request Headers:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cc-api-access-token</td>\n<td>This is the value obtained from the Add Customer API. This holds the value of apiKey of the required customer</td>\n</tr>\n</tbody>\n</table>\n</div><p>Request Body:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bizid</td>\n<td>This is the value obtained from the Add Customer API. This holds the value of business identity of the required customer</td>\n</tr>\n</tbody>\n</table>\n</div><p>Response Body:</p>\n<p>The response body will be an array of json objects. Each object will have two values as mentioned below:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Format</strong></th>\n<th>Usage</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>u_id</td>\n<td>The user identity (Number) of the user  <br />account created while adding the customer</td>\n<td>Number</td>\n<td>This value along with the ones obtains in Customer Add API needs to be used for the other APIs</td>\n</tr>\n<tr>\n<td>u_tk</td>\n<td>The access token of the user</td>\n<td>String</td>\n<td>This value along with the ones obtains in Customer Add API needs to be used for the other APIs</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["admin","business","fetchTokens"],"host":["ctapp","openivt","ai"],"query":[],"variable":[]}},"response":[{"id":"cf787cfe-2ceb-4c97-840c-ec6fe0a4643f","name":"Pass","originalRequest":{"method":"POST","header":[{"key":"cc-api-access-token","value":"mDH1Ye2xUj6UvOK85tSdGzpEcrXYEBEJRuCjGFjtFaackEw2xY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"bizid\":400026\n}","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/admin/business/fetchTokens"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"a09b464a-cb41-425c-99f4-b6bc4b119826","name":"Invalid API Key","originalRequest":{"method":"POST","header":[{"key":"cc-api-access-token","value":"gz27IUcEKA8rdLp6RZasue8lI7IwKte5RXBr6UIWTWWMqymQGZ","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"bizid\":400026\n}","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/admin/business/fetchTokens"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"726f31a4-d263-49b5-9125-fb7171e81210","name":"Invalid Business","originalRequest":{"method":"POST","header":[{"key":"cc-api-access-token","value":"gz27IUcEKA8rdLp6RZasue8lI7IwKte5RXBr6UIWTWWMqymQGZ","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"bizid\":600001\n}","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/admin/business/fetchTokens"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e4d1622a-8f69-4238-b756-0dc370507d14"}],"id":"857f653a-0238-4db0-ab0c-4e005873f8b9","description":"<p>Business Management APIs are a set of software interfaces that allow developers to interact with and manage various aspects of a business's operations, processes, and data. These APIs provide a standardized way to access and manipulate business-related information programmatically, enabling integration with external applications, systems, and services.</p>\n<p>The specific implementation of these functionalities may vary depending on the business management software or platform you are working with. It's recommended to refer to the documentation or API reference provided by the specific business management system to understand the available endpoints, request/response formats, authentication mechanisms, and any specific requirements or limitations.</p>\n","_postman_id":"857f653a-0238-4db0-ab0c-4e005873f8b9"},{"name":"Team Management","item":[{"name":"Create Team","id":"999b7d78-18b5-47a8-ab4f-aa45dabb7148","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Access-Tokens","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2Vyc19pZCI6Nzc4LCJleHAiOjE3NTAzMzIxMzF9.Cb4UHI81_92yHOKe_xUTNlaa-crPoYcoHQbJxIjv0Zw","type":"text"},{"key":"cc-api-access-token","value":"mDH1Ye2xUj6UvOK85tSdGzpEcrXYEBEJRuCjGFjtFaackEw2xY","type":"text"},{"key":"Origin","value":"cleartrack.cleartrust.app","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userid\": 778,\n    \"bizid\": 400026,\n    \"team\": {\n        \"name\": \"TeamACEs\",\n        \"desc\": \"Testing update\",\n        \"size\": 20,\n        \"location\": \"India\",\n        \"brand\": \"Cleartrack\",\n        \"tags\": \"tags\"\n    },\n    \"admin\": {\n        \"name\": \"TeamTester\",\n        \"email\": \"aparnabr02@gmail.com\",\n        \"tel\": \"+91 9945699456\"\n    },\n    \"features\": [\n        {\n            \"name\": \"ClearTrack\",\n            \"permission\": [\n                {\n                    \"module\": \"Links\",\n                    \"permissions\": \"Create,View,ExportData\"\n                },\n                {\n                    \"module\": \"Offers\",\n                    \"permissions\": \"Create,View,Update,ExportData,Cloning\"\n                }\n            ]\n        },\n        {\n            \"name\": \"ClearSense\",\n            \"permission\": [\n                {\n                    \"module\": \"Scans\",\n                    \"permissions\": \"Create,View,ExportData\"\n                },\n                {\n                    \"module\": \"Dashboard\",\n                    \"permissions\": \"View,ScreenShot,ExportData\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/teams/create","urlObject":{"protocol":"https","path":["teams","create"],"host":["ctapp","openivt","ai"],"query":[],"variable":[]}},"response":[{"id":"c172dd8d-984f-4a2d-b165-a1b65d3b40aa","name":"https://ctapp.openivt.ai/teams/create","originalRequest":{"method":"POST","header":[{"key":"X-Access-Tokens","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2Vyc19pZCI6Nzc4LCJleHAiOjE3NTAzNjI5NTZ9.wniCddjxeukAy0i_9i6y8f5pFMy3nuO9GMTgsTbMHz8","type":"text"},{"key":"cc-api-access-token","value":"mDH1Ye2xUj6UvOK85tSdGzpEcrXYEBEJRuCjGFjtFaackEw2xY","type":"text"},{"key":"Origin","value":"cleartrack.cleartrust.app","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userid\": 778,\n    \"bizid\": 400026,\n    \"team\": {\n        \"name\": \"TeamACEs\",\n        \"desc\": \"Testing update\",\n        \"size\": 20,\n        \"location\": \"India\",\n        \"brand\": \"Cleartrack\",\n        \"tags\": \"tags\"\n    },\n    \"admin\": {\n        \"name\": \"TeamTester\",\n        \"email\": \"aparnabr02@gmail.com\",\n        \"tel\": \"+91 9945699456\"\n    },\n    \"features\": [\n        {\n            \"name\": \"ClearTrack\",\n            \"permission\": [\n                {\n                    \"module\": \"Links\",\n                    \"permissions\": \"Create,View,ExportData\"\n                },\n                {\n                    \"module\": \"Offers\",\n                    \"permissions\": \"Create,View,Update,ExportData,Cloning\"\n                }\n            ]\n        },\n        {\n            \"name\": \"ClearSense\",\n            \"permission\": [\n                {\n                    \"module\": \"Scans\",\n                    \"permissions\": \"Create,View,ExportData\"\n                },\n                {\n                    \"module\": \"Dashboard\",\n                    \"permissions\": \"View,ScreenShot,ExportData\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/teams/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Thu, 19 Jun 2025 14:56:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"68"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Origin","value":"cleartrack.cleartrust.app"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Team 'TeamACEs' created successfully\",\n    \"success\": \"true\"\n}"}],"_postman_id":"999b7d78-18b5-47a8-ab4f-aa45dabb7148"},{"name":"List the Teams","id":"4305fd1a-68b0-400e-9ea4-34216bb786a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Access-Tokens","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2Vyc19pZCI6Nzc4LCJleHAiOjE3NTAzNTEzODR9.z4yCKHrLvgjhoDsGpOXNek7lsLM6qqQwGNzLm8oLeqA","type":"text"},{"key":"cc-api-access-token","value":"mDH1Ye2xUj6UvOK85tSdGzpEcrXYEBEJRuCjGFjtFaackEw2xY","type":"text"},{"key":"Origin","value":"cleartrack.cleartrust.app","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userid\":778,\n    \"bizid\":400026,\n    \"start\": \"2023-01-31\",\n    \"end\": \"2024-10-31\"\n}","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/teams/list","description":"<p>List of Teams which can be viewed by Biz Admin</p>\n","urlObject":{"protocol":"https","path":["teams","list"],"host":["ctapp","openivt","ai"],"query":[],"variable":[]}},"response":[{"id":"02062aac-7b14-448c-a91a-0d16f361f9c1","name":"List the Teams","originalRequest":{"method":"POST","header":[{"key":"X-Access-Tokens","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2Vyc19pZCI6Nzc4LCJleHAiOjE3NTAzNjI5NTZ9.wniCddjxeukAy0i_9i6y8f5pFMy3nuO9GMTgsTbMHz8","type":"text"},{"key":"cc-api-access-token","value":"mDH1Ye2xUj6UvOK85tSdGzpEcrXYEBEJRuCjGFjtFaackEw2xY","type":"text"},{"key":"Origin","value":"cleartrack.cleartrust.app","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userid\":778,\n    \"bizid\":400026,\n    \"start\": \"2024-01-31\",\n    \"end\": \"2025-10-31\"\n}","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/teams/list"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Thu, 19 Jun 2025 15:06:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"458"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin"},{"key":"Content-Encoding","value":"br"},{"key":"Access-Control-Allow-Origin","value":"cleartrack.cleartrust.app"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"data\": [\n            {\n                \"brand_name\": \"Adswap\",\n                \"description\": \"This team is regarding affiliatess\",\n                \"location\": \"India\",\n                \"maxusers\": 10,\n                \"name\": \"Affiliate\",\n                \"tags\": \"\",\n                \"users_email\": \"shrutik2@cleartrack.cc\",\n                \"users_name\": \"Dora the Explorer\",\n                \"users_phone\": \"+919637299082\"\n            },\n            {\n                \"brand_name\": \"Adswap\",\n                \"description\": \"\",\n                \"location\": \"India\",\n                \"maxusers\": 10,\n                \"name\": \"Digital\",\n                \"tags\": \"\",\n                \"users_email\": \"shruti@cleatrust.cc\",\n                \"users_name\": \"Shruti\",\n                \"users_phone\": \"+907867567899\"\n            },\n            {\n                \"brand_name\": \"Adswap\",\n                \"description\": \"\",\n                \"location\": \"India\",\n                \"maxusers\": 10,\n                \"name\": \"Quality Control\",\n                \"tags\": \"\",\n                \"users_email\": \"shruti@cleartrust.cc\",\n                \"users_name\": \"ABCD\",\n                \"users_phone\": \"+976576577278\"\n            },\n            {\n                \"brand_name\": \"Adswap\",\n                \"description\": \"\",\n                \"location\": \"India\",\n                \"maxusers\": 10,\n                \"name\": \"GIT\",\n                \"tags\": \"\",\n                \"users_email\": \"sara@cleartrust.cc\",\n                \"users_name\": \"sara\",\n                \"users_phone\": \"+907883673822\"\n            },\n            {\n                \"brand_name\": \"Adswap\",\n                \"description\": \"\",\n                \"location\": \"India\",\n                \"maxusers\": 10,\n                \"name\": \"Anupama\",\n                \"tags\": \"\",\n                \"users_email\": \"anupama@cleatrust.cc\",\n                \"users_name\": \"Anupama\",\n                \"users_phone\": \"+918883738393\"\n            },\n            {\n                \"brand_name\": \"Adswap\",\n                \"description\": \"\",\n                \"location\": \"India\",\n                \"maxusers\": 10,\n                \"name\": \"Engineer\",\n                \"tags\": \"\",\n                \"users_email\": \"sudarshan@cleartrust.cc\",\n                \"users_name\": \"sudarshan\",\n                \"users_phone\": \"+908786765645\"\n            },\n            {\n                \"brand_name\": \"Adswap\",\n                \"description\": \"\",\n                \"location\": \"India\",\n                \"maxusers\": 10,\n                \"name\": \"Sales\",\n                \"tags\": \"\",\n                \"users_email\": \"ranjeet@cleartrust.cc\",\n                \"users_name\": \"rahul\",\n                \"users_phone\": \"+907867755677\"\n            },\n            {\n                \"brand_name\": \"Adswap\",\n                \"description\": \"\",\n                \"location\": \"India\",\n                \"maxusers\": 10,\n                \"name\": \"IT\",\n                \"tags\": \"\",\n                \"users_email\": \"aparna@cleartrust.cc\",\n                \"users_name\": \"Aprna\",\n                \"users_phone\": \"+907655678889\"\n            },\n            {\n                \"brand_name\": \"Adswap\",\n                \"description\": \"nm\",\n                \"location\": \"India\",\n                \"maxusers\": 10,\n                \"name\": \" n\",\n                \"tags\": \"\",\n                \"users_email\": \"amar@ail.com\",\n                \"users_name\": \"Team_A\",\n                \"users_phone\": \"+875555666655\"\n            }\n        ],\n        \"total\": 9\n    },\n    \"success\": \"true\"\n}"}],"_postman_id":"4305fd1a-68b0-400e-9ea4-34216bb786a3"},{"name":"Add Team member","id":"fe2b196d-400a-484c-a7c4-a49b2d9512ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Access-Tokens","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2Vyc19pZCI6ODMzLCJleHAiOjE3NTAzNTA3NjR9.h_dHIK-7Y7NBzSQBY2rQwoMYaYTjobQzwMuIs7kA06k","type":"text"},{"key":"cc-api-access-token","value":"ZFviB84rDFKA1w4ZoxoskM4cKTEhQLHaCzicuStKvnxKZpKcBp","type":"text"},{"key":"Origin","value":"cleartrack.cleartrust.app","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userid\":833,\n    \"bizid\":600047,\n    \"team\":\"Testing team\",\n    \"name\": \"rvik\",\n    \"email\":\"rvik@gmil.com\",\n    \"phone\": \"+91 9876543210\",\n    \"status\":1,\n    \"role\": \"User\",\n    \"type\":\"user\",\n    \"features\": [\n       \n        {\n            \"name\": \"ClearSense\",\n            \"permission\": [\n                {\n                    \"module\": \"Scans\",\n                    \"permissions\": \"Create,View\"\n                },\n                {\n                    \"module\": \"Dashboard\",\n                    \"permissions\": \"View,ScreenShot,ExportData\"\n                },\n                {\n                    \"module\": \"Reports\",\n                    \"permissions\": \"View,ExportData\"\n                }\n            ]\n        },\n        {\n            \"name\": \"GlobalSettings\",\n            \"permission\": [\n                {\n                    \"module\": \"Teams\",\n                    \"permissions\": \"Create,View,Update\"\n                }\n            ]\n        },\n        {\n            \"name\": \"GlobalSettings\",\n            \"permission\": [\n                {\n                    \"module\": \"Advertiser\",\n                    \"permissions\": \"Create,View,Update\"\n                }\n            ]\n        }\n    ]\n}\n","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/teams/addTeamMember","description":"<p>Team members can be added by Team Admin</p>\n<p>role\": \"User\",<br />\"type\":\"user\"</p>\n","urlObject":{"protocol":"https","path":["teams","addTeamMember"],"host":["ctapp","openivt","ai"],"query":[],"variable":[]}},"response":[{"id":"5b3f77a0-1605-4a51-9924-665400fbe79b","name":"Add Team member","originalRequest":{"method":"POST","header":[{"key":"X-Access-Tokens","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2Vyc19pZCI6ODYxLCJleHAiOjE3NTAzNjM3MTR9.PzmZz800iPTsCXgUlZzQ85WxmcfMJzZ2fvouf2zFatY","type":"text"},{"key":"cc-api-access-token","value":"ZFviB84rDFKA1w4ZoxoskM4cKTEhQLHaCzicuStKvnxKZpKcBp","type":"text"},{"key":"Origin","value":"cleartrack.cleartrust.app","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userid\":861,\n    \"bizid\":400026,\n    \"team\":\"TeamACEs\",\n    \"name\": \"ravik\",\n    \"email\":\"ravik@gmil.com\",\n    \"phone\": \"+91 9876543210\",\n    \"status\":1,\n    \"role\": \"User\",\n    \"type\":\"user\",\n    \"features\": [\n        {\n            \"name\": \"ClearTrack\",\n            \"permission\": [\n                {\n                    \"module\": \"Links\",\n                    \"permissions\": \"Create,View,ExportData\"\n                },\n                {\n                    \"module\": \"Offers\",\n                    \"permissions\": \"Create,View,Update,ExportData,Cloning\"\n                }\n            ]\n        },\n        {\n            \"name\": \"ClearSense\",\n            \"permission\": [\n                {\n                    \"module\": \"Scans\",\n                    \"permissions\": \"Create,View\"\n                },\n                {\n                    \"module\": \"Dashboard\",\n                    \"permissions\": \"View,ScreenShot,ExportData\"\n                },\n                {\n                    \"module\": \"Reports\",\n                    \"permissions\": \"View,ExportData\"\n                }\n            ]\n        },\n        {\n            \"name\": \"GlobalSettings\",\n            \"permission\": [\n                {\n                    \"module\": \"Teams\",\n                    \"permissions\": \"Create,View,Update\"\n                }\n            ]\n        },\n        {\n            \"name\": \"GlobalSettings\",\n            \"permission\": [\n                {\n                    \"module\": \"Advertiser\",\n                    \"permissions\": \"Create,View,Update\"\n                }\n            ]\n        }\n    ]\n}\n","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/teams/addTeamMember"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Thu, 19 Jun 2025 15:12:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"70"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Origin","value":"cleartrack.cleartrust.app"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Team Member ravik created successfully\",\n    \"success\": \"true\"\n}"}],"_postman_id":"fe2b196d-400a-484c-a7c4-a49b2d9512ed"},{"name":"list Team Members","id":"877d75f3-abbf-4432-868e-c34730ec3f1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Access-Tokens","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2Vyc19pZCI6ODYxLCJleHAiOjE3NTAzNjM3MTR9.PzmZz800iPTsCXgUlZzQ85WxmcfMJzZ2fvouf2zFatY","type":"text"},{"key":"cc-api-access-token","value":"mDH1Ye2xUj6UvOK85tSdGzpEcrXYEBEJRuCjGFjtFaackEw2xY","type":"text"},{"key":"Origin","value":"cleartrack.cleartrust.app","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userid\":861,\n    \"bizid\":400026,\n    \"start\": \"2024-01-31\",\n    \"end\": \"2025-10-31\"\n}","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/teams/listTeamMembers","description":"<p>List of team members in the team which can be viewed by Team Admin</p>\n","urlObject":{"protocol":"https","path":["teams","listTeamMembers"],"host":["ctapp","openivt","ai"],"query":[],"variable":[]}},"response":[{"id":"ea664e54-742a-4ca6-9b2b-11805a690c58","name":"list Team Members","originalRequest":{"method":"POST","header":[{"key":"X-Access-Tokens","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2Vyc19pZCI6ODYxLCJleHAiOjE3NTAzNjM3MTR9.PzmZz800iPTsCXgUlZzQ85WxmcfMJzZ2fvouf2zFatY","type":"text"},{"key":"cc-api-access-token","value":"mDH1Ye2xUj6UvOK85tSdGzpEcrXYEBEJRuCjGFjtFaackEw2xY","type":"text"},{"key":"Origin","value":"cleartrack.cleartrust.app","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userid\":861,\n    \"bizid\":400026,\n    \"team\":\"TeamACEs\",\n    \"start\": \"2024-01-31\",\n    \"end\": \"2025-10-31\"\n}","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/teams/listTeamMembers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Thu, 19 Jun 2025 15:15:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"253"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Origin","value":"cleartrack.cleartrust.app"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"data\": [\n            {\n                \"createdOn\": \"Thu, 19 Jun 2025 15:12:31 GMT\",\n                \"isEmailVerified\": 0,\n                \"last_seen\": null,\n                \"users_email\": \"ravik@gmil.com\",\n                \"users_id\": 862,\n                \"users_name\": \"ravik\",\n                \"users_phone\": \"+91 9876543210\",\n                \"users_role\": 3,\n                \"users_status\": 1\n            }\n        ]\n    },\n    \"success\": \"true\"\n}"}],"_postman_id":"877d75f3-abbf-4432-868e-c34730ec3f1f"},{"name":"Activate Team Member","id":"63f51b0c-d1f0-4eb8-b24c-e473fb211024","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Access-Tokens","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2Vyc19pZCI6Nzc4LCJleHAiOjE3NTAzNTA0MjF9.nChAnJhZK7KnUQYVoTr4r5pFC3kiW7OX-e1x0fjGXvU","type":"text"},{"key":"cc-api-access-token","value":"mDH1Ye2xUj6UvOK85tSdGzpEcrXYEBEJRuCjGFjtFaackEw2xY","type":"text"},{"key":"Origin","value":"cleartrack.cleartrust.app","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/teams/activateTeamMember","description":"<p>Team member can be Activated by Team Admin</p>\n","urlObject":{"protocol":"https","path":["teams","activateTeamMember"],"host":["ctapp","openivt","ai"],"query":[],"variable":[]}},"response":[{"id":"2a7ae273-ed65-430a-bef0-db4577cc8d8e","name":"Activate Team Member","originalRequest":{"method":"POST","header":[{"key":"X-Access-Tokens","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2Vyc19pZCI6ODYxLCJleHAiOjE3NTAzNjM3MTR9.PzmZz800iPTsCXgUlZzQ85WxmcfMJzZ2fvouf2zFatY","type":"text"},{"key":"cc-api-access-token","value":"mDH1Ye2xUj6UvOK85tSdGzpEcrXYEBEJRuCjGFjtFaackEw2xY","type":"text"},{"key":"Origin","value":"cleartrack.cleartrust.app","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"bizid\" : 400026,\n    \"email\": \"ravik@gmil.com\",\n    \"team\" : \"TeamACEs\",\n    \"userid\": 861\n}","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/teams/activateTeamMember"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Thu, 19 Jun 2025 15:20:40 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"85"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Origin","value":"cleartrack.cleartrust.app"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successfully Activated the Team member ravik@gmil.com\",\n    \"success\": \"true\"\n}"}],"_postman_id":"63f51b0c-d1f0-4eb8-b24c-e473fb211024"},{"name":"Deactivate Team Member","id":"70b58f17-bf24-4667-aae2-d2756c7026e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Access-Tokens","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2Vyc19pZCI6Nzc4LCJleHAiOjE3NTAzNTA0MjF9.nChAnJhZK7KnUQYVoTr4r5pFC3kiW7OX-e1x0fjGXvU","type":"text"},{"key":"cc-api-access-token","value":"mDH1Ye2xUj6UvOK85tSdGzpEcrXYEBEJRuCjGFjtFaackEw2xY","type":"text"},{"key":"Origin","value":"cleartrack.cleartrust.app","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"bizid\" : 400026,\n    \"email\": \"ravik@gmil.com\",\n    \"team\" : \"TeamACEs\",\n    \"userid\": 861\n}","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/teams/deactivateTeamMember","description":"<p>Team member can be Deactivated by Team Admin</p>\n","urlObject":{"protocol":"https","path":["teams","deactivateTeamMember"],"host":["ctapp","openivt","ai"],"query":[],"variable":[]}},"response":[{"id":"575a4b78-92c9-40da-8624-88e524d83016","name":"Deactivate Team Member","originalRequest":{"method":"POST","header":[{"key":"X-Access-Tokens","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2Vyc19pZCI6ODYxLCJleHAiOjE3NTAzNjM3MTR9.PzmZz800iPTsCXgUlZzQ85WxmcfMJzZ2fvouf2zFatY","type":"text"},{"key":"cc-api-access-token","value":"mDH1Ye2xUj6UvOK85tSdGzpEcrXYEBEJRuCjGFjtFaackEw2xY","type":"text"},{"key":"Origin","value":"cleartrack.cleartrust.app","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"bizid\" : 400026,\n    \"email\": \"ravik@gmil.com\",\n    \"team\" : \"TeamACEs\",\n    \"userid\": 861\n}","options":{"raw":{"language":"json"}}},"url":"https://ctapp.openivt.ai/teams/deactivateTeamMember"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Thu, 19 Jun 2025 15:23:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"88"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Origin","value":"cleartrack.cleartrust.app"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successfully De-Activated the Team member ravik@gmil.com\",\n    \"success\": \"true\"\n}"}],"_postman_id":"70b58f17-bf24-4667-aae2-d2756c7026e7"}],"id":"1412f387-2bb2-4dea-9225-f249a7b6b3e9","description":"<p>This API allows <strong>Business Admins</strong> to create and manage teams and assign <strong>Team Admins</strong>. It enforces a clear separation of responsibilities between Business Admins and Team Admins to ensure secure and structured team operations.</p>\n<p>👤 <strong>Roles Overview</strong></p>\n<h4 id=\"business-admin-biz-admin\"><strong>Business Admin (Biz Admin)</strong></h4>\n<ul>\n<li><p>✅ Can <strong>create teams</strong>.</p>\n</li>\n<li><p>✅ Can <strong>assign a Team Admin</strong> to each team.</p>\n</li>\n<li><p>❌ <strong>Cannot add or manage team members</strong>.</p>\n</li>\n</ul>\n<h4 id=\"team-admin\"><strong>Team Admin</strong></h4>\n<ul>\n<li><p>✅ Can <strong>create team members</strong> for their assigned team.</p>\n</li>\n<li><p>✅ Can <strong>activate or deactivate</strong> team members.</p>\n</li>\n<li><p>❌ <strong>Cannot create new teams</strong>.</p>\n</li>\n</ul>\n<h3 id=\"📄-request-body-format\">📄 Request Body Format</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Format</th>\n<th>Possible Values</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>userid</code></td>\n<td>Integer</td>\n<td>Positive integer</td>\n<td>The ID of the user creating the team.</td>\n</tr>\n<tr>\n<td><code>bizid</code></td>\n<td>Integer</td>\n<td>Positive integer</td>\n<td>The business ID associated with the team.</td>\n</tr>\n<tr>\n<td><code>team.name</code></td>\n<td>String</td>\n<td>Any string</td>\n<td>Name of the team being created.</td>\n</tr>\n<tr>\n<td><code>team.desc</code></td>\n<td>String</td>\n<td>Any string</td>\n<td>Description of the team.</td>\n</tr>\n<tr>\n<td><code>team.size</code></td>\n<td>Integer</td>\n<td>Positive integer</td>\n<td>Number of members in the team.</td>\n</tr>\n<tr>\n<td><code>team.location</code></td>\n<td>String</td>\n<td>Any country or region name</td>\n<td>Location of the team.</td>\n</tr>\n<tr>\n<td><code>team.brand</code></td>\n<td>String</td>\n<td>Any string</td>\n<td>The brand name associated with the team.</td>\n</tr>\n<tr>\n<td><code>team.tags</code></td>\n<td>String</td>\n<td>Comma-separated values</td>\n<td>Tags or labels relevant to the team.</td>\n</tr>\n<tr>\n<td><code>admin.name</code></td>\n<td>String</td>\n<td>Any string</td>\n<td>Name of the team admin.</td>\n</tr>\n<tr>\n<td><code>admin.email</code></td>\n<td>String</td>\n<td>Valid email address</td>\n<td>Email address of the team admin.</td>\n</tr>\n<tr>\n<td><code>admin.tel</code></td>\n<td>String</td>\n<td>Phone number in international format</td>\n<td>Contact number of the team admin.</td>\n</tr>\n<tr>\n<td><code>features</code></td>\n<td>Array of Objects</td>\n<td>N/A</td>\n<td>List of features/modules and their permissions.</td>\n</tr>\n<tr>\n<td><code>features[].name</code></td>\n<td>String</td>\n<td>\"ClearTrack\", \"ClearSense\", etc.</td>\n<td>Name of the product/feature group.</td>\n</tr>\n<tr>\n<td><code>features[].permission</code></td>\n<td>Array of Objects</td>\n<td>N/A</td>\n<td>Modules within the feature and their granted permissions.</td>\n</tr>\n<tr>\n<td><code>features[].permission[].module</code></td>\n<td>String</td>\n<td>e.g., \"Links\", \"Offers\", \"Scans\", \"Dashboard\"</td>\n<td>Name of the module under the feature.</td>\n</tr>\n<tr>\n<td><code>features[].permission[].permissions</code></td>\n<td>String (Comma-separated)</td>\n<td>\"Create\", \"View\", \"Update\", \"ExportData\", \"Cloning\", \"ScreenShot\"</td>\n<td>Specific permissions granted for the module.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"1412f387-2bb2-4dea-9225-f249a7b6b3e9"}],"variable":[{"key":"target","value":""},{"key":"macroId","value":""},{"key":"filter","value":""},{"key":"macro","value":""},{"key":"macro_id","value":""},{"key":"filter_id","value":""}]}