{"info":{"_postman_id":"185d0531-23ca-49b1-a206-bee63bbe14ac","name":"Account Level","description":"<html><head></head><body><h1 id=\"welcome-to-your-ai-api-workspace-by-maybe\"><strong>🌟 Welcome to Your AI API Workspace by Maybe</strong>*</h1>\n<p><strong>Transform your applications with intelligent “Your AI” capabilities. This workspace provides everything you need to explore, test, and integrate our powerful APIs into your solutions.</strong></p>\n<h2 id=\"🚀-getting-started\"><strong>🚀 Getting Started</strong></h2>\n<p><strong>Our workspace features two types of collections designed to accelerate your development:</strong></p>\n<h3 id=\"reference-collections\"><strong>Reference Collections</strong></h3>\n<p><strong>Comprehensive API documentation and ready-to-use requests that demonstrate core functionality. Use these to:</strong></p>\n<ul>\n<li><p><strong>Understand API capabilities and implementation details</strong></p>\n</li>\n<li><p><strong>Quick-start your integration process</strong></p>\n</li>\n<li><p><strong>Share technical specifications with your team</strong></p>\n</li>\n</ul>\n<p><strong>Note our API runs on trustbrand.ai so that it is a completely white label service.</strong></p>\n<h3 id=\"blueprint-collections\"><strong>Blueprint Collections</strong></h3>\n<p><strong>Real-world implementation examples showing how to:</strong></p>\n<ul>\n<li><p><strong>Create Your AI-powered workflows</strong></p>\n</li>\n<li><p><strong>Build intelligent applications</strong></p>\n</li>\n<li><p><strong>Combine multiple APIs for enhanced functionality</strong></p>\n</li>\n</ul>\n<h2 id=\"🔑-authentication\"><strong>🔑 Authentication</strong></h2>\n<p><strong>Your unique API key is automatically generated when you create a “Your AI” Maybe* account. Find it in Your AI account settings and use it to authenticate all API requests.</strong></p>\n<h2 id=\"available-within-the-maybe-api\"><strong>Available within the Maybe* API</strong></h2>\n<p><strong>Access multiple leading AI models through a single, unified interface:</strong></p>\n<ul>\n<li><p><strong>OpenAI</strong></p>\n</li>\n<li><p><strong>Claude</strong></p>\n</li>\n<li><p><strong>DeepSeek</strong></p>\n</li>\n<li><p><strong>Perplexity</strong></p>\n</li>\n<li><p><strong>More added regularly</strong></p>\n</li>\n</ul>\n<p><strong>Use the API to add custom data to your knowledge base, enabling you to build intelligent and secure applications.</strong></p>\n<h2 id=\"🛠️-security--support\"><strong>🛠️ Security &amp; Support</strong></h2>\n<ul>\n<li><p><strong>Enterprise-grade security</strong></p>\n</li>\n<li><p><strong>Clean, predictable API endpoints</strong></p>\n</li>\n<li><p><strong>Comprehensive error handling</strong></p>\n</li>\n<li><p><strong>Direct access to technical support through your account manager</strong></p>\n</li>\n</ul>\n<h2 id=\"next-steps\"><strong>Next Steps</strong></h2>\n<ol>\n<li><p><strong>Access your API key from your Maybe* Your AI Account</strong></p>\n</li>\n<li><p><strong>Explore our reference collections</strong></p>\n</li>\n<li><p><strong>Start building we're excited to see what you build</strong></p>\n</li>\n</ol>\n<p><strong>Need assistance? Contact us.</strong></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"🌟 Welcome to Your AI API Workspace by Maybe*","slug":"welcome-to-your-ai-api-workspace-by-maybe"}],"owner":"37871059","collectionId":"185d0531-23ca-49b1-a206-bee63bbe14ac","publishedId":"2sAYQZJCZV","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"34b0cb"},"publishDate":"2025-04-03T10:17:14.000Z"},"item":[{"name":"Tasks","item":[{"name":"Category","item":[{"name":"Get Task Categories","id":"a013dc7e-b823-4ec1-8d4c-ee1b4770f1a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/tasks/category?page=1&limit=10","description":"<p>The endpoint retrieves a list of Tasks Categories.</p>\n<p>The response of this request can be documented as a JSON schema:</p>\n<p><strong>Limit Parameter Description:</strong><br />The <code>limit</code> parameter specifies the number of records to fetch per API response. The value must be between <strong>10</strong> and <strong>100</strong>.</p>\n<ul>\n<li><p><strong>Minimum value:</strong> 10</p>\n</li>\n<li><p><strong>Maximum value:</strong> 100</p>\n</li>\n</ul>\n<p><strong>Page Parameter Description:</strong></p>\n<p>The <code>page</code> parameter specifies which page of records to retrieve when paginating through results. It is used in combination with the <code>limit</code> parameter to fetch specific subsets of data.</p>\n<ul>\n<li><p><strong>Default value:</strong> <code>1</code></p>\n</li>\n<li><p><strong>Minimum value:</strong> <code>1</code></p>\n</li>\n</ul>\n<p>If a value outside this range is provided, the API will return an error</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Categories found successfully\",\n    \"totalPages\": 1,\n    \"totalRecords\": 1,\n    \"currentPage\": 1,\n    \"limit\": 10,\n    \"data\": [\n        {\n            \"_id\": \"6756bfb907a0c2fcf4459a4e\",\n            \"name\": \"Your AI\",\n            \"createdAt\": \"2024-12-09T10:00:25.573Z\",\n            \"updatedAt\": \"2024-12-09T10:00:25.573Z\"\n        }\n    ]\n}\n\n</code></pre>\n","urlObject":{"path":["api","tasks","category"],"host":["https://api.trustbrand.ai"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"a013dc7e-b823-4ec1-8d4c-ee1b4770f1a7"},{"name":"Create Task Category","id":"78df9109-78ba-434e-836d-e7e7944cd174","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","description":"<p>It's required</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"AI Guru\",\r\n    \"user_id\":\"6683fa58ae96aad0a83eb60c\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/tasks/category","description":"<p>This endpoint allows you to create a new Task Category by sending an HTTP POST request to the specified URL. The request should include a JSON payload in the raw request body type with the following parameters:</p>\n<ul>\n<li><p><code>name</code>: (string) The name of the Task Category. (required)*</p>\n</li>\n<li><p><code>user_id</code>: (string) A _id of the User. (required)*</p>\n</li>\n</ul>\n<p>Upon successful creation, the response will include the details of the newly created prompt category.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Task Category successfully created\",\n    \"data\": {\n        \"_id\": \"6762edca776cc27872828353\",\n        \"name\": \"AI Guru\",\n        \"createdAt\": \"2024-12-18T15:44:10.636Z\",\n        \"updatedAt\": \"2024-12-18T15:44:10.636Z\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","tasks","category"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"78df9109-78ba-434e-836d-e7e7944cd174"},{"name":"Update Task Category","id":"fc07451a-8420-452e-9981-3f8f71a714f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"_id\":\"677cf8cbe621f8aa1f4d4648\",\r\n    \"name\": \"Bilal\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/tasks/category","description":"<p>This endpoint allows you to update a Task Category by sending an HTTP PUT request to the specified URL. The request should include a JSON payload in the raw request body type with the following parameters:</p>\n<ul>\n<li><p><code>_id</code>: (string) The Id of the Task Category. (required)*</p>\n</li>\n<li><p><code>name</code>: (string) The name of the Task Category. (optional)</p>\n</li>\n</ul>\n<p>Upon successful creation, the response will include the details of the newly created prompt category.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Task Category successfully updated\",\n    \"data\": {\n        \"_id\": \"6762edca776cc27872828353\",\n        \"name\": \"AI Pro Guru\",\n        \"createdAt\": \"2024-12-18T15:44:10.636Z\",\n        \"updatedAt\": \"2024-12-18T15:44:10.636Z\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","tasks","category"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"fc07451a-8420-452e-9981-3f8f71a714f8"},{"name":"Delete Task Category","id":"33a81d15-6701-4e26-a519-75c9bdf5e632","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","description":"<p>It's required.</p>\n","type":"text"}],"url":"https://api.trustbrand.ai/api/tasks/category/delete?_id=677cf8cbe621f8aa1f4d4648","description":"<p>The API endpoint allows you to delete by sending an HTTP DELETE request to the specified URL. This is the query parameter we need</p>\n<ul>\n<li>_id (string): The _id of the task category you want to delete (required)*</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Task Category successfully deleted\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","tasks","category","delete"],"host":["https://api.trustbrand.ai"],"query":[{"key":"_id","value":"677cf8cbe621f8aa1f4d4648"}],"variable":[]}},"response":[],"_postman_id":"33a81d15-6701-4e26-a519-75c9bdf5e632"}],"id":"8f0395ee-beb7-4cab-9451-222c93cf0365","_postman_id":"8f0395ee-beb7-4cab-9451-222c93cf0365","description":""},{"name":"Create Task","id":"5b708aa0-f8bb-4b78-8d9e-781f6ddfb7ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Purpose-Driven Brand Messaging – Expert Review\",\r\n    \"task_value\": \"The prompt content that will use to prompt the AI.\",\r\n    \"category\": \"658460aac90cd47613c356f4\",\r\n    \"set_as\": \"personal\",\r\n    \"userId\": \"66a0f5952fefaba3e94d6379\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/tasks","description":"<p>The API endpoint allows you to create Task by sending an HTTP POST request to the specified URL. The request should include a JSON payload in the raw request body type, with the following parameters:</p>\n<ul>\n<li><p>title (string): The title of the prompt (required)*</p>\n</li>\n<li><p>tasks_value (string): The content of the prompt (required)*</p>\n</li>\n<li><p>category (string): The ID of the category for the prompt (optional)</p>\n</li>\n<li><p>set_as (string): Indicates whether the prompt is set as <strong>\"personal\"</strong> or <strong>\"shared\"</strong> (required)*</p>\n</li>\n<li><p>user_id (string): The ID of the user creating the prompt (required)*</p>\n</li>\n</ul>\n<p>Upon successful execution, the response will be in the form of a JSON schema, documenting the structure of the response data.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Tasks successfully created\",\n    \"data\": {\n        \"_id\": \"67657125bcf736e960744b24\",\n        \"title\": \"Purpose-Driven Brand Messaging – Expert Review\",\n        \"task_value\": \"The prompt content that will use to prompt the AI.\",\n        \"createdAt\": \"2024-12-20T13:29:10.010Z\",\n        \"updatedAt\": \"2024-12-20T13:29:10.010Z\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","tasks"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b708aa0-f8bb-4b78-8d9e-781f6ddfb7ec"},{"name":"Generate Task","id":"3eed06bc-8d9a-468b-89ed-fa8cc3fabdad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"Maffe\",\r\n  \"taskQuery\": \"Generfate a tasks for AI content\",\r\n  \"assistant_id\":\"asst_ASM0Y65yNdkz4QGP3IrZkqAh\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/tasks/generate","description":"<p>The API endpoint allows you to Generate Task by sending an HTTP POST request to the specified URL. The request should include a JSON payload in the raw request body type, with the following parameters:</p>\n<ul>\n<li><p>username (string): The username of the user (required)*</p>\n</li>\n<li><p>task_query (string): The content for which you wnat to genrate task (required)*</p>\n</li>\n<li><p>assistant_id (string): The assistant_id of the assistant (required)*</p>\n</li>\n</ul>\n<p>Upon successful execution, the response will be in the form of a JSON schema, documenting the structure of the response data.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Task generated\",\n    \"data\": {\n        \"title\": \"AI Content for Engaging Digital Promotions and Sustainability\",\n        \"content\": \"**Objective/Goal:**\\nDevelop AI-generated content that effectively enhances and communicates the brand's position as a leader in digital promotions and gamification, aiming to boost customer engagement and brand loyalty through storytelling and innovation.\\n\\n**Context/Background:**\\nThe brand prides itself on being \\\"the O.G. of digital promotions &amp; gamification\\\" with over 25 years of experience. It showcases a remarkable ability to create engaging, behavior-changing digital experiences. Notable achievements include a 500% increase in the customer database within eight months and a 48% rise in engaged loyalty members, all through innovative gamification strategies.\\n\\n**Specific Requirements:**\\n- Include specific examples of successful campaigns, such as interactive games and AR experiences, to illustrate the brand's capabilities.\\n- Highlight real-life success stories of contest winners to add emotional and social resonance.\\n- Align created content with themes of sustainability and community values, showcasing the brand's commitment to eco-friendly initiatives.\\n\\n**Intended Use:**\\nThe content will be used in marketing materials aimed at potential clients and partners interested in cutting-edge digital promotional strategies that emphasize customer engagement and environmental responsibility.\\n\\n**Tone and Style:**\\nMaintain a professional and innovative tone that reflects the brand's passion for creativity and technology, infused with a narrative style that resonates emotionally with audiences.\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","tasks","generate"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"3eed06bc-8d9a-468b-89ed-fa8cc3fabdad"},{"name":"Get Tasks","id":"256733f7-5736-47b0-bcaf-f3112263a760","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/tasks?page=1&limit=10","description":"<p><strong>Limit Parameter Description:</strong><br />The <code>limit</code> parameter specifies the number of records to fetch per API response. The value must be between <strong>10</strong> and <strong>100</strong>.</p>\n<ul>\n<li><p><strong>Minimum value:</strong> 10</p>\n</li>\n<li><p><strong>Maximum value:</strong> 100</p>\n</li>\n</ul>\n<p><strong>Page Parameter Description:</strong></p>\n<p>The <code>page</code> parameter specifies which page of records to retrieve when paginating through results. It is used in combination with the <code>limit</code> parameter to fetch specific subsets of data.</p>\n<ul>\n<li><p><strong>Default value:</strong> <code>1</code></p>\n</li>\n<li><p><strong>Minimum value:</strong> <code>1</code></p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Tasks found successfully\",\n    \"data\": [\n        {\n            \"_id\": \"66851240ae96aad0a83ebf21\",\n            \"title\": \"Test Update\",\n            \"task_value\": \"Test Value\",\n            \"createdAt\": \"2024-07-03T08:56:32.733Z\",\n            \"updatedAt\": \"2024-11-28T16:47:37.645Z\"\n        },\n     ],\n    \"totalPages\": 1,\n    \"totalRecords\": 1,\n    \"currentPage\": 1,\n    \"limit\": 10,\n}\n\n</code></pre>\n","urlObject":{"path":["api","tasks"],"host":["https://api.trustbrand.ai"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"256733f7-5736-47b0-bcaf-f3112263a760"},{"name":"Get Task By ID","id":"a0943fb7-c671-4466-95cd-0e1846a2dcf9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/tasks?_id=6685931020b803999277220e","description":"<p>The API endpoint allows you to Generate Task by sending an GET request to the specified URL. The request should include query parameter:</p>\n<ul>\n<li>_id (string): The _id of the task (optional)</li>\n</ul>\n<p>If you don't send _id in query you will get all the tasks</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Task found successfully\",\n    \"data\": [\n        {\n            \"_id\": \"66851240ae96aad0a83ebf21\",\n            \"title\": \"Test Update\",\n            \"task_value\": \"Test Value\",\n            \"createdAt\": \"2024-07-03T08:56:32.733Z\",\n            \"updatedAt\": \"2024-11-28T16:47:37.645Z\"\n        },\n     ]\n}\n\n</code></pre>\n","urlObject":{"path":["api","tasks"],"host":["https://api.trustbrand.ai"],"query":[{"key":"_id","value":"6685931020b803999277220e"}],"variable":[]}},"response":[],"_postman_id":"a0943fb7-c671-4466-95cd-0e1846a2dcf9"},{"name":"Update Task","id":"1706c0d9-6de8-40aa-9449-6a348fac142f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"_id\": \"677cf921e621f8aa1f4d4654\",\r\n    \"title\":\"Purpose-Driven Brand Messaging – Expert Review\",\r\n    \"task_value\":\"The prompt content that will use to prompt the AI.\",\r\n    \"category\":\"658460aac90cd47613c356f4\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/tasks","description":"<h3 id=\"update-prompt\">Update Prompt</h3>\n<p>This endpoint is used to update a Task by sending an HTTP PUT request to the specified URL.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>_id</code> (string): The ID of the prompt to be updated. (required)*</p>\n</li>\n<li><p><code>title</code> (string): The title of the prompt. (optional)</p>\n</li>\n<li><p><code>task_value</code> (string): The content of the prompt. (optional)</p>\n</li>\n<li><p><code>category</code> (string): The category of the prompt. (optional)</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>Upon a successful update, the response will contain the updated prompt details.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Prompt updated successfully\",\n    \"data\": {\n        \"_id\": \"67641ae0673f1d3bcdd8743e\",\n        \"title\": \"test123\",\n        \"task_value\": \"The prompt content that will use to prompt the AI.\",\n        \"createdAt\": \"2024-12-19T13:08:48.459Z\",\n        \"updatedAt\": \"2024-12-19T13:10:49.154Z\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","tasks"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"1706c0d9-6de8-40aa-9449-6a348fac142f"},{"name":"Delete Task","id":"8b86d499-7fbe-4ff6-8447-ff14c264c560","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"_id\": \"66e42faf07eaa58c0c499871\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/tasks/delete?_id=677cf921e621f8aa1f4d4654","description":"<p>The API endpoint allows you to delete by sending an HTTP DELETE request to the specified URL. This is the query parameter we need</p>\n<ul>\n<li>_id (string): The _id of the task you want to delete (required)*</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Tasks successfully deleted\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","tasks","delete"],"host":["https://api.trustbrand.ai"],"query":[{"key":"_id","value":"677cf921e621f8aa1f4d4654"}],"variable":[]}},"response":[],"_postman_id":"8b86d499-7fbe-4ff6-8447-ff14c264c560"}],"id":"c9d51312-f346-423a-96f1-69d267ba4dac","_postman_id":"c9d51312-f346-423a-96f1-69d267ba4dac","description":""},{"name":"Chat","item":[{"name":"Create Conversations","id":"51099a39-efd6-4b95-bdc3-da790b60a3e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userId\": \"67cef521de27c3f3b785f845\",\r\n    \"assistant_id\": \"asst_WOzs7w5Y0HaSOgVDzlda1xTb\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/chat","description":"<p>The API endpoint allows you to Create Conversations by sending an HTTP POST request to the specified URL. The request should include a JSON payload in the raw request body type, with the following parameters:</p>\n<ul>\n<li><p>userId (string): The _id of the user (required)*</p>\n</li>\n<li><p>assistant_id (string): The assistant_id of the assistant (optional)</p>\n</li>\n</ul>\n<p><strong>Orchestration Agent</strong></p>\n<p>To use orchestration/triage you should start a chat <strong>without</strong> an assistant_id in the payload.</p>\n<p>When you run a prompt query on /chat/message you must not pass any assistant_id - if you do you are not using triage but you have forced it to use that specific assistant_id.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"chat found successfully\",\n    \"data\": {\n        \"conversation_id\": \"hf6XcaFen6HlqPSxNBMY7SZU\",\n        \"username\": \"Lucinda Rush\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","chat"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"51099a39-efd6-4b95-bdc3-da790b60a3e6"},{"name":"Create a Chat","id":"3c07f68a-a5a3-45c6-b056-af3e065a1dd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"data\": {\r\n        \"task\": \"What is the AI?\",\r\n        \"conversation_id\": \"OPhId2uAngbTI3nq4XKQjpPn\",\r\n        \"user_id\": \"6683fa58ae96aad0a83eb60c\",\r\n        \"assistant_id\": \"asst_ASM0Y65yNdkz4QGP3IrZkqAh\",\r\n        \"file_ids\": [\"30-days-temp-files/...\"]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/chat/message","description":"<p>The API endpoint allows you to Create a Chat by sending an HTTP POST request to the specified URL. The request should include a JSON payload in the raw request body type, with the following parameters:</p>\n<ul>\n<li><p>task (string): The content of the chat (required)*</p>\n</li>\n<li><p>conversation_id (string): We are getting this in the response on Create Conversations API (required)*</p>\n</li>\n<li><p>userId (string): The _id of the user (required)*</p>\n</li>\n<li><p>assistant_id (string): The assistant_id of the assistant (required)*</p>\n</li>\n<li><p>file_ids ([string]): The ids of uploaded files (optional)</p>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Message fetched successfully\",\n    \"data\": {\n        \"data\": \"AI, or Artificial Intelligence, refers to the simulation of human intelligence processes by machines, especially computer systems. These processes include learning (the acquisition of information and rules for using the information), reasoning (using rules to reach approximate or definite conclusions), and self-correction. AI is used in various applications, including expert systems, natural language processing, speech recognition, and machine vision. AI technologies are designed to perform tasks that typically require human intelligence, such as visual perception, speech recognition, decision-making, and language translation.\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","chat","message"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c07f68a-a5a3-45c6-b056-af3e065a1dd7"},{"name":"Add to Favourite","id":"936a1de2-f130-491c-8fc8-58c23b250bd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"chat_id\":\"66f6cfbefda1fecc23be6123\",\r\n    \"user_id\":\"66a0f5952fefaba3e94d6379\",\r\n    \"task_id\":\"66851240ae96aad0a83ebf21\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/chat/add/favourite","description":"<p>The API endpoint allows you to Add to Favourite by sending an HTTP POST request to the specified URL. The request should include a JSON payload in the raw request body type, the following Query Params:</p>\n<ul>\n<li><p>chat_id (string): The _id of the chat (required)*</p>\n</li>\n<li><p>user_id (string): The _id of the user (required)*</p>\n</li>\n<li><p>task_id (string): The _id of the task (required)*</p>\n</li>\n</ul>\n<p>StartFragmentAdds a specific chat or conversation to the user's list of favourites, making it easier to access and prioritize important interactions.</p>\n<p><strong>Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Favourite added successfully\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","chat","add","favourite"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"936a1de2-f130-491c-8fc8-58c23b250bd0"},{"name":"Delete Chat","id":"f026882f-4617-40a9-835c-d055c0a04607","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"LE86K0wHanDXqugb7zz21fXi\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/chat/delete?id=LE86K0wHanDXqugb7zz21fXi","description":"<p>The API endpoint allows you to delete by sending an HTTP DELETE request to the specified URL. This is the query parameter we need</p>\n<ul>\n<li>_id (string): The _id of the chat you want to delete (required)*</li>\n</ul>\n<p><strong>Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"chat deleted found successfully\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","chat","delete"],"host":["https://api.trustbrand.ai"],"query":[{"key":"id","value":"LE86K0wHanDXqugb7zz21fXi"}],"variable":[]}},"response":[],"_postman_id":"f026882f-4617-40a9-835c-d055c0a04607"},{"name":"Get Assistants","id":"77de9299-6b1d-4a00-ba04-b7f481b46209","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"Bearer 0000000-000000-000000","type":"text"}],"url":"https://chatapi.trustbrand.ai/api/assistant?page=1&limit=10&type=files","description":"<p><strong>Limit Parameter Description:</strong><br />The <code>limit</code> parameter specifies the number of records to fetch per API response. The value must be between <strong>10</strong> and <strong>100</strong>.</p>\n<ul>\n<li><p><strong>Minimum value:</strong> 10</p>\n</li>\n<li><p><strong>Maximum value:</strong> 100</p>\n</li>\n</ul>\n<p><strong>Page Parameter Description:</strong></p>\n<p>The <code>page</code> parameter specifies which page of records to retrieve when paginating through results. It is used in combination with the <code>limit</code> parameter to fetch specific subsets of data.</p>\n<ul>\n<li><p><strong>Default value:</strong> <code>1</code></p>\n</li>\n<li><p><strong>Minimum value:</strong> <code>1</code></p>\n</li>\n</ul>\n<p>If a value outside this range is provided, the API will return an error</p>\n<p><strong>Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Assistants records found\",\n    \"totalPages\": 1,\n    \"totalRecords\": 5,\n    \"currentPage\": 1,\n    \"limit\": 10,\n    \"data\": [\n       {\n            \"_id\": \"673601a17b13db6114a2ccf1\",\n            \"assistant_id\": \"asst_u390OGuAFz1PxMfWo8HHEKgF\",\n            \"assistant_name\": \"Your AI Assistant\",\n            \"purpose\": \"Assistant instructions and purpose\",\n            \"content_creativity\": \"0.7\",\n            \"btgen\": \"0.8\",\n            \"createdAt\": \"2024-11-14T13:56:49.547Z\",\n            \"updatedAt\": \"2024-12-12T16:45:27.143Z\"\n        },\n]\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","assistant"],"host":["chatapi","trustbrand","ai"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"type","value":"files"}],"variable":[]}},"response":[],"_postman_id":"77de9299-6b1d-4a00-ba04-b7f481b46209"},{"name":"Get All Chats","id":"eec30660-0218-4ba2-a9d1-d640fa62bb35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"url":"https://api.trustbrand.ai/api/chat?page=1&limit=10&conversation_id=7KqcGrTV3uRpfDlDB2bL6U2q","description":"<p>The API endpoint allows you to Get All Chats by sending an HTTP GET request to the specified URL. There is an optional query params if you add that you will get Chats which create with the same conversation_id.</p>\n<ul>\n<li>conversation_id (string): The conversation_id we add while creating Chat (optional)</li>\n</ul>\n<p><strong>Limit Parameter Description:</strong><br />The <code>limit</code> parameter specifies the number of records to fetch per API response. The value must be between <strong>10</strong> and <strong>100</strong>.</p>\n<ul>\n<li><p><strong>Minimum value:</strong> 10</p>\n</li>\n<li><p><strong>Maximum value:</strong> 100</p>\n</li>\n</ul>\n<p><strong>Page Parameter Description:</strong></p>\n<p>The <code>page</code> parameter specifies which page of records to retrieve when paginating through results. It is used in combination with the <code>limit</code> parameter to fetch specific subsets of data.</p>\n<ul>\n<li><p><strong>Default value:</strong> <code>1</code></p>\n</li>\n<li><p><strong>Minimum value:</strong> <code>1</code></p>\n</li>\n</ul>\n<p>If a value outside this range is provided, the API will return an error</p>\n<p><strong>Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Chats data retrieved successfully\",\n    \"totalPages\": 1,\n    \"totalRecords\": 1,\n    \"currentPage\": 1,\n    \"limit\": 10,\n    \"data\": [\n        {\n            \"_id\": \"66e0149ddd4aa3330ca7e394\",\n            \"name\": \"example text\",\n            \"username\": \"zain butt\",\n            \"createdAt\": \"2024-09-10T09:42:55.043Z\",\n            \"updatedAt\": \"2024-09-10T09:42:57.302Z\"\n        },\n]\n}\n\n</code></pre>\n","urlObject":{"path":["api","chat"],"host":["https://api.trustbrand.ai"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"conversation_id","value":"7KqcGrTV3uRpfDlDB2bL6U2q"}],"variable":[]}},"response":[],"_postman_id":"eec30660-0218-4ba2-a9d1-d640fa62bb35"}],"id":"5dfcf733-19d1-4ed8-b279-4e6167ca5a48","_postman_id":"5dfcf733-19d1-4ed8-b279-4e6167ca5a48","description":""},{"name":"Chat And Knowledge Base","item":[{"name":"Get Memory","id":"0848506b-afff-43ff-9254-76f720f39c1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"Bearer 0000000-000000-000000","type":"text"}],"url":"https://api.trustbrand.ai/api/chat/assistants/memory","description":"<p><strong>Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Fetch successfully\",\n    \"data\": {\n        \"data\": \"This is add memory test data\\n\\nHello! How can I assist you today? If you need help with the uploaded files, please let me know your specific queries.\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","chat","assistants","memory"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"0848506b-afff-43ff-9254-76f720f39c1b"},{"name":"Save in Memory","id":"98eae832-f64b-4f1b-94bc-30e5a49d3301","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"content\": \"Hello! How can I assist you today? If you need help with the uploaded files, please let me know your specific queries.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/chat/assistants/memory","description":"<p>This API endpoint allows you to update the memory of an assistant. The HTTP POST request should be sent to https://api.trustbrand.ai/api/chat/assistants/memory with the raw request body type. The request payload should include the \"content\" key with the value representing the memory to be updated.</p>\n<p>The API endpoint allows you to Generate Image by sending an HTTP POST request to the specified URL.</p>\n<ul>\n<li>content (string): The content we are sending to Save in Memory (required)*</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response of this request is a JSON schema representing the structure of the response data. The schema will define the expected keys and their data types in the response.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Fetch successfully\",\n    \"data\": {\n        \"data\": \"This is add memory test data\\n\\nHello! How can I assist you today? If you need help with the uploaded files, please let me know your specific queries.\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","chat","assistants","memory"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"98eae832-f64b-4f1b-94bc-30e5a49d3301"},{"name":"Delete Memory","id":"8caf68de-51ec-4bff-bde2-54dce5389f78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"content\": \"I couldn't find any relevant information regarding brand information, brand overview, key services, or core message in the uploaded files. If you have any specific brand details or documents related to this information, please upload them so I can assist you further.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/chat/assistants/memory","description":"<p>The API endpoint allows you to delete by sending an HTTP DELETE request to the specified URL.</p>\n<p><strong>Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Deleted successfully\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","chat","assistants","memory"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"8caf68de-51ec-4bff-bde2-54dce5389f78"},{"name":"File Upload","id":"e9a39015-d620-4a2e-a0b1-550acabec46d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"postman-cloud:///1ef80bf9-1c79-4620-907d-7928f6567219"},{"key":"assistant_ids","value":"[\"asst_gKhm5ykNXq208SHAL1u9xQde\"]","type":"text"}]},"url":"https://api.trustbrand.ai/api/chat/assistants/files/upload","description":"<p>The API endpoint allows you to File Upload by sending an HTTP POST request to the specified URL. For uploading file we need to send data in form data.</p>\n<ul>\n<li><p>file (string): The file is the base64 we are adding in file (required)*</p>\n</li>\n<li><p>assistant_ids (string): The assistant_ids is the array of assistant_id we are sending (required)*</p>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Files uploaded successfully\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","chat","assistants","files","upload"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"e9a39015-d620-4a2e-a0b1-550acabec46d"}],"id":"e0814eb7-50e7-4bb0-b3c4-c8a1963eb7e6","_postman_id":"e0814eb7-50e7-4bb0-b3c4-c8a1963eb7e6","description":""},{"name":"Account","item":[{"name":"Get Account","id":"747b74f9-b280-49c9-b3e0-e6be3048c7b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"url":"https://api.trustbrand.ai/api/accounts","description":"<p><strong>Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"data\": {\n        \"_id\": \"668ec12rd85d33b5e65d936e\",\n        \"first_name\": \"Muhammad zain\",\n        \"last_name\": \"zain\",\n        \"email\": \"zain@gmail.com\",\n        \"business_name\": \"test\",\n        \"phone_number\": \"\",\n        \"Balance\": 0,\n        \"country\": \"US\",\n        \"createdAt\": \"2024-07-10T17:13:18.237Z\",\n        \"updatedAt\": \"2024-12-20T10:43:05.613Z\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","accounts"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"747b74f9-b280-49c9-b3e0-e6be3048c7b9"},{"name":"Update Account","id":"22a7090d-b1da-412e-9d83-66c693a2fcfb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"first_name\": \"Amelie\",\r\n    \"last_name\": \"Thevenet\",\r\n    \"email\": \"amselie.tevise@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/accounts","description":"<p>The API endpoint allows you to Update Account by sending an HTTP PUT request to the specified URL.</p>\n<ul>\n<li><p>email (string): The email is that you want to change with the previos email (required)*</p>\n</li>\n<li><p>last_name (string): The last_name you want to change with the previos last_name (required)*</p>\n</li>\n<li><p>first_name (string): The first_name you want to change with the previos first_name (required)*</p>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"accounts successfully updated\",\n    \"data\": {\n        \"_id\": \"668ec12ecedd33b5e65d936e\",\n        \"first_name\": \"Muhammad zain\",\n        \"last_name\": \"zain\",\n        \"email\": \"zain@gmail.com\",\n        \"business_name\": \"test\",\n        \"phone_number\": \"\",\n        \"Balance\": 0,\n        \"country\": \"US\",\n        \"createdAt\": \"2024-07-10T17:13:18.237Z\",\n        \"updatedAt\": \"2024-12-20T15:40:15.210Z\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","accounts"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"22a7090d-b1da-412e-9d83-66c693a2fcfb"}],"id":"17ac5031-73c7-4e72-8fe3-fe653e730dd9","_postman_id":"17ac5031-73c7-4e72-8fe3-fe653e730dd9","description":""},{"name":"User","item":[{"name":"Create User","id":"2beeba6f-a992-4632-91e4-e96dcaf1bf4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"Boss1@gmail.com\",\r\n  \"password\":\"boss123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/user/chatuser","description":"<p>The API endpoint allows you to Create User by sending an HTTP POST request to the specified URL.</p>\n<ul>\n<li><p>email (string): The email is (required)*</p>\n</li>\n<li><p>password (string): The password is (required)*</p>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"User added successfully\",\n    \"data\": {\n        \"_id\": \"6765902132423dr1bce436ea\",\n        \"email\": \"zain@gmail.com\",\n        \"password\": \"zain1233ed\",\n        \"createdAt\": \"2024-12-20T15:41:21.485Z\",\n        \"updatedAt\": \"2024-12-20T15:41:21.485Z\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","user","chatuser"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"2beeba6f-a992-4632-91e4-e96dcaf1bf4b"},{"name":"Get Users","id":"91776b9a-daeb-480e-9631-c9bc9c030e5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"url":"https://api.trustbrand.ai/api/users/chatusers?page=1&limit=10","description":"<p><strong>Limit Parameter Description:</strong><br />The <code>limit</code> parameter specifies the number of records to fetch per API response. The value must be between <strong>10</strong> and <strong>100</strong>.</p>\n<ul>\n<li><p><strong>Minimum value:</strong> 10</p>\n</li>\n<li><p><strong>Maximum value:</strong> 100</p>\n</li>\n</ul>\n<p><strong>Page Parameter Description:</strong></p>\n<p>The <code>page</code> parameter specifies which page of records to retrieve when paginating through results. It is used in combination with the <code>limit</code> parameter to fetch specific subsets of data.</p>\n<ul>\n<li><p><strong>Default value:</strong> <code>1</code></p>\n</li>\n<li><p><strong>Minimum value:</strong> <code>1</code></p>\n</li>\n</ul>\n<p>If a value outside this range is provided, the API will return an error</p>\n<p><strong>Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Users found successfully.\",\n     \"totalPages\": 118,\n    \"totalRecords\": 1178,\n    \"currentPage\": 1,\n    \"limit\": 10,\n    \"data\": [\n        {\n            \"_id\": \"7777f9e4ae96aad0a83eb5eb\",\n            \"userName\": \"zain\",\n            \"email\": \"zain@gmail.com\",\n            \"createdAt\": \"2024-07-02T13:00:20.654Z\",\n            \"updatedAt\": \"2024-10-16T15:17:35.932Z\"\n        },\n]\n}\n\n</code></pre>\n","urlObject":{"path":["api","users","chatusers"],"host":["https://api.trustbrand.ai"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"91776b9a-daeb-480e-9631-c9bc9c030e5f"},{"name":"Delete User","id":"aec729df-cd22-4558-bab4-a8b659f606f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"url":"https://api.trustbrand.ai/api/user/chatusers/delete?_id=66fec330b4da49f91c80e24f","description":"<p>The API endpoint allows you to delete by sending an HTTP DELETE request to the specified URL. This is the query parameter we need</p>\n<ul>\n<li>_id (string): The _id of the user you want to delete (required)*</li>\n</ul>\n<p><strong>Response</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Users successfully deleted\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","user","chatusers","delete"],"host":["https://api.trustbrand.ai"],"query":[{"key":"_id","value":"66fec330b4da49f91c80e24f"}],"variable":[]}},"response":[],"_postman_id":"aec729df-cd22-4558-bab4-a8b659f606f8"},{"name":"Update User","id":"b4786028-9e9b-4980-b74b-e9574eee5b34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"_id\": \"6683fa58ae96aad0a83eb60c\",\r\n  \"email\": \"bilal@example.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/user/chatuser/update","description":"<p>The API endpoint allows you to Update User by sending an HTTP PUT request to the specified URL.</p>\n<ul>\n<li><p>_Id (string): The _Id is that user _id which we want to update (required)*</p>\n</li>\n<li><p>password (string): The password is (required)*</p>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"user successfully updated\",\n    \"data\": {\n        \"_id\": \"6683ffffae96aad0a83eb5eb\",\n        \"userName\": \"bilal\",\n        \"email\": \"bilal@example.com\",\n        \"createdAt\": \"2024-07-02T13:00:20.654Z\",\n        \"updatedAt\": \"2024-12-20T12:46:51.298Z\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","user","chatuser","update"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4786028-9e9b-4980-b74b-e9574eee5b34"},{"name":"Get User By ID","id":"511ef666-dda9-4a3a-b24d-4a6e04433e51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"url":"https://api.trustbrand.ai/api/user/chatuser/getbyid?_id=6683fa58ae96aad0a83eb60c","description":"<p>The API endpoint allows you to Get User By ID by sending an HTTP GET request to the specified URL. This is the query parameter we need</p>\n<ul>\n<li>prompt (string): The prompt is the content we are sending to Generate Image (required)*</li>\n</ul>\n<p><strong>Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"User found successfully\",\n    \"data\": {\n        \"_id\": \"6683fefeae96rrd0b83eb655\",\n        \"userName\": \"John\",\n        \"email\": \"John@gmail.com\",\n        \"createdAt\": \"2024-07-02T13:22:06.252Z\",\n        \"updatedAt\": \"2024-07-02T13:22:06.252Z\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","user","chatuser","getbyid"],"host":["https://api.trustbrand.ai"],"query":[{"key":"_id","value":"6683fa58ae96aad0a83eb60c"}],"variable":[]}},"response":[],"_postman_id":"511ef666-dda9-4a3a-b24d-4a6e04433e51"}],"id":"f2425ae1-ce9c-481b-8b16-3e4cdd64ff34","_postman_id":"f2425ae1-ce9c-481b-8b16-3e4cdd64ff34","description":""}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"211d1d2e-9676-4a28-bdf3-740a01cdd315"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"27184c49-6cfd-42e4-a2dc-f66b1d58316c"}}],"variable":[{"key":"baseUrl","value":"https://api.trustbrand.ai","type":"string"},{"key":"ChatUrl","value":"https://chatapi.trustbrand.ai","type":"string"},{"key":"API_KEY","value":"Bearer 0000000-000000-000000","type":"string"}]}