{"info":{"_postman_id":"09abd60f-a345-49f5-a26a-5a2d0d8fb78c","name":"Account Level","description":"<html><head></head><body><p>🌟 Welcome to the Account Level API Workspace!</p>\n<p>This workspace is your go-to hub for exploring, demonstrating, and sharing our powerful APIs. Whether you're getting started or showcasing capabilities to customers, you'll find everything you need here.</p>\n<hr>\n<h3 id=\"🚀-getting-started-with-the-api-workspace\">🚀 <strong>Getting Started with the API Workspace</strong></h3>\n<p>Inside this workspace, you'll discover two curated types of Postman collections designed to simplify API consumption and demonstrate their value:</p>\n<ol>\n<li><p><strong>Reference Collections</strong></p>\n<ul>\n<li><p>These collections provide a comprehensive overview of each API, including requests and detailed documentation.</p>\n</li>\n<li><p>Share these with customers to give them a thorough understanding of our APIs and how they can be effectively used.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Blueprint and Workflow Collections</strong></p>\n<ul>\n<li><p>These collections showcase real-world use cases, illustrating how our APIs can be seamlessly integrated into various workflows.</p>\n</li>\n<li><p>Perfect for demonstrating the practical power of our APIs to consumers.</p>\n</li>\n</ul>\n</li>\n</ol>\n<hr>\n<h3 id=\"🔑-finding-your-api-key\">🔑 <strong>Finding Your API Key</strong></h3>\n<p>Your API key is generated and provided as part of the response when you create an account. Be sure to securely store and manage it for authentication purposes.</p>\n<hr>\n<h3 id=\"🛠️-need-help\">🛠️ <strong>Need Help?</strong></h3>\n<p>If you have any questions, feedback, or need assistance, don’t hesitate to reach out to your manager. We're here to support you!</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"31006596","collectionId":"09abd60f-a345-49f5-a26a-5a2d0d8fb78c","publishedId":"2sAXqp9j5u","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-09-16T14:39:10.000Z"},"item":[{"name":"Tasks","item":[{"name":"Category","item":[{"name":"Get Task Categories","id":"c1c60714-a41f-46c1-a0da-9bde1bdebc2b","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\": \"a3f79b12d6c48e5f08ab34de\",\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":"c1c60714-a41f-46c1-a0da-9bde1bdebc2b"},{"name":"Create Task Category","id":"a126be29-cf17-4008-bae5-af6c0c90197b","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\":\"a3f79b12d6c48e5f08ab34de\"\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\": \"a3f79b12d6c48e5f08ab34de\",\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":"a126be29-cf17-4008-bae5-af6c0c90197b"},{"name":"Update Task Category","id":"3928732e-4831-4cfa-a7c6-b7ab58e7bd2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"_id\":\"a3f79b12d6c48e5f08ab34de\",\r\n    \"name\": \"AI Guru Pro\"\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\": \"a3f79b12d6c48e5f08ab34de\",\n        \"name\": \"AI Guru Pro\",\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":"3928732e-4831-4cfa-a7c6-b7ab58e7bd2e"},{"name":"Delete Task Category","id":"5904d3b7-10bc-41e4-82e5-7e4c81240364","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=a3f79b12d6c48e5f08ab34de","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":"a3f79b12d6c48e5f08ab34de"}],"variable":[]}},"response":[],"_postman_id":"5904d3b7-10bc-41e4-82e5-7e4c81240364"}],"id":"a95ccdfc-f26c-4d27-adef-7659aa2daa44","_postman_id":"a95ccdfc-f26c-4d27-adef-7659aa2daa44","description":""},{"name":"Create Task","id":"794d4d8b-b21b-4669-9157-388e2f437837","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\": \"a3f79b12d6c48e5f08ab34de\",\r\n    \"set_as\": \"personal\",\r\n    \"userId\": \"a3f79b12d6c48e5f08ab34de\"\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\": \"a3f79b12d6c48e5f08ab34de\",\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":"794d4d8b-b21b-4669-9157-388e2f437837"},{"name":"Generate Task","id":"96044a06-4aa8-4ba9-8f5e-6339c60b485a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"John Wick\",\r\n  \"taskQuery\": \"Generfate a tasks for AI content\",\r\n  \"assistant_id\":\"asst_a3f79b12d6c48e5f08ab34de\"\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":"96044a06-4aa8-4ba9-8f5e-6339c60b485a"},{"name":"Get Tasks","id":"ce30a21c-cd93-48fd-884d-71b4784eb1f1","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\": \"a3f79b12d6c48e5f08ab34de\",\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":"ce30a21c-cd93-48fd-884d-71b4784eb1f1"},{"name":"Get Task By ID","id":"4fc54cda-0f08-49b5-a7f2-7aa07fc71f71","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=a3f79b12d6c48e5f08ab34de","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\": \"a3f79b12d6c48e5f08ab34de\",\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":"a3f79b12d6c48e5f08ab34de"}],"variable":[]}},"response":[],"_postman_id":"4fc54cda-0f08-49b5-a7f2-7aa07fc71f71"},{"name":"Update Task","id":"531f5bc1-9b08-4c96-b74d-2b65c29fdacd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"_id\": \"a3f79b12d6c48e5f08ab34de\",\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\":\"a3f79b12d6c48e5f08ab34de\"\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\": \"a3f79b12d6c48e5f08ab34de\",\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":"531f5bc1-9b08-4c96-b74d-2b65c29fdacd"},{"name":"Delete Task","id":"a9a789cc-a1f4-417d-a3b3-25003e0bef93","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=a3f79b12d6c48e5f08ab34de","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":"a3f79b12d6c48e5f08ab34de"}],"variable":[]}},"response":[],"_postman_id":"a9a789cc-a1f4-417d-a3b3-25003e0bef93"}],"id":"3e952e19-bf47-494b-9428-60f7899498b5","_postman_id":"3e952e19-bf47-494b-9428-60f7899498b5","description":""},{"name":"Chat","item":[{"name":"Create Conversations","id":"4eed4a9e-e7f6-4488-a18f-9d49a09bf5a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userId\": \"a3f79b12d6c48e5f08ab34de\",\r\n    \"assistant_id\": \"asst_a3f79b12d6c48e5f08ab34de\"\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 (required)*</p>\n</li>\n</ul>\n<p>EndFragment</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\": \"a3f79b12d6c48e5f08ab34de\",\n        \"username\": \"John Wick\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","chat"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"4eed4a9e-e7f6-4488-a18f-9d49a09bf5a4"},{"name":"Create Calender Post","id":"3a55de08-36b2-4e08-9c59-547499f75b5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\r\n       \r\n        \"prompt\": \"Acting as a senior marketing manager generate a comprehensive long-form social media caption that aligns with Winnie The Pooh Day 🧸\\n, incorporating hashtags, and emojis that deeply resonate with our brand’s values, voice, and target audience. The content should aim to achieve the specified goals of engagement, awareness, and lead generation and in line with Facebook's text restrictions. Only send the final post caption and only one suggestion.\"\r\n       \r\n   \r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/chat/dayevent","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 (required)*</p>\n</li>\n</ul>\n<p>EndFragment</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\": \"a3f79b12d6c48e5f08ab34de\",\n        \"username\": \"John Wick\"\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["api","chat","dayevent"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a55de08-36b2-4e08-9c59-547499f75b5c"},{"name":"Create a Chat","id":"3d83787b-dd4c-4471-b682-7974ea8815f8","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 are your hours?\",\r\n        \"user_id\": \"a3f79b12d6c48e5f08ab34de\",\r\n        \"assistant_id\": \"asst_a3f79b12d6c48e5f08ab34de\",\r\n        \"conversation_id\": \"a3f79b12d6c48e5f08ab34de\"\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</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":"3d83787b-dd4c-4471-b682-7974ea8815f8"},{"name":"Add to Favourite","id":"52e53e98-88cf-48e9-8773-1f3a95b0e931","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"chat_id\":\"a3f79b12d6c48e5f08ab34de\",\r\n    \"user_id\":\"a3f79b12d6c48e5f08ab34de\",\r\n    \"task_id\":\"a3f79b12d6c48e5f08ab34de\"\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":"52e53e98-88cf-48e9-8773-1f3a95b0e931"},{"name":"Delete Chat","id":"0f29f5f3-8599-4240-ab5e-a9e7bbf58a18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"url":"https://api.trustbrand.ai/api/chat/delete?id=a3f79b12d6c48e5f08ab34de","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":"a3f79b12d6c48e5f08ab34de"}],"variable":[]}},"response":[],"_postman_id":"0f29f5f3-8599-4240-ab5e-a9e7bbf58a18"},{"name":"Get Assistants","id":"f7cf2088-c600-4c37-9802-710977f7e791","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","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\": \"a3f79b12d6c48e5f08ab34de\",\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"}],"variable":[]}},"response":[],"_postman_id":"f7cf2088-c600-4c37-9802-710977f7e791"},{"name":"Get All Chats","id":"9e793177-b982-4dca-a24e-b9913770b612","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=a3f79b12d6c48e5f08ab34de","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\": \"a3f79b12d6c48e5f08ab34de\",\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":"a3f79b12d6c48e5f08ab34de"}],"variable":[]}},"response":[],"_postman_id":"9e793177-b982-4dca-a24e-b9913770b612"}],"id":"c171adcb-99e1-4f25-a33f-d01a4a307de3","_postman_id":"c171adcb-99e1-4f25-a33f-d01a4a307de3","description":""},{"name":"Social Calendar","item":[{"name":"Create Post","id":"334aa8cf-7181-4595-82a4-77fbc3c5f85e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"prompt\": \"Actidng as a senior marketing manager generate a comprehensive long-form social media caption that only aligns with National Sporting Heritage Day 🏅\\n, incorporating hashtags, and emojis that deeply resonate with our brand’s values, voice, and target audience. The content should aim to achieve the specified goals of engagement, awareness, and lead generation and be suitable for Instagram.Only send the final post caption and only one suggestion.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/chat/dayevent","description":"<p>The API endpoint allows you to Create Post by sending an HTTP POST request to the specified URL.</p>\n<ul>\n<li>prompt (string): The prompt is the content we are sending to create post (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\": \"Event found successfully\",\n    \"data\": \"🌟 Celebrate the spirit of sport and our cherished heritage on National Sporting Heritage Day! 🏅✨ Let's honour the perseverance, dedication, and passion that have defined our sporting legacy and continue to inspire future generations. Whether you're a player, a fan, or a supporter, today is a day to reflect on the moments that have brought us together and driven us forward. Share your favourite sporting memories with us – let's keep the legacy alive! 📸🚴‍♂️⚽🏏\\n\\n#SportingHeritage #LegacyInMotion #ChampionMindset #SportsForAll ❤️\\n\\nJoin us in this celebration and ensure our sporting history continues to thrive for years to come. 🙌🌍💪\\n\\n🔥 Don’t miss out! Visit our link in bio to discover more about our community initiatives and become a part of our story. Together, let's make a lasting impact! 🎯\\n\\n#NationalSportingHeritageDay #InspireTheFuture #PassionAndPride #CommunitySpirit\\n\\n🙏 Thank you for being a vital part of this journey. Here's to more incredible achievements and unforgettable moments. Cheers to the game-changers! 🥂🔗✨\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","chat","dayevent"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"334aa8cf-7181-4595-82a4-77fbc3c5f85e"},{"name":"Generate Image","id":"11bd084f-8c11-4189-9435-26a151183fe6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"prompt\": \"Create an 🔮 Digital Futuristic depiction of:Generate an image to illustrate National Sporting Heritage Day. The image should feature a large, dynamic collage representing various sports. Include a diverse range of athletes from different descents and genders actively participating in different sports such as football, basketball, tennis, and swimming. The background should be a grand sports arena filled with cheering crowds. In the centre, display a golden medal with an inscription 'National Sporting Heritage Day'. The style should be realistic, with bold and vibrant colours. suitable for 🔮 Digital Futuristic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.trustbrand.ai/api/chat/generateImagefinal","description":"<p>The API endpoint allows you to Generate Image by sending an HTTP POST request to the specified URL.</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    \"data\": {\n        \"revised_prompt\": \"Create an image for National Sporting Heritage Day in a digital futuristic style. The main scene is a grand sports stadium adorned with a collage representing numerous sports. Depict a variety of athletes with different descents and genders, actively engaged in sports like football, basketball, tennis, and swimming. The athletes' actions should reflect the intensity and passion of the sports they are participating in. In the background, picture a jubilant crowd who are there to support the competitors. At the center, display a golden medal with 'National Sporting Heritage Day' inscribed on it. The style should be remarkably vivid with striking, vibrant colors.\",\n        \"url\": \"https://statictemp.maybetech.com/images/ai-generated/UePEUSJOt.png\"\n    },\n    \"success\": true,\n    \"message\": \"Event found successfully\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","chat","generateImagefinal"],"host":["https://api.trustbrand.ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"11bd084f-8c11-4189-9435-26a151183fe6"}],"id":"20fe9d30-c5fb-4073-80c8-c538087c64b9","_postman_id":"20fe9d30-c5fb-4073-80c8-c538087c64b9","description":""},{"name":"Chat And Knowledge Base","item":[{"name":"Get Memory","id":"fb0b7fab-1541-4573-8b63-86b784a454b9","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":"fb0b7fab-1541-4573-8b63-86b784a454b9"},{"name":"Save in Memory","id":"9afc6d3a-5910-4adf-91c6-d1ecf4dee247","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":"9afc6d3a-5910-4adf-91c6-d1ecf4dee247"},{"name":"Delete Memory","id":"5aacd48e-9e2b-4d9b-835d-0002876a6629","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":"5aacd48e-9e2b-4d9b-835d-0002876a6629"},{"name":"File Upload","id":"20b02ddb-f593-41b1-beaf-f3b8e69d3ff6","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":"20b02ddb-f593-41b1-beaf-f3b8e69d3ff6"}],"id":"6b6ef156-9ac6-4fae-910e-fd6c07e3186a","_postman_id":"6b6ef156-9ac6-4fae-910e-fd6c07e3186a","description":""},{"name":"Account","item":[{"name":"Get Account","id":"d4a63d01-bf39-4e08-b329-ec2289d44488","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\": \"a3f79b12d6c48e5f08ab34de\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Wick\",\n        \"email\": \"johnwick@gmail.com\",\n        \"business_name\": \"The Continental Hotel\",\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":"d4a63d01-bf39-4e08-b329-ec2289d44488"},{"name":"Update Account","id":"56581046-c6f6-4c73-ba2d-e427ec2d1a89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"first_name\": \"John\",\r\n    \"last_name\": \"Wick\",\r\n    \"email\": \"johnwick@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\": \"a3f79b12d6c48e5f08ab34de\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Wick\",\n        \"email\": \"johnwick@gmail.com\",\n        \"business_name\": \"The Continental Hotel\",\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":"56581046-c6f6-4c73-ba2d-e427ec2d1a89"}],"id":"0675044f-6dfb-4ed5-a25f-4b104e86d917","_postman_id":"0675044f-6dfb-4ed5-a25f-4b104e86d917","description":""},{"name":"User","item":[{"name":"Create User","id":"71f91685-37b4-465f-ab03-92b2382a5202","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"johnwick@gmail.com\",\r\n  \"password\":\"Penc1lKill\"\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\": \"a3f79b12d6c48e5f08ab34de\",\n        \"email\": \"johnwick@gmail.com\",\n        \"password\": \"Penc1lKill\",\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":"71f91685-37b4-465f-ab03-92b2382a5202"},{"name":"Get Users","id":"c8816836-38b7-4adc-ad12-7aed69f7842c","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\": \"a3f79b12d6c48e5f08ab34de\",\n            \"userName\": \"John Wick\",\n            \"email\": \"johnwick@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":"c8816836-38b7-4adc-ad12-7aed69f7842c"},{"name":"Delete User","id":"fe3757b9-750d-4e97-9f3f-347576843b2b","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=a3f79b12d6c48e5f08ab34de","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\": \"User deleted successfully\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","user","chatusers","delete"],"host":["https://api.trustbrand.ai"],"query":[{"key":"_id","value":"a3f79b12d6c48e5f08ab34de"}],"variable":[]}},"response":[],"_postman_id":"fe3757b9-750d-4e97-9f3f-347576843b2b"},{"name":"Update User","id":"6c8e5ce8-1640-4103-aa7d-03bf57b9d021","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apiKey","value":"Bearer 0000000-000000-000000","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"_id\": \"a3f79b12d6c48e5f08ab34de\",\r\n  \"email\": \"johnwick@gmail.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\": \"a3f79b12d6c48e5f08ab34de\",\n        \"userName\": \"John Wick\",\n        \"email\": \"johnwick@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":"6c8e5ce8-1640-4103-aa7d-03bf57b9d021"},{"name":"Get User By ID","id":"f1a08b3b-240f-4fc5-8675-95ddbb7c6209","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=a3f79b12d6c48e5f08ab34de","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\": \"a3f79b12d6c48e5f08ab34de\",\n        \"userName\": \"John Wick\",\n        \"email\": \"johnwick@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":"a3f79b12d6c48e5f08ab34de"}],"variable":[]}},"response":[],"_postman_id":"f1a08b3b-240f-4fc5-8675-95ddbb7c6209"}],"id":"7c84264d-2f26-465b-af55-26b804d961bf","_postman_id":"7c84264d-2f26-465b-af55-26b804d961bf","description":""}],"event":[{"listen":"prerequest","script":{"id":"3bd7b6e0-4a2f-4232-a462-98e05e4ee002","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"229d47da-3f72-4dd8-97f4-c59da4aa1c75","type":"text/javascript","packages":{},"exec":[""]}}],"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"}]}