{"info":{"_postman_id":"cc7b782e-c1e7-4828-b946-4ef8daa70354","name":"Third Party APIs (Live in URL)","description":"<html><head></head><body><h1 id=\"third-party-apis-integration-overview\">Third Party APIs - Integration Overview</h1>\n<p>Third Party APIs encompasses a suite of APIs designed to facilitate seamless integration and interaction with our insurance platform. These APIs provide third-party developers and partners with essential functionalities to access and manage data related to insurance quotes, applications, and sales. By leveraging these APIs, businesses can enhance their operational capabilities, streamline workflows, and improve customer experiences.</p>\n<h2 id=\"available-products\">Available Products</h2>\n<p>Currently, InstaBrain offers APIs for the following insurance products:</p>\n<ul>\n<li><p><strong>InstaBrain Term with Living Benefits</strong> (Available Now)</p>\n</li>\n<li><p><strong>Pure Term</strong> (Available Now)</p>\n</li>\n<li><p><strong>Final Expense</strong> (Available Now)</p>\n</li>\n</ul>\n<p>Each product has its own Quote API endpoint with product-specific parameters. Details for each product's Quote API are available in their respective API documentation sections.</p>\n<hr>\n<h2 id=\"integration-methods\">Integration Methods</h2>\n<p>InstaBrain supports two integration methods depending on your technical requirements and desired user experience. Choose the method that best fits your needs:</p>\n<h3 id=\"method-1-direct-integration-iframe-embed\">Method 1: Direct Integration (iFrame Embed)</h3>\n<p><strong>Best for:</strong> Partners who want a quick integration without building custom UI, or don't have dedicated technical resources.</p>\n<p><strong>How it works:</strong> Embed the InstaBrain application directly into your website using an iFrame. Users complete the entire quote and application process within the InstaBrain interface hosted on your domain.</p>\n<p><strong>Implementation:</strong></p>\n<p>html</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>&lt;iframe src=\"{agentInstaBrainUrl}\" width=\"100%\" height=\"800px\" frameborder=\"0\"&gt;&lt;/iframe&gt;\n\n</code></pre><p><strong>Setup Requirements:</strong></p>\n<ol>\n<li><p>Replace <code>{agentInstaBrainUrl}</code> with your InstaBrain agent website URL Example: <code>https://instabraindevelopment.instabrain.io</code></p>\n</li>\n<li><p>Contact InstaBrain to whitelist your host domain (required for iFrame access)</p>\n</li>\n<li><p>Ensure your website allows cross-origin iFrames</p>\n</li>\n<li><p>Test the integration across various browsers for compatibility</p>\n</li>\n</ol>\n<p><strong>When to choose this method:</strong></p>\n<ul>\n<li><p>You want minimal development effort</p>\n</li>\n<li><p>You prefer InstaBrain's complete user interface and experience</p>\n</li>\n<li><p>You don't need to customize the quote or application flow</p>\n</li>\n<li><p>You want to get integrated quickly</p>\n</li>\n</ul>\n<hr>\n<h3 id=\"method-2-rest-api-integration\">Method 2: REST API Integration</h3>\n<p><strong>Best for:</strong> Partners with technical teams who want to create custom user experiences and have full control over the user journey.</p>\n<p><strong>How it works:</strong> Integrate InstaBrain's REST APIs to build your own quote and application interface. Users interact with your custom UI, while data is processed through InstaBrain's backend APIs.</p>\n<p><strong>Integration Flow:</strong></p>\n<ol>\n<li><p><strong>Get Quote</strong> → Use the Quote API for your desired product</p>\n<ul>\n<li><p>Each product has its own Quote API endpoint</p>\n</li>\n<li><p>Send quote parameters that affect pricing (age, coverage amount, term length, etc.)</p>\n</li>\n<li><p>Receive quote details and a unique <code>quoteResponseId</code></p>\n</li>\n</ul>\n</li>\n<li><p><strong>Start Application</strong> → Use the Start Application API with the <code>quoteResponseId</code></p>\n<ul>\n<li><p>Pass the <code>quoteResponseId</code> received from the Quote API</p>\n</li>\n<li><p>Receive <code>opportunityId</code> and application links in response</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Complete Application</strong> → Direct users to InstaBrain's application interface</p>\n<ul>\n<li><p>Redirect users to the application URL, OR</p>\n</li>\n<li><p>Embed the application link in an iFrame on your platform</p>\n</li>\n</ul>\n</li>\n</ol>\n<p><strong>When to choose this method:</strong></p>\n<ul>\n<li><p>You have a dedicated technical team</p>\n</li>\n<li><p>You want to create custom user interfaces</p>\n</li>\n<li><p>You need to control the user journey and data flow</p>\n</li>\n<li><p>You want to integrate quotes into your existing systems</p>\n</li>\n<li><p>You need flexibility in how data is collected and displayed</p>\n</li>\n</ul>\n<hr>\n<h2 id=\"rest-api-integration-details\">REST API Integration Details</h2>\n<h3 id=\"step-1-authenticate\">Step 1: Authenticate</h3>\n<p>Before making any API calls, you must obtain a JWT token using the Authorization API.</p>\n<ul>\n<li><p><strong>Token Validity:</strong> 30 minutes</p>\n</li>\n<li><p><strong>Usage:</strong> Include the JWT token in the <code>Authorization</code> header as a Bearer token for all subsequent API requests</p>\n</li>\n<li><p><strong>Documentation:</strong> Refer to the Authorization API page for detailed implementation</p>\n</li>\n</ul>\n<p><strong>Important:</strong> Design your system to handle token expiration by refreshing or requesting a new token after the 30-minute window.</p>\n<hr>\n<h3 id=\"step-2-get-a-quote\">Step 2: Get a Quote</h3>\n<p>Use the Quote API specific to your desired insurance product to generate quotes for users.</p>\n<p><strong>Available Products:</strong></p>\n<ul>\n<li><p>InstaBrain Term with Living Benefits</p>\n</li>\n<li><p>Pure Term</p>\n</li>\n<li><p>Final Expense</p>\n</li>\n</ul>\n<p><strong>Process:</strong></p>\n<ol>\n<li><p>Send quote parameters based on the product (age, coverage amount, term length, etc.)</p>\n</li>\n<li><p>Receive quote response including pricing and a unique <code>quoteResponseId</code></p>\n</li>\n<li><p>Present the quote to your user through your custom UI</p>\n</li>\n</ol>\n<p><strong>Note:</strong> Each product has different parameters and response structures. Refer to the specific Quote API documentation for detailed request/response formats and endpoints.</p>\n<hr>\n<h3 id=\"step-3-start-the-application\">Step 3: Start the Application</h3>\n<p>Once a user decides to proceed with a quote, use the Start Application API to initiate the application process.</p>\n<p><strong>Key Information:</strong></p>\n<ul>\n<li><p>Pass the <code>quoteResponseId</code> received from the Quote API</p>\n</li>\n<li><p>Optionally provide or override applicant information (firstName, lastName, email, phoneNumber)</p>\n</li>\n<li><p>Receive <code>opportunityId</code> and application links (agentLink, eAppAgentLink, applicantLink)</p>\n</li>\n</ul>\n<p><strong>For detailed request/response structure and implementation:</strong> Refer to the Start Application API documentation page.</p>\n<hr>\n<h3 id=\"step-4-present-the-application-to-users\">Step 4: Present the Application to Users</h3>\n<p>After receiving the Start Application response, you have two options:</p>\n<p><strong>Option A: Redirect to InstaBrain</strong></p>\n<ul>\n<li><p>Redirect the user to the <code>applicantLink</code> URL</p>\n</li>\n<li><p>User completes the application on InstaBrain's platform</p>\n</li>\n</ul>\n<p><strong>Option B: Embed in iFrame</strong></p>\n<ul>\n<li>Embed the <code>applicantLink</code> in an iFrame on your platform</li>\n</ul>\n<p>html</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-html\">&lt;iframe src=\"{applicantLink}\" width=\"100%\" height=\"800px\" frameborder=\"0\"&gt;&lt;/iframe&gt;\n\n</code></pre>\n<ul>\n<li>User completes the application within your website</li>\n</ul>\n<p><strong>For Agents:</strong></p>\n<ul>\n<li><p>Use <code>applicationLink</code> for Conversational UI for Applicant.</p>\n</li>\n<li><p>Use <code>agentLink</code> for Conversational UI for Agent.</p>\n</li>\n<li><p>Use <code>eAppAgentLink</code> for E-App for Agent.</p>\n</li>\n</ul>\n<hr>\n<h2 id=\"environment-information\">Environment Information</h2>\n<h3 id=\"sandbox-environment\">Sandbox Environment</h3>\n<p><strong>Base URL:</strong> <code>https://api.instabrainsandbox.io/</code></p>\n<p><strong>Purpose:</strong></p>\n<ul>\n<li><p>Test your integration</p>\n</li>\n<li><p>Develop and validate your implementation</p>\n</li>\n<li><p>No real transactions or applications are processed</p>\n</li>\n</ul>\n<p><strong>Access:</strong></p>\n<ul>\n<li><p>Register at: <a href=\"https://devportal.instabrainsandbox.io/third-party-questionnarie\">https://devportal.instabrainsandbox.io/third-party-questionnarie</a></p>\n</li>\n<li><p>Receive sandbox credentials via email</p>\n</li>\n<li><p>Use credentials to obtain JWT tokens for API access</p>\n</li>\n</ul>\n<h3 id=\"production-environment\">Production Environment</h3>\n<p><strong>Access Process:</strong></p>\n<ol>\n<li><p>Complete and test your integration in the sandbox environment</p>\n</li>\n<li><p>Contact InstaBrain for production migration review</p>\n</li>\n<li><p>InstaBrain will review your integration implementation</p>\n</li>\n<li><p>Upon approval, receive production credentials and base URL</p>\n</li>\n<li><p>InstaBrain will whitelist your production domain and IP addresses</p>\n</li>\n</ol>\n<p><strong>Important Notes:</strong></p>\n<ul>\n<li><p>Production environment has strict security rules</p>\n</li>\n<li><p>Domain and IP whitelisting is required before go-live</p>\n</li>\n<li><p>Manual approval process ensures integration quality and security</p>\n</li>\n<li><p>Base URL will be different from sandbox (provided during migration)</p>\n</li>\n</ul>\n<hr>\n<h2 id=\"getting-started-checklist\">Getting Started Checklist</h2>\n<p><strong>For Direct Integration (iFrame):</strong></p>\n<ul>\n<li><p>Register your organization at the registration portal</p>\n</li>\n<li><p>Receive your InstaBrain agent website URL</p>\n</li>\n<li><p>Provide your host domain to InstaBrain for whitelisting</p>\n</li>\n<li><p>Implement the iFrame on your website</p>\n</li>\n<li><p>Test across multiple browsers</p>\n</li>\n<li><p>Request production access when ready</p>\n</li>\n</ul>\n<p><strong>For REST API Integration:</strong></p>\n<ul>\n<li><p>Register at <a href=\"https://devportal.instabrainsandbox.io/third-party-questionnarie\">https://devportal.instabrainsandbox.io/third-party-questionnarie</a></p>\n</li>\n<li><p>Receive sandbox credentials and review API documentation</p>\n</li>\n<li><p>Implement Authentication API to obtain JWT tokens</p>\n</li>\n<li><p>Integrate the Quote API for your desired product(s)</p>\n</li>\n<li><p>Implement the Start Application API</p>\n</li>\n<li><p>Test the complete flow in sandbox environment</p>\n</li>\n<li><p>Request production migration review</p>\n</li>\n<li><p>Receive production credentials and migrate</p>\n</li>\n</ul>\n<hr>\n<h2 id=\"support-and-assistance\">Support and Assistance</h2>\n<p>If you have any questions or need further assistance, please contact our support team:</p>\n<p><strong>Email:</strong> <a href=\"https://mailto:helpdesk@instabrain.io\">helpdesk@instabrain.io</a></p>\n<p>We are here to help you maximize the value of our Third Party APIs and ensure a successful integration experience.</p>\n<hr>\n<h2 id=\"next-steps\">Next Steps</h2>\n<ul>\n<li><p><strong>Authentication Required?</strong> → Proceed to the <strong>Authorization API</strong> page</p>\n</li>\n<li><p><strong>Need Quote Details?</strong> → Review the <strong>Quote API</strong> documentation for your product</p>\n</li>\n<li><p><strong>Starting Applications?</strong> → See the <strong>Start Application API</strong> page</p>\n</li>\n<li><p><strong>Technical Questions?</strong> → Contact <a href=\"https://mailto:helpdesk@instabrain.io\">helpdesk@instabrain.io</a></p>\n</li>\n</ul>\n<p>EndFragment</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Third Party APIs - Integration Overview","slug":"third-party-apis-integration-overview"}],"owner":"18938680","collectionId":"cc7b782e-c1e7-4828-b946-4ef8daa70354","publishedId":"2sAXqv6M2F","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"3B78CE"},"publishDate":"2025-10-01T18:06:59.000Z"},"item":[{"name":"Authorization","item":[{"name":"Authorization","event":[{"listen":"test","script":{"id":"c26e775a-34bd-4b0f-b802-4af547de9df6","exec":["var jsonData = JSON.parse(responseBody);\r","console.log(jsonData);\r","pm.environment.set(\"jwtToken\", jsonData.value.jwtToken);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"9f259d9d-085d-433e-acc0-f4907aeeb1a2","protocolProfileBehavior":{"disableBodyPruning":true,"maxRedirects":150},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": 1,\r\n    \"accessToken\": \"573D7DE9-E2B5-4227-B100-12D3960CACB6\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.instabrainsandbox.io/api/ThirdParty/auth","description":"<p>In below table, detailed description of each request body parameter is mentioned</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter Name</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Possible Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userId</td>\n<td>Id of the user which is assigned</td>\n<td>Integers</td>\n</tr>\n<tr>\n<td>accessToken</td>\n<td>secret token which is assigned</td>\n<td>Unique Identifier</td>\n</tr>\n</tbody>\n</table>\n</div><p>Based on above request, your will get below response for success with <code>jwtToken</code>:</p>\n<ul>\n<li><code>jwtToken</code> is required to pass for all other API calls as Bearer token and its validity is 30 minutes.</li>\n</ul>\n<p>If credentials are not valid then API will give error with 400 status code.</p>\n","urlObject":{"protocol":"https","path":["api","ThirdParty","auth"],"host":["api","instabrainsandbox","io"],"query":[],"variable":[]}},"response":[{"id":"792c3b8d-30e7-4537-afed-bb092b4dca55","name":"200 Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": 111,\r\n    \"accessToken\": \"74BFB77B-6134-4644-B252-63E1B206531A\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/quickquoterv2/auth"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Sep 2024 13:31:25 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, post-check=0, pre-check=0"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Request-Context","value":"appId=cid-v1:3b0fc24c-e7ef-4684-89b3-7ea9f684674d"},{"key":"Content-Security-Policy","value":"default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdnjs.cloudflare.com; script-src 'self' 'unsafe-inline'; font-src 'self' https://fonts.gstatic.com https://cdnjs.cloudflare.com; img-src 'self' https://instabrainwebappstorage.blob.core.windows.net; connect-src 'self' wss://localhost:50068; frame-ancestors 'self' https://*.instabrain-dev.io https://*.instabrainstage.io;"},{"key":"Permissions-Policy","value":"geolocation=();"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=b8kGNOWjn%2FVWBzDHw4DIeTJU%2FS93ANqeCF4vAk%2BdAnCw7bhZZMDlyuoaz%2BVYDTySsHw%2FAMAlZLdh0E7l7cafsx9YdWdfk0rDH7iWhJReMCKEEe6t0biC76UnF0zFCFQ%2FBiGEtSzi%2Fsg%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"expect-ct","value":"max-age=86400, enforce"},{"key":"referrer-policy","value":"same-origin"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8c83227a598ec943-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": true,\n    \"value\": {\n        \"jwtToken\": \"eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJJZCI6IjhmZjc3OTllLTNiMGUtNDAwYS04ZjQyLTlkNDU3NDVmY2Q1NSIsInJvbGUiOiJBZ2VudCIsIlNjb3BlIjoiVGhpcmRQYXJ0eSIsIlVzZXJJZCI6IjExMSIsImF1ZCI6WyJodHRwOi8vbG9jYWxob3N0OjQyMDAvIiwiaHR0cDovL2xvY2FsaG9zdDo0NDAwIiwiaHR0cHM6Ly8qLmluc3RhYnJhaW5zdGFnZS5pbyJdLCJuYmYiOjE3MjcxODQ2ODUsImV4cCI6MTcyNzE4NjQ4NSwiaWF0IjoxNzI3MTg0Njg1LCJpc3MiOiJodHRwczovL2FwaS5pbnN0YWJyYWluc3RhZ2UuaW8vIn0.crBvfphCYBAOLmxiV7gD4xt5U56PJNiqLWOA6DfNoTMNDZdT-XGxkLlai0Sgt88Nqj6K2-CZgAQHMtmIc5bcMg\"\n    },\n    \"error\": null\n}"},{"id":"7e8d2fd8-da4c-44f0-bb0f-72b35541e4b6","name":"400 Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": 11,\r\n    \"accessToken\": \"74BFB77B-6134-4644-B252-63E1B206531A\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/quickquoterv2/auth"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Sep 2024 13:40:38 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"59"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, post-check=0, pre-check=0"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Request-Context","value":"appId=cid-v1:3b0fc24c-e7ef-4684-89b3-7ea9f684674d"},{"key":"Content-Security-Policy","value":"default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdnjs.cloudflare.com; script-src 'self' 'unsafe-inline'; font-src 'self' https://fonts.gstatic.com https://cdnjs.cloudflare.com; img-src 'self' https://instabrainwebappstorage.blob.core.windows.net; connect-src 'self' wss://localhost:50068; frame-ancestors 'self' https://*.instabrain-dev.io https://*.instabrainstage.io;"},{"key":"Permissions-Policy","value":"geolocation=();"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=JfneKnf06mnRZK1JelAW6eeMSQId5u9wHmliqDZrsfMy3bGzn26ddo7njo8VEomlttVolZ4Z5otYEXGw4oDd7aZ1H6HOCAYxRVLNkQkEyFQzZUGjdsBs3pk2PwmHXW6caXzBKWz5Uqg%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"expect-ct","value":"max-age=86400, enforce"},{"key":"referrer-policy","value":"same-origin"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8c832ff8cfeb8009-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": false,\n    \"value\": null,\n    \"error\": \"agentLoginError\"\n}"}],"_postman_id":"9f259d9d-085d-433e-acc0-f4907aeeb1a2"}],"id":"0045fba6-2a11-479e-985a-923e5f711a53","description":"<p>The <strong>Authorization API</strong> is designed to generate a JWT (JSON Web Token) that serves as the key for authenticating and securing subsequent API requests. Upon successful invocation of this endpoint, a unique JWT token is returned. This token is required to access other APIs within the system.</p>\n<p>The JWT token must be included in the <strong>Authorization</strong> header as a Bearer token in all API calls that require authentication. This ensures that only authorized users or systems with a valid token can interact with protected endpoints. Without a valid JWT token in the Authorization header, the system will reject access to secured APIs.</p>\n<p>It’s important to note that the token is valid for <strong>30 minutes</strong> from the time of issuance. Once the token expires, users must generate a new one by making another request to the Authorization API.</p>\n<p>To avoid interruptions, ensure your system is designed to handle token expiration by either refreshing the token or requesting a new one after the 30-minute window.</p>\n","_postman_id":"0045fba6-2a11-479e-985a-923e5f711a53"},{"name":"Third Party Quote","item":[{"name":"Get IB Term Quote","id":"c2c5ec76-5bf7-48a6-a1e2-0c0e48ffd00e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"faceAmount\": 100000,\n    \"benefitPeriod\": 10,\n    \"flagTobaccoUse\": false,\n    \"gender\": \"Male\",\n    \"stateCode\": \"AZ\",\n    \"zipCode\": null,\n    \"rateClass\": \"Preferred Plus\",\n    \"healthClass\": null,\n    \"height\": {\n        \"feet\": 6,\n        \"inches\": 1\n    },\n    \"weightInLbs\": 180,\n    \"age\": 25,\n    \"dateOfBirth\": \"2000-01-01\",\n    \"riders\": [\n        {\n            \"rider\": \"ADB Rider\",\n            \"riderFaceAmount\": 60000\n        }\n    ],\n    \"paymentFreq\": \"Monthly\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"john.doe@gmail.com\",\n    \"PhoneNum\": \"2341234567\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.instabrainsandbox.io/api/thirdpartyibtermquote/get","description":"<h3 id=\"detailed-guide-on-request-parameters\">Detailed Guide on Request Parameters</h3>\n<p>In below table, detailed description of each request parameter is mentioned</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Possible Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>faceAmount</code></td>\n<td>Integer</td>\n<td>It is the coverage amount for the quote.</td>\n<td>Upto 55 age, it is 50,000 to 1,000,000.  <br />  <br />At 56 age - 50,000 to 900,000  <br />  <br />At 57 age - 50,000 to 800,000  <br />  <br />At 58 age - 50,000 to 700,000  <br />  <br />At 59 age - 50,000 to 600,000  <br />  <br />At 60 age - 50,000 to 500,000</td>\n</tr>\n<tr>\n<td><code>benefitPeriod</code></td>\n<td>Integer</td>\n<td>It is the Term Length for the quote.</td>\n<td>Upto 45 age available values are  <br />  <br />10  <br />  <br />20  <br />  <br />30  <br />  <br />Between 45 to 50 if <code>flagTobaccoUse</code> is false.  <br />  <br />10  <br />  <br />20  <br />  <br />30  <br />  <br />Between 45 to 50 if <code>flagTobaccoUse</code> is true.  <br />  <br />10  <br />  <br />20  <br />  <br />Between 51 to 60  <br />  <br />10  <br />  <br />20</td>\n</tr>\n<tr>\n<td><code>flagTobaccoUse</code></td>\n<td>Boolean</td>\n<td>It indicates whether requester uses nicotine or not.</td>\n<td>true  <br />  <br />false</td>\n</tr>\n<tr>\n<td><code>gender</code></td>\n<td>Integer</td>\n<td>Gender of the requester</td>\n<td>- 1 = Male  <br />  <br />- 2= Female  <br />  <br />- 3 = Unknown</td>\n</tr>\n<tr>\n<td><code>stateCode</code></td>\n<td>String</td>\n<td>Current US State of the requester  <br />  <br />This is not required if <code>zipCode</code> is already passed</td>\n<td>2 character <code>stateCode</code> of the US state.  <br />  <br />e.g. AZ, AK  <br />  <br />Product currently not available in WY and NY</td>\n</tr>\n<tr>\n<td><code>zipCode</code></td>\n<td>String</td>\n<td>US Zip Code where requester currently living  <br />  <br />Either <code>stateCode</code> or <code>zipCode</code> required, If both passed, priority will be given to <code>zipCode</code></td>\n<td>Zip Code of any US place.</td>\n</tr>\n<tr>\n<td><code>rateClass</code></td>\n<td>String</td>\n<td>Rate Class of the Requester  <br />  <br />It is not required if healthClass or height and weight are passed</td>\n<td>Preferred Plus  <br />  <br />Preferred  <br />  <br />Standard  <br />  <br />Standard Extra</td>\n</tr>\n<tr>\n<td><code>healthClass</code></td>\n<td>String</td>\n<td>Health Class of the Requester  <br />  <br />It is not required if rateClass or height and weight are passed</td>\n<td>Excellent  <br />  <br />Great  <br />  <br />Good  <br />  <br />Average</td>\n</tr>\n<tr>\n<td><code>height</code></td>\n<td>Object</td>\n<td>Object containing below properties  <br />  <br />- <code>feet</code> (Integer) : Height in feet  <br />  <br />- <code>inches</code>: Inch component of the height that can’t cover in feets  <br />  <br />  <br />For Inches number should be between 0 to 11  <br />  <br />- If height is passed, weight needs to be passed.  <br />  <br />- It is not required if either rateClass or healthClass passed.  <br />  <br />- But if passed, it will be considered while calculating the quote.</td>\n<td></td>\n</tr>\n<tr>\n<td><code>weightInLbs</code></td>\n<td>Integer</td>\n<td>Weight of requester in pound  <br />  <br />- If height is passed, weight needs to be passed.  <br />  <br />- It is not required if either rateClass or healthClass passed.  <br />  <br />- But if passed, it will be considered while calculating the quote.</td>\n<td></td>\n</tr>\n<tr>\n<td><code>age</code></td>\n<td>Integer</td>\n<td>Age of the requester  <br />  <br />It is not required if <code>dateOfBirth</code> is passed</td>\n<td>18 to 60</td>\n</tr>\n<tr>\n<td><code>dateOfBirth</code></td>\n<td>DateTime</td>\n<td>Date of Birth of the requester  <br />  <br />- It is not required if age is passed  <br />  <br />- But if both are passed, <code>dateOfBirth</code> will be given priority</td>\n<td>Date of Birth should be such that age comes from it should be between 18 to 60</td>\n</tr>\n<tr>\n<td><code>riders</code></td>\n<td>Array of Object</td>\n<td>Array of rider object each containing below properties  <br />  <br />- <code>rider</code> (string)- Name of the Rider from given set of values.  <br />  <br />- <code>riderFaceAmount</code> (integer)- Coverage amount of the Rider.</td>\n<td>- Rider Values  <br />  <br />- ADB Rider  <br />  <br />- Dependent Child Rider  <br />  <br />  <br />These riders availability also depends on stateCode and age, <a href=\"https://instabrain.atlassian.net/wiki/external/ODhiYjYzYWY5NmM4NDRjYmE4ODViMmI1NTQxZThhMTQ\">here</a> is the document which will explain riders availability.  <br />  <br />- Rider face amount  <br />  <br />- For <code>ADB Rider</code> the face amount should be between 25,000 - 250, 000  <br />  <br />- For <code>Dependent Child Rider</code> face amount should be between 5,000 to 25,000  <br />  <br />  <br />At anytime, <code>riderFaceAmount</code> should not be greater than overall coverage amount.  <br /><a href=\"https://instabrain.atlassian.net/wiki/external/Mzk3NjNhMTQzYzRjNDc1ODlkNDU2MTNkOGVlZmNjNmM\">Detailed guide</a> on elibility of riders.</td>\n</tr>\n<tr>\n<td><code>paymentFreq</code></td>\n<td>String</td>\n<td>In what payment frequency user wants to pay</td>\n<td>Annually  <br />Monthly</td>\n</tr>\n<tr>\n<td><code>firstName</code></td>\n<td>String</td>\n<td>Optional field to enter the the first name of customer</td>\n<td></td>\n</tr>\n<tr>\n<td><code>lastName</code></td>\n<td>String</td>\n<td>Optional field to enter the last name of customer</td>\n<td></td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>String</td>\n<td>Optional field to enter the email of the customer</td>\n<td></td>\n</tr>\n<tr>\n<td><code>phoneNum</code></td>\n<td>String</td>\n<td>Optional field to enter the phone number of the customer. Must be a 10-digit number. If provided, the phone number will be formatted into the standard format: <code>+1 123 456-7890</code>. Ensure that the number is in the correct format before sending to avoid any errors.</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p>When a request is invalid, the API responds with a <strong>400 Bad Request</strong> status. This <a href=\"https://instabrain.atlassian.net/wiki/external/Mzk3NjNhMTQzYzRjNDc1ODlkNDU2MTNkOGVlZmNjNmM\">document</a> outlines the possible error codes returned in such cases.</p>\n<h3 id=\"explanation-of-key-parameters-from-200-response\">Explanation of Key Parameters from 200 Response</h3>\n<ul>\n<li><p><code>quoteAmount</code> will give the premium requester has to pay for requested coverage amount.</p>\n</li>\n<li><p><code>selectedRiders.riderQuoteAmount</code>, tells us the breakdown of the premium for rider.</p>\n</li>\n<li><p>If we subtract each rider <code>riderQuoteAmount</code> from “quoteAmount”, we will get base premium without riders.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","thirdpartyibtermquote","get"],"host":["api","instabrainsandbox","io"],"query":[],"variable":[]}},"response":[{"id":"793bd62e-f052-40b9-baba-ce14655589df","name":"200 OK – Sample","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"faceAmount\": 100000,\n    \"benefitPeriod\": 10,\n    \"flagTobaccoUse\": false,\n    \"gender\": \"Male\",\n    \"stateCode\": \"AZ\",\n    \"zipCode\": null,\n    \"rateClass\": \"Preferred Plus\",\n    \"healthClass\": null,\n    \"height\": {\n        \"feet\": 6,\n        \"inches\": 1\n    },\n    \"weightInLbs\": 180,\n    \"age\": 25,\n    \"dateOfBirth\": \"2000-01-01\",\n    \"riders\": [\n        {\n            \"rider\": \"ADB Rider\",\n            \"riderFaceAmount\": 60000\n        }\n    ],\n    \"paymentFreq\": \"Monthly\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"john.doe@gmail.com\",\n    \"PhoneNum\": \"2341234567\"\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/thirdpartyibtermquote/get"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Sep 2024 16:25:22 GMT"},{"key":"Content-Type","value":"application/json","description":""},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, post-check=0, pre-check=0"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Request-Context","value":"appId=cid-v1:3b0fc24c-e7ef-4684-89b3-7ea9f684674d"},{"key":"Content-Security-Policy","value":"default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdnjs.cloudflare.com; script-src 'self' 'unsafe-inline'; font-src 'self' https://fonts.gstatic.com https://cdnjs.cloudflare.com; img-src 'self' https://instabrainwebappstorage.blob.core.windows.net; connect-src 'self' wss://localhost:50068; frame-ancestors 'self' https://*.instabrain-dev.io https://*.instabrainstage.io;"},{"key":"Permissions-Policy","value":"geolocation=();"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=g6RJZn1YnDyXqoOldvAtg71GucAVhLa3m9MxHsfVPw%2BTeyPnzZ%2B5NEcMPcRMWirItLMgP2sovEJWzgrU35Q29mqWA5rGOvGB3wT7%2FTmQWSh2ndxIsaUSGq2fzLE9dtgxhKpb3yZwixE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"expect-ct","value":"max-age=86400, enforce"},{"key":"referrer-policy","value":"same-origin"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8c8421463ddcc9a4-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": true,\n    \"value\": {\n        \"productName\": \"InstaBrain Term With Living Benefits\",\n        \"selectedQuote\": {\n            \"quoteResponseId\": \"df52deb0-4735-405e-9ff2-f196b2d16b56\",\n            \"index\": 0,\n            \"quoteAmount\": 16.88,\n            \"premiumSaveWhenSelectingAnnual\": 85.6,\n            \"maxQuoteAmount\": null,\n            \"minQuoteAmount\": null,\n            \"farmersOverallBenefit\": null,\n            \"farmersDetailsAfterEachBenefitPeriods\": [],\n            \"faceAmount\": 100000,\n            \"faceAmountLabel\": \"Coverage Amount\",\n            \"benefitPeriod\": 10,\n            \"benefitPeriodUnit\": \"Year\",\n            \"benefitPeriodLabel\": \"Term Length\",\n            \"waitingPeriod\": null,\n            \"waitingPeriodUnit\": null,\n            \"waitingPeriodLabel\": null,\n            \"paymentFrequency\": \"Monthly\",\n            \"isMedicalRequired\": false,\n            \"selectedRiders\": [\n                {\n                    \"riderValue\": \"ADB Rider\",\n                    \"riderLabel\": \"Accidental Death Benefit Rider\",\n                    \"riderQuoteAmount\": 5.22,\n                    \"faceAmount\": 60000\n                }\n            ],\n            \"hint\": {\n                \"title\": \"Coverage Amount\",\n                \"description\": \"This total coverage amount includes base policy coverage amount of $100,000 and Accidental Death Benefit Rider coverage amount of $60,000.\",\n                \"hintTable\": null\n            },\n            \"flagMultipleQuote\": false,\n            \"quoteParts\": []\n        }\n    },\n    \"error\": null\n}"},{"id":"c7d61609-9d49-4438-bfed-b8a5d742cb56","name":"400 Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"faceAmount\": 100000,\n    \"benefitPeriod\": 10,\n    \"flagTobaccoUse\": false,\n    \"gender\": \"Male\",\n    \"stateCode\": \"AZ\",\n    \"zipCode\": null,\n    \"rateClass\": \"Preferred Plus\",\n    \"healthClass\": null,\n    \"height\": {\n        \"feet\": 6,\n        \"inches\": 1\n    },\n    \"weightInLbs\": 180,\n    \"age\": 25,\n    \"dateOfBirth\": \"2000-01-01\",\n    \"riders\": [\n        {\n            \"rider\": \"ADB Ride\",\n            \"riderFaceAmount\": 60000\n        }\n    ],\n    \"paymentFreq\": \"Monthly\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"john.doe@gmail.com\",\n    \"PhoneNum\": \"2341234567\"\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/thirdpartyibtermquote/get"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Sep 2024 19:19:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"61"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, post-check=0, pre-check=0"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Request-Context","value":"appId=cid-v1:3b0fc24c-e7ef-4684-89b3-7ea9f684674d"},{"key":"Content-Security-Policy","value":"default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdnjs.cloudflare.com; script-src 'self' 'unsafe-inline'; font-src 'self' https://fonts.gstatic.com https://cdnjs.cloudflare.com; img-src 'self' https://instabrainwebappstorage.blob.core.windows.net; connect-src 'self' wss://localhost:50068; frame-ancestors 'self' https://*.instabrain-dev.io https://*.instabrainstage.io;"},{"key":"Permissions-Policy","value":"geolocation=();"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=yAmoxaDtTFWqVJQBHBsyzPBGhQxtUEZ1qm1JUdtHIGZi6MD%2BJqzaySeEPWfkOGhgULmozS4svxa5WktowjV%2F1B%2FV2w1zAL2punQ7G44%2FnA9j5eCjlinE2AtQf2%2FCRbVrOcsiG66Y0HE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"expect-ct","value":"max-age=86400, enforce"},{"key":"referrer-policy","value":"same-origin"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8c852027dd3d3b7e-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": false,\n    \"value\": null,\n    \"error\": \"RiderNotAvailable\"\n}"},{"id":"7f7497bb-002a-42b0-860f-c50e12e81ee9","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"faceAmount\": 100000,\n    \"benefitPeriod\": 10,\n    \"flagTobaccoUse\": false,\n    \"gender\": \"Male\",\n    \"stateCode\": \"AZ\",\n    \"zipCode\": null,\n    \"rateClass\": \"Preferred Plus\",\n    \"healthClass\": null,\n    \"height\": {\n        \"feet\": 6,\n        \"inches\": 1\n    },\n    \"weightInLbs\": 180,\n    \"age\": 25,\n    \"dateOfBirth\": \"2000-01-01\",\n    \"riders\": [\n        {\n            \"rider\": \"ADB Rider\",\n            \"riderFaceAmount\": 60000\n        }\n    ],\n    \"paymentFreq\": \"Monthly\"\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/thirdpartyibtermquote/get"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Sep 2024 16:14:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=K4qo4q8K7v8OQVeCkPCILwVI%2BRtjmCRSI%2BMPxiJM%2BUcccNbMHoQVY2auU2Uu8cpeqsee6kowk2HTC1xLkQRIqQYzsR%2Fb7tNBUk8D%2B8Qp59PqPwcac1xfbHnWlh5mYbnnljXxpWWz5Uc%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"expect-ct","value":"max-age=86400, enforce"},{"key":"referrer-policy","value":"same-origin"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8c84116d0fac3968-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": false,\n    \"value\": null,\n    \"error\": \"Logout\"\n}"}],"_postman_id":"c2c5ec76-5bf7-48a6-a1e2-0c0e48ffd00e"},{"name":"Get Pure Term Quote","id":"b3c19dce-f6f7-4b9b-b9f1-28ec7bc06757","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"accept","value":"application/json"},{"key":"Content-Type","value":"application/json-patch+json"}],"body":{"mode":"raw","raw":"{\n    \"faceAmount\": 100000,\n    \"benefitPeriod\": 10,\n    \"flagTobaccoUse\": false,\n    \"gender\": \"Male\",\n    \"stateCode\": \"AZ\",\n    \"zipCode\": null,\n    \"rateClass\": \"Rated D\",\n    \"healthClass\": null,\n    \"height\": {\n        \"feet\": 6,\n        \"inches\": 1\n    },\n    \"weightInLbs\": 180,\n    \"age\": 25,\n    \"dateOfBirth\": \"2000-01-01\",\n    \"riders\": [\n        {\n            \"rider\": \"ADB Rider\",\n            \"riderFaceAmount\": 60000\n        }\n    ],\n    \"paymentFreq\": \"Monthly\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"john.doe@gmail.com\",\n    \"PhoneNum\": \"2341234567\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.instabrainstage.io/api/ThirdPartyIbPureTermQuote/get","description":"<h3 id=\"detailed-guide-on-request-parameters\">Detailed Guide on Request Parameters</h3>\n<p>In below table, detailed description of each request parameter is mentioned</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Possible Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>faceAmount</code></td>\n<td>Integer</td>\n<td>It is the coverage amount for the quote.</td>\n<td>Upto 55 age, it is 50,000 to 1,000,000.  <br />  <br />At 56 age - 50,000 to 900,000  <br />  <br />At 57 age - 50,000 to 800,000  <br />  <br />At 58 age - 50,000 to 700,000  <br />  <br />At 59 age - 50,000 to 600,000  <br />  <br />At 60 age - 50,000 to 500,000</td>\n</tr>\n<tr>\n<td><code>benefitPeriod</code></td>\n<td>Integer</td>\n<td>It is the Term Length for the quote.</td>\n<td>Upto 45 age available values are  <br />  <br />10  <br />  <br />20  <br />  <br />30  <br />  <br />Between 45 to 50 if <code>flagTobaccoUse</code> is false.  <br />  <br />10  <br />  <br />20  <br />  <br />30  <br />  <br />Between 45 to 50 if <code>flagTobaccoUse</code> is true.  <br />  <br />10  <br />  <br />20  <br />  <br />Between 51 to 60  <br />  <br />10  <br />  <br />20</td>\n</tr>\n<tr>\n<td><code>flagTobaccoUse</code></td>\n<td>Boolean</td>\n<td>It indicates whether requester uses nicotine or not.</td>\n<td>true  <br />  <br />false</td>\n</tr>\n<tr>\n<td><code>gender</code></td>\n<td>Integer</td>\n<td>Gender of the requester</td>\n<td>- 1 = Male  <br />  <br />- 2= Female  <br />  <br />- 3 = Unknown</td>\n</tr>\n<tr>\n<td><code>stateCode</code></td>\n<td>String</td>\n<td>Current US State of the requester  <br />  <br />This is not required if <code>zipCode</code> is already passed</td>\n<td>2 character <code>stateCode</code> of the US state.  <br />  <br />e.g. AZ, AK  <br />  <br />Product currently not available in WY and NY</td>\n</tr>\n<tr>\n<td><code>zipCode</code></td>\n<td>String</td>\n<td>US Zip Code where requester currently living  <br />  <br />Either <code>stateCode</code> or <code>zipCode</code> required, If both passed, priority will be given to <code>zipCode</code></td>\n<td>Zip Code of any US place.</td>\n</tr>\n<tr>\n<td><code>rateClass</code></td>\n<td>String</td>\n<td>Rate Class of the Requester  <br />  <br />It is not required if healthClass or height and weight are passed</td>\n<td>Preferred Plus  <br />  <br />Preferred  <br />  <br />Standard  <br />  <br />Standard Extra  <br />  <br />Rated C  <br />  <br />Rated D</td>\n</tr>\n<tr>\n<td><code>healthClass</code></td>\n<td>String</td>\n<td>Health Class of the Requester  <br />  <br />It is not required if rateClass or height and weight are passed</td>\n<td>Excellent  <br />  <br />Great  <br />  <br />Good  <br />  <br />Average</td>\n</tr>\n<tr>\n<td><code>height</code></td>\n<td>Object</td>\n<td>Object containing below properties  <br />  <br />- <code>feet</code> (Integer) : Height in feet  <br />  <br />- <code>inches</code>: Inch component of the height that can’t cover in feets  <br />  <br />  <br />For Inches number should be between 0 to 11  <br />  <br />- If height is passed, weight needs to be passed.  <br />  <br />- It is not required if either rateClass or healthClass passed.  <br />  <br />- But if passed, it will be considered while calculating the quote.</td>\n<td></td>\n</tr>\n<tr>\n<td><code>weightInLbs</code></td>\n<td>Integer</td>\n<td>Weight of requester in pound  <br />  <br />- If height is passed, weight needs to be passed.  <br />  <br />- It is not required if either rateClass or healthClass passed.  <br />  <br />- But if passed, it will be considered while calculating the quote.</td>\n<td></td>\n</tr>\n<tr>\n<td><code>age</code></td>\n<td>Integer</td>\n<td>Age of the requester  <br />  <br />It is not required if <code>dateOfBirth</code> is passed</td>\n<td>18 to 60</td>\n</tr>\n<tr>\n<td><code>dateOfBirth</code></td>\n<td>DateTime</td>\n<td>Date of Birth of the requester  <br />  <br />- It is not required if age is passed  <br />  <br />- But if both are passed, <code>dateOfBirth</code> will be given priority</td>\n<td>Date of Birth should be such that age comes from it should be between 18 to 60</td>\n</tr>\n<tr>\n<td><code>riders</code></td>\n<td>Array of Object</td>\n<td>Array of rider object each containing below properties  <br />  <br />- <code>rider</code> (string)- Name of the Rider from given set of values.  <br />  <br />- <code>riderFaceAmount</code> (integer)- Coverage amount of the Rider.</td>\n<td>- Rider Values  <br />  <br />- ADB Rider  <br />  <br />- Dependent Child Rider  <br />  <br />  <br />These riders availability also depends on stateCode and age, <a href=\"https://instabrain.atlassian.net/wiki/external/ODhiYjYzYWY5NmM4NDRjYmE4ODViMmI1NTQxZThhMTQ\">here</a> is the document which will explain riders availability.  <br />  <br />- Rider face amount  <br />  <br />- For <code>ADB Rider</code> the face amount should be between 25,000 - 250, 000  <br />  <br />- For <code>Dependent Child Rider</code> face amount should be between 5,000 to 25,000  <br />  <br />  <br />At anytime, <code>riderFaceAmount</code> should not be greater than overall coverage amount.  <br /><a href=\"https://instabrain.atlassian.net/wiki/external/Mzk3NjNhMTQzYzRjNDc1ODlkNDU2MTNkOGVlZmNjNmM\">Detailed guide</a> on elibility of riders.</td>\n</tr>\n<tr>\n<td><code>paymentFreq</code></td>\n<td>String</td>\n<td>In what payment frequency user wants to pay</td>\n<td>Annually  <br />Monthly</td>\n</tr>\n<tr>\n<td><code>firstName</code></td>\n<td>String</td>\n<td>Optional field to enter the the first name of customer</td>\n<td></td>\n</tr>\n<tr>\n<td><code>lastName</code></td>\n<td>String</td>\n<td>Optional field to enter the last name of customer</td>\n<td></td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>String</td>\n<td>Optional field to enter the email of the customer</td>\n<td></td>\n</tr>\n<tr>\n<td><code>phoneNum</code></td>\n<td>String</td>\n<td>Optional field to enter the phone number of the customer. Must be a 10-digit number. If provided, the phone number will be formatted into the standard format: <code>+1 123 456-7890</code>. Ensure that the number is in the correct format before sending to avoid any errors.</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p>When a request is invalid, the API responds with a <strong>400 Bad Request</strong> status. This <a href=\"https://instabrain.atlassian.net/wiki/external/Mzk3NjNhMTQzYzRjNDc1ODlkNDU2MTNkOGVlZmNjNmM\">document</a> outlines the possible error codes returned in such cases.</p>\n<h3 id=\"explanation-of-key-parameters-from-200-response\">Explanation of Key Parameters from 200 Response</h3>\n<ul>\n<li><p><code>quoteAmount</code> will give the premium requester has to pay for requested coverage amount.</p>\n</li>\n<li><p><code>selectedRiders.riderQuoteAmount</code>, tells us the breakdown of the premium for rider.</p>\n</li>\n<li><p>If we subtract each rider <code>riderQuoteAmount</code> from “quoteAmount”, we will get base premium without riders.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","ThirdPartyIbPureTermQuote","get"],"host":["api","instabrainstage","io"],"query":[],"variable":[]}},"response":[{"id":"8886b476-c0d1-4604-8faf-c9b406673974","name":"200 OK - Sample","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"faceAmount\": 100000,\r\n    \"benefitPeriod\": 10,\r\n    \"flagTobaccoUse\": false,\r\n    \"gender\": \"Male\",\r\n    \"stateCode\": \"AZ\",\r\n    \"zipCode\": null,\r\n    \"rateClass\": \"Rated D\",\r\n    \"healthClass\": null,\r\n    \"height\": {\r\n        \"feet\": 6,\r\n        \"inches\": 1\r\n    },\r\n    \"weightInLbs\": 180,\r\n    \"age\": 25,\r\n    \"dateOfBirth\": \"2000-01-01\",\r\n    \"riders\": [\r\n        {\r\n            \"rider\": \"ADB Rider\",\r\n            \"riderFaceAmount\": 60000\r\n        }\r\n    ],\r\n    \"paymentFreq\": \"Monthly\",\r\n    \"firstName\": \"John\",\r\n    \"lastName\": \"Doe\",\r\n    \"email\": \"john.doe@gmail.com\",\r\n    \"PhoneNum\": \"2341234567\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/ThirdPartyIbPureTermQuote/get"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Sep 2024 16:25:22 GMT"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, post-check=0, pre-check=0"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Request-Context","value":"appId=cid-v1:3b0fc24c-e7ef-4684-89b3-7ea9f684674d"},{"key":"Content-Security-Policy","value":"default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdnjs.cloudflare.com; script-src 'self' 'unsafe-inline'; font-src 'self' https://fonts.gstatic.com https://cdnjs.cloudflare.com; img-src 'self' https://instabrainwebappstorage.blob.core.windows.net; connect-src 'self' wss://localhost:50068; frame-ancestors 'self' https://*.instabrain-dev.io https://*.instabrainstage.io;"},{"key":"Permissions-Policy","value":"geolocation=();"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=g6RJZn1YnDyXqoOldvAtg71GucAVhLa3m9MxHsfVPw%2BTeyPnzZ%2B5NEcMPcRMWirItLMgP2sovEJWzgrU35Q29mqWA5rGOvGB3wT7%2FTmQWSh2ndxIsaUSGq2fzLE9dtgxhKpb3yZwixE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"expect-ct","value":"max-age=86400, enforce"},{"key":"referrer-policy","value":"same-origin"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8c8421463ddcc9a4-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": true,\n    \"value\": {\n        \"productName\": \"InstaBrain Pure Term\",\n        \"selectedQuote\": {\n            \"quoteResponseId\": \"df52deb0-4735-405e-9ff2-f196b2d16b56\",\n            \"index\": 0,\n            \"quoteAmount\": 16.88,\n            \"premiumSaveWhenSelectingAnnual\": 85.6,\n            \"maxQuoteAmount\": null,\n            \"minQuoteAmount\": null,\n            \"farmersOverallBenefit\": null,\n            \"farmersDetailsAfterEachBenefitPeriods\": [],\n            \"faceAmount\": 100000,\n            \"faceAmountLabel\": \"Coverage Amount\",\n            \"benefitPeriod\": 10,\n            \"benefitPeriodUnit\": \"Year\",\n            \"benefitPeriodLabel\": \"Term Length\",\n            \"waitingPeriod\": null,\n            \"waitingPeriodUnit\": null,\n            \"waitingPeriodLabel\": null,\n            \"paymentFrequency\": \"Monthly\",\n            \"isMedicalRequired\": false,\n            \"selectedRiders\": [\n                {\n                    \"riderValue\": \"ADB Rider\",\n                    \"riderLabel\": \"Accidental Death Benefit Rider\",\n                    \"riderQuoteAmount\": 5.22,\n                    \"faceAmount\": 60000\n                }\n            ],\n            \"hint\": {\n                \"title\": \"Coverage Amount\",\n                \"description\": \"This total coverage amount includes base policy coverage amount of $100,000 and Accidental Death Benefit Rider coverage amount of $60,000.\",\n                \"hintTable\": null\n            },\n            \"flagMultipleQuote\": false,\n            \"quoteParts\": []\n        }\n    },\n    \"error\": null\n}"},{"id":"fdb5e133-c266-483e-ab7a-8b9d8e9b18cb","name":"400 Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"faceAmount\": 100000,\r\n    \"benefitPeriod\": 10,\r\n    \"flagTobaccoUse\": false,\r\n    \"gender\": \"Male\",\r\n    \"stateCode\": \"AZ\",\r\n    \"zipCode\": null,\r\n    \"rateClass\": \"Rated D\",\r\n    \"healthClass\": null,\r\n    \"height\": {\r\n        \"feet\": 6,\r\n        \"inches\": 1\r\n    },\r\n    \"weightInLbs\": 180,\r\n    \"age\": 25,\r\n    \"dateOfBirth\": \"2000-01-01\",\r\n    \"riders\": [\r\n        {\r\n            \"rider\": \"ADB Rider\",\r\n            \"riderFaceAmount\": 60000\r\n        }\r\n    ],\r\n    \"paymentFreq\": \"Monthly\",\r\n    \"firstName\": \"John\",\r\n    \"lastName\": \"Doe\",\r\n    \"email\": \"john.doe@gmail.com\",\r\n    \"PhoneNum\": \"2341234567\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/ThirdPartyIbPureTermQuote/get"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Sep 2024 19:19:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"61"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, post-check=0, pre-check=0"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Request-Context","value":"appId=cid-v1:3b0fc24c-e7ef-4684-89b3-7ea9f684674d"},{"key":"Content-Security-Policy","value":"default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdnjs.cloudflare.com; script-src 'self' 'unsafe-inline'; font-src 'self' https://fonts.gstatic.com https://cdnjs.cloudflare.com; img-src 'self' https://instabrainwebappstorage.blob.core.windows.net; connect-src 'self' wss://localhost:50068; frame-ancestors 'self' https://*.instabrain-dev.io https://*.instabrainstage.io;"},{"key":"Permissions-Policy","value":"geolocation=();"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=yAmoxaDtTFWqVJQBHBsyzPBGhQxtUEZ1qm1JUdtHIGZi6MD%2BJqzaySeEPWfkOGhgULmozS4svxa5WktowjV%2F1B%2FV2w1zAL2punQ7G44%2FnA9j5eCjlinE2AtQf2%2FCRbVrOcsiG66Y0HE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"expect-ct","value":"max-age=86400, enforce"},{"key":"referrer-policy","value":"same-origin"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8c852027dd3d3b7e-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": false,\n    \"value\": null,\n    \"error\": \"RiderNotAvailable\"\n}"},{"id":"03eaecc9-0b80-4c67-b628-0da14f3a69e0","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"faceAmount\": 100000,\r\n    \"benefitPeriod\": 10,\r\n    \"flagTobaccoUse\": false,\r\n    \"gender\": \"Male\",\r\n    \"stateCode\": \"AZ\",\r\n    \"zipCode\": null,\r\n    \"rateClass\": \"Rated D\",\r\n    \"healthClass\": null,\r\n    \"height\": {\r\n        \"feet\": 6,\r\n        \"inches\": 1\r\n    },\r\n    \"weightInLbs\": 180,\r\n    \"age\": 25,\r\n    \"dateOfBirth\": \"2000-01-01\",\r\n    \"riders\": [\r\n        {\r\n            \"rider\": \"ADB Rider\",\r\n            \"riderFaceAmount\": 60000\r\n        }\r\n    ],\r\n    \"paymentFreq\": \"Monthly\",\r\n    \"firstName\": \"John\",\r\n    \"lastName\": \"Doe\",\r\n    \"email\": \"john.doe@gmail.com\",\r\n    \"PhoneNum\": \"2341234567\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/ThirdPartyIbPureTermQuote/get"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Sep 2024 16:14:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=K4qo4q8K7v8OQVeCkPCILwVI%2BRtjmCRSI%2BMPxiJM%2BUcccNbMHoQVY2auU2Uu8cpeqsee6kowk2HTC1xLkQRIqQYzsR%2Fb7tNBUk8D%2B8Qp59PqPwcac1xfbHnWlh5mYbnnljXxpWWz5Uc%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"expect-ct","value":"max-age=86400, enforce"},{"key":"referrer-policy","value":"same-origin"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8c84116d0fac3968-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": false,\n    \"value\": null,\n    \"error\": \"Logout\"\n}"}],"_postman_id":"b3c19dce-f6f7-4b9b-b9f1-28ec7bc06757"},{"name":"Get Final Expense Quote","id":"512c6d64-bc44-4e51-b566-5dda8ff6a8bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"accept","value":"application/json"},{"key":"Content-Type","value":"application/json-patch+json"}],"body":{"mode":"raw","raw":"{\n  \"faceAmount\": 15000,\n  \"gender\": 1,\n  \"stateCode\": \"AZ\",\n  \"zipCode\": null,\n  \"age\": 51,\n  \"dateOfBirth\": \"1974-07-14\",\n  \"paymentFreq\": \"Monthly\",\n  \"firstName\": \"John\",\n  \"lastName\": \"Doe\",\n  \"email\": \"john.doe@gmail.com\",\n  \"phoneNum\": \"2341234567\",\n  \"flagTobaccoUse\": true,\n  \"height\": {\n    \"feet\": 6,\n    \"inches\": 1\n  },\n  \"weightInLbs\": 200\n}","options":{"raw":{"language":"json"}}},"url":"https://api.instabrainstage.io/api/ThirdPartyIbFinalExpenseQuote/get","description":"<h3 id=\"detailed-guide-on-request-parameters\">Detailed Guide on Request Parameters</h3>\n<p>In below table, detailed description of each request parameter is mentioned</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Possible Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>faceAmount</code></td>\n<td>Integer</td>\n<td>Coverage amount requested for the quote.</td>\n<td>For ages 50 to 80, available range is <strong>5,000 to 40,000</strong>.</td>\n</tr>\n<tr>\n<td><code>gender</code></td>\n<td>Integer</td>\n<td>Gender of the requester.</td>\n<td>1 = Male  <br />2 = Female  <br />3 = Unknown</td>\n</tr>\n<tr>\n<td><code>stateCode</code></td>\n<td>String</td>\n<td>US State of residence.</td>\n<td>Two-character US state code (e.g., AZ).</td>\n</tr>\n<tr>\n<td><code>zipCode</code></td>\n<td>String / null</td>\n<td>ZIP code of residence. Priority over <code>stateCode</code> if provided.</td>\n<td>Any valid US ZIP code.</td>\n</tr>\n<tr>\n<td><code>age</code></td>\n<td>Integer</td>\n<td>Age of the requester.</td>\n<td>50 to 85</td>\n</tr>\n<tr>\n<td><code>dateOfBirth</code></td>\n<td>DateTime</td>\n<td>Date of birth of the requester.</td>\n<td>Must resolve to an age between 50 and 85.</td>\n</tr>\n<tr>\n<td><code>paymentFreq</code></td>\n<td>String</td>\n<td>Payment frequency chosen by requester.</td>\n<td>Annually  <br />Monthly</td>\n</tr>\n<tr>\n<td><code>firstName</code></td>\n<td>String</td>\n<td>Requester’s first name.</td>\n<td>Any string.</td>\n</tr>\n<tr>\n<td><code>lastName</code></td>\n<td>String</td>\n<td>Requester’s last name.</td>\n<td>Any string.</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>String</td>\n<td>Requester’s email address.</td>\n<td>Any valid email.</td>\n</tr>\n<tr>\n<td><code>phoneNum</code></td>\n<td>String</td>\n<td>10-digit phone number. If valid, formatted as <code>+1 xxx xxx-xxxx</code>.</td>\n<td>Must be a 10-digit number.</td>\n</tr>\n<tr>\n<td><code>flagTobaccoUse</code></td>\n<td>Boolean</td>\n<td>Indicates whether requester uses nicotine.</td>\n<td>true  <br />false</td>\n</tr>\n<tr>\n<td><code>height</code></td>\n<td>Object</td>\n<td>Contains height details. Weight is required when height is provided.</td>\n<td><code>feet</code> (Integer)  <br /><code>inches</code> (Integer: 0–11)</td>\n</tr>\n<tr>\n<td><code>weightInLbs</code></td>\n<td>Integer</td>\n<td>Weight of the requester in pounds.</td>\n<td>Any valid weight in lbs.</td>\n</tr>\n</tbody>\n</table>\n</div><p>When a request is invalid, the API responds with a <strong>400 Bad Request</strong> status. This <a href=\"https://instabrain.atlassian.net/wiki/external/Mzk3NjNhMTQzYzRjNDc1ODlkNDU2MTNkOGVlZmNjNmM\">document</a> outlines the possible error codes returned in such cases.</p>\n","urlObject":{"protocol":"https","path":["api","ThirdPartyIbFinalExpenseQuote","get"],"host":["api","instabrainstage","io"],"query":[],"variable":[]}},"response":[{"id":"59bd2f8b-1bfb-4477-9a32-dccef3985d23","name":"200 OK - Sample","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"faceAmount\": 15000,\r\n  \"gender\": 1,\r\n  \"stateCode\": \"AZ\",\r\n  \"zipCode\": null,\r\n  \"age\": 51,\r\n  \"dateOfBirth\": \"1974-07-14\",\r\n  \"paymentFreq\": \"Monthly\",\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"Doe\",\r\n  \"email\": \"john.doe@gmail.com\",\r\n  \"phoneNum\": \"2341234567\",\r\n  \"flagTobaccoUse\": true,\r\n  \"height\": {\r\n    \"feet\": 6,\r\n    \"inches\": 1\r\n  },\r\n  \"weightInLbs\": 200\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/ThirdPartyIbFinalExpenseQuote/get"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Sep 2024 16:25:22 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, post-check=0, pre-check=0"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Request-Context","value":"appId=cid-v1:3b0fc24c-e7ef-4684-89b3-7ea9f684674d"},{"key":"Content-Security-Policy","value":"default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdnjs.cloudflare.com; script-src 'self' 'unsafe-inline'; font-src 'self' https://fonts.gstatic.com https://cdnjs.cloudflare.com; img-src 'self' https://instabrainwebappstorage.blob.core.windows.net; connect-src 'self' wss://localhost:50068; frame-ancestors 'self' https://*.instabrain-dev.io https://*.instabrainstage.io;"},{"key":"Permissions-Policy","value":"geolocation=();"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=g6RJZn1YnDyXqoOldvAtg71GucAVhLa3m9MxHsfVPw%2BTeyPnzZ%2B5NEcMPcRMWirItLMgP2sovEJWzgrU35Q29mqWA5rGOvGB3wT7%2FTmQWSh2ndxIsaUSGq2fzLE9dtgxhKpb3yZwixE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"expect-ct","value":"max-age=86400, enforce"},{"key":"referrer-policy","value":"same-origin"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8c8421463ddcc9a4-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"Content-Type","value":"application/json","description":""},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": true,\n    \"value\": {\n        \"productName\": \"Rapid Decision Final Expense\",\n        \"selectedQuote\": {\n            \"quoteResponseId\": \"3105e990-216d-4f26-b823-57a42633718e\",\n            \"index\": 0,\n            \"quoteAmount\": 78.99,\n            \"premiumSaveWhenSelectingAnnual\": null,\n            \"maxQuoteAmount\": null,\n            \"minQuoteAmount\": null,\n            \"farmersOverallBenefit\": null,\n            \"farmersDetailsAfterEachBenefitPeriods\": [],\n            \"faceAmount\": 15000,\n            \"faceAmountLabel\": \"Coverage Amount\",\n            \"benefitPeriod\": null,\n            \"benefitPeriodUnit\": null,\n            \"benefitPeriodLabel\": null,\n            \"waitingPeriod\": null,\n            \"waitingPeriodUnit\": null,\n            \"waitingPeriodLabel\": null,\n            \"paymentFrequency\": \"Monthly\",\n            \"isMedicalRequired\": false,\n            \"selectedRiders\": [],\n            \"hint\": null,\n            \"flagMultipleQuote\": false,\n            \"quoteParts\": []\n        }\n    },\n    \"error\": null\n}"},{"id":"27bd40b5-9e61-403b-a6b4-862b3f899540","name":"400 Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"faceAmount\": 15000,\r\n  \"gender\": 1,\r\n  \"stateCode\": \"AZ\",\r\n  \"zipCode\": null,\r\n  \"age\": 51,\r\n  \"dateOfBirth\": \"1974-07-14\",\r\n  \"paymentFreq\": \"Monthly\",\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"Doe\",\r\n  \"email\": \"john.doe@gmail.com\",\r\n  \"phoneNum\": \"2341234567\",\r\n  \"flagTobaccoUse\": true,\r\n  \"height\": {\r\n    \"feet\": 6,\r\n    \"inches\": 1\r\n  },\r\n  \"weightInLbs\": 200\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/ThirdPartyIbFinalExpenseQuote/get"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Sep 2024 19:19:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"61"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, post-check=0, pre-check=0"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Request-Context","value":"appId=cid-v1:3b0fc24c-e7ef-4684-89b3-7ea9f684674d"},{"key":"Content-Security-Policy","value":"default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdnjs.cloudflare.com; script-src 'self' 'unsafe-inline'; font-src 'self' https://fonts.gstatic.com https://cdnjs.cloudflare.com; img-src 'self' https://instabrainwebappstorage.blob.core.windows.net; connect-src 'self' wss://localhost:50068; frame-ancestors 'self' https://*.instabrain-dev.io https://*.instabrainstage.io;"},{"key":"Permissions-Policy","value":"geolocation=();"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=yAmoxaDtTFWqVJQBHBsyzPBGhQxtUEZ1qm1JUdtHIGZi6MD%2BJqzaySeEPWfkOGhgULmozS4svxa5WktowjV%2F1B%2FV2w1zAL2punQ7G44%2FnA9j5eCjlinE2AtQf2%2FCRbVrOcsiG66Y0HE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"expect-ct","value":"max-age=86400, enforce"},{"key":"referrer-policy","value":"same-origin"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8c852027dd3d3b7e-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": false,\n    \"value\": null,\n    \"error\": \"RiderNotAvailable\"\n}"},{"id":"7673e5d9-b858-459c-9a33-1537ea6b7241","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"faceAmount\": 15000,\r\n  \"gender\": 1,\r\n  \"stateCode\": \"AZ\",\r\n  \"zipCode\": null,\r\n  \"age\": 51,\r\n  \"dateOfBirth\": \"1974-07-14\",\r\n  \"paymentFreq\": \"Monthly\",\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"Doe\",\r\n  \"email\": \"john.doe@gmail.com\",\r\n  \"phoneNum\": \"2341234567\",\r\n  \"flagTobaccoUse\": true,\r\n  \"height\": {\r\n    \"feet\": 6,\r\n    \"inches\": 1\r\n  },\r\n  \"weightInLbs\": 200\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/ThirdPartyIbFinalExpenseQuote/get"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Sep 2024 16:14:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=K4qo4q8K7v8OQVeCkPCILwVI%2BRtjmCRSI%2BMPxiJM%2BUcccNbMHoQVY2auU2Uu8cpeqsee6kowk2HTC1xLkQRIqQYzsR%2Fb7tNBUk8D%2B8Qp59PqPwcac1xfbHnWlh5mYbnnljXxpWWz5Uc%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"expect-ct","value":"max-age=86400, enforce"},{"key":"referrer-policy","value":"same-origin"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8c84116d0fac3968-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": false,\n    \"value\": null,\n    \"error\": \"Logout\"\n}"}],"_postman_id":"512c6d64-bc44-4e51-b566-5dda8ff6a8bc"}],"id":"978af003-e64e-4999-9028-efab7e030eae","description":"<p>The <strong>Get Quote API</strong> allows users to retrieve insurance quotes based on specified parameters. It is a POST request made to the below listed endpoints. Users must provide a detailed request payload, including key parameters such as coverage amount, benefit period, tobacco use status, personal details (name, age, etc.), and rider information.</p>\n<h4 id=\"key-features\">Key Features:</h4>\n<ul>\n<li><p><strong>Input Parameters</strong>: The API accepts various input fields to tailor the quote, including <code>faceAmount</code>, <code>benefitPeriod</code>, <code>gender</code>, <code>stateCode</code>, <code>zipCode</code>, and optional fields like <code>firstName</code>, <code>lastName</code>, and <code>email</code>.</p>\n</li>\n<li><p><strong>Response Format</strong>: A successful request returns a structured response containing the quote amount, premium details, and selected riders. It provides insights into the coverage offered and associated costs.</p>\n</li>\n<li><p><strong>Error Handling</strong>: If the request fails, it returns a 400 status code with an error message indicating the nature of the issue.</p>\n</li>\n</ul>\n<p>This API is essential for users seeking personalized insurance quotes, ensuring they receive tailored options based on their specific needs and preferences.</p>\n","_postman_id":"978af003-e64e-4999-9028-efab7e030eae"},{"name":"Third Party Consumer Quoter and Start Application (Obsolete)","item":[{"name":"Start Application","id":"dbe1484a-28fa-4a34-920a-d7439a8143dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Origin","value":"InstaBrainDevelopment.instabrainstage.io","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"quoteResponseId\": \"58d2c3be-87da-4891-aaf6-dd111fd359f3\",\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"Doe\",\r\n  \"email\": \"john.doe@gmail.com\",\r\n  \"phoneNumber\": \"2341234567\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.instabrainsandbox.io/api/ThirdPartyIbTermStartApp/start-application","urlObject":{"protocol":"https","path":["api","ThirdPartyIbTermStartApp","start-application"],"host":["api","instabrainsandbox","io"],"query":[],"variable":[]}},"response":[{"id":"781c0e37-669e-4392-a22f-38c5b738d83b","name":"200 Ok","originalRequest":{"method":"POST","header":[{"key":"Origin","value":"InstaBrainDevelopment.instabrainstage.io","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"quoteResponseId\": \"e7444832-02dd-4ed4-b747-b4d5e7feb2bd\",\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"Doe\",\r\n  \"email\": \"john.doe@gmail.com\",\r\n  \"PhoneNumber\": \"2341234567\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/thirdpartyibtermstartapp/start-application"},"code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": true,\n    \"value\": {\n        \"opportunityId\": \"string\",\n        \"agentLink\": \"string\",\n        \"eAppAgentLink\": \"string\",\n        \"applicantLink\": \"string\"\n    },\n    \"error\": \"string\"\n}"},{"id":"a9c02298-f6e5-4790-9b51-c86047bc5f70","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Origin","value":"InstaBrainDevelopment.instabrainstage.io","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"quoteResponseId\": \"e7444832-02dd-4ed4-b747-b4d5e7feb2bd\",\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"Doe\",\r\n  \"email\": \"john.doe@gmail.com\",\r\n  \"PhoneNumber\": \"2341234567\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/thirdpartyibtermstartapp/start-application"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": false,\n    \"value\": null,\n    \"error\": \"<errorCode>\"\n}"},{"id":"629c33a6-cc8c-47a5-bd10-e864f6c5d771","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Origin","value":"InstaBrainDevelopment.instabrainstage.io","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"quoteResponseId\": \"e7444832-02dd-4ed4-b747-b4d5e7feb2bd\",\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"Doe\",\r\n  \"email\": \"john.doe@gmail.com\",\r\n  \"PhoneNumber\": \"2341234567\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/thirdpartyibtermstartapp/start-application"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": false,\n    \"value\": null,\n    \"error\": \"Logout\"\n}"}],"_postman_id":"dbe1484a-28fa-4a34-920a-d7439a8143dd"}],"id":"b785cec1-9444-4b49-81b1-6a0a2fc3e908","description":"<h2 id=\"third-party-start-application-api\">Third Party Start Application API</h2>\n<p>The <strong>Start Application API</strong> initiates the InstaBrain application process based on a specified quote. It is a POST request sent to the endpoint <code>/api/ThirdPartyStartApp/start-application</code>. This endpoint requires the <code>quoteResponseId</code>, which uniquely identifies the quote the user wishes to proceed with.</p>\n<h4 id=\"key-features\">Key Features:</h4>\n<ul>\n<li><p><strong>Input Parameters</strong>:</p>\n<ul>\n<li><p><strong>quoteResponseId</strong> (Required): A unique identifier for the quote associated with the application.</p>\n</li>\n<li><p><strong>firstName</strong> (Optional): The first name of the applicant.</p>\n</li>\n<li><p><strong>lastName</strong> (Optional): The last name of the applicant.</p>\n</li>\n<li><p><strong>email</strong> (Optional): The email address of the applicant.</p>\n</li>\n<li><p><strong>phoneNumber</strong> (Optional): The applicant's phone number, formatted as a 10-digit number.</p>\n</li>\n</ul>\n</li>\n</ul>\n<p>Please note that firstName, lastName provided here will override the information provided in the <code>Quote</code> API.</p>\n<ul>\n<li><p><strong>Response Format</strong>:</p>\n<ul>\n<li><p><strong>200 OK</strong>: A successful request returns a <code>flagStatus</code> of true, along with links for the agent and applicant to access the application interface.</p>\n<ul>\n<li><p><strong>agentLink</strong>: URL for the application’s Conversational UI for agents.</p>\n</li>\n<li><p><strong>eAppAgentLink</strong>: URL for the EApp UI for agents.</p>\n</li>\n<li><p><strong>applicantLink</strong>: Direct link for the applicant.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>400 Bad Request</strong>: If the request fails due to invalid input, the response includes a <code>flagStatus</code> of false, along with an error code.</p>\n</li>\n<li><p><strong>401 Forbidden</strong>: Indicates the request is unauthorized.</p>\n</li>\n</ul>\n</li>\n</ul>\n<p>This API is critical for streamlining the application process, enabling agents and applicants to interact with the InstaBrain application effectively.</p>\n","_postman_id":"b785cec1-9444-4b49-81b1-6a0a2fc3e908"},{"name":"Third Party Consumer Quoter and Start Application","item":[{"name":"Start Application","id":"707fa921-434a-40e6-99ef-711c7e390465","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Origin","value":"InstaBrainDevelopment.instabrainstage.io"}],"body":{"mode":"raw","raw":"{\r\n  \"quoteResponseId\": \"58d2c3be-87da-4891-aaf6-dd111fd359f3\",\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"Doe\",\r\n  \"email\": \"john.doe@gmail.com\",\r\n  \"phoneNumber\": \"2341234567\",\r\n  \"proCode\": \"insta-term-pivot\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.instabrainsandbox.io/api/ThirdPartyStartApp/start-application","urlObject":{"protocol":"https","path":["api","ThirdPartyStartApp","start-application"],"host":["api","instabrainsandbox","io"],"query":[],"variable":[]}},"response":[{"id":"587d095a-4439-4390-9e51-9b315b552ac3","name":"200 Ok","originalRequest":{"method":"POST","header":[{"key":"Origin","value":"InstaBrainDevelopment.instabrainstage.io"}],"body":{"mode":"raw","raw":"{\r\n  \"quoteResponseId\": \"e7444832-02dd-4ed4-b747-b4d5e7feb2bd\",\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"Doe\",\r\n  \"email\": \"john.doe@gmail.com\",\r\n  \"PhoneNumber\": \"2341234567\",\r\n  \"ProCode\":\"insta-term-pivot\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/ThirdPartyStartApp/start-application"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": true,\n    \"value\": {\n        \"opportunityId\": \"string\",\n        \"agentLink\": \"string\",\n        \"eAppAgentLink\": \"string\",\n        \"applicantLink\": \"string\"\n    },\n    \"error\": \"string\"\n}"},{"id":"a338cd70-faad-4f5b-9497-f655a9139d66","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Origin","value":"InstaBrainDevelopment.instabrainstage.io"}],"body":{"mode":"raw","raw":"{\r\n  \"quoteResponseId\": \"e7444832-02dd-4ed4-b747-b4d5e7feb2bd\",\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"Doe\",\r\n  \"email\": \"john.doe@gmail.com\",\r\n  \"PhoneNumber\": \"2341234567\",\r\n  \"ProCode\": \"insta-term-pivot\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/ThirdPartyStartApp/start-application"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": false,\n    \"value\": null,\n    \"error\": \"<errorCode>\"\n}"},{"id":"029c3fe3-75d7-47a5-9005-07a729a462db","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Origin","value":"InstaBrainDevelopment.instabrainstage.io"}],"body":{"mode":"raw","raw":"{\r\n  \"quoteResponseId\": \"e7444832-02dd-4ed4-b747-b4d5e7feb2bd\",\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"Doe\",\r\n  \"email\": \"john.doe@gmail.com\",\r\n  \"PhoneNumber\": \"2341234567\",\r\n  \"ProCode\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/thirdpartyibtermstartapp/start-application"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": false,\n    \"value\": null,\n    \"error\": \"Logout\"\n}"}],"_postman_id":"707fa921-434a-40e6-99ef-711c7e390465"}],"id":"a94ca879-ef57-40af-b55b-3e21562218d2","description":"<h2 id=\"third-party-start-application-api\">Third Party Start Application API</h2>\n<p>The <strong>Start Application API</strong> initiates the InstaBrain application process based on a specified quote. It is a POST request sent to the endpoint <code>/api/ThirdPartyStartApp/start-application</code>. This endpoint requires the <code>quoteResponseId</code>, which uniquely identifies the quote the user wishes to proceed with.</p>\n<h4 id=\"key-features\">Key Features:</h4>\n<ul>\n<li><p><strong>Input Parameters</strong>:</p>\n<ul>\n<li><p><strong>quoteResponseId</strong> (Required): A unique identifier for the quote associated with the application.</p>\n</li>\n<li><p><strong>firstName</strong> (Optional): The first name of the applicant.</p>\n</li>\n<li><p><strong>lastName</strong> (Optional): The last name of the applicant.</p>\n</li>\n<li><p><strong>email</strong> (Optional): The email address of the applicant.</p>\n</li>\n<li><p><strong>phoneNumber</strong> (Optional): The applicant's phone number, formatted as a 10-digit number.</p>\n</li>\n<li><p><strong>proCode</strong> (Optional): The product code if wanting to start a pivot product (if not passed normal product will start).</p>\n</li>\n<li><p>Below is the mapping of proCode to their respective products:</p>\n<ul>\n<li><p>InstaBrain Term Pivot =&gt; insta-term-pivot</p>\n</li>\n<li><p>InstaBrain Term to Pure Term =&gt; insta-term-to-pure-term</p>\n</li>\n<li><p>Pure Term Pivot =&gt; PureTermPivot</p>\n</li>\n<li><p>Rapid Decision Final Expense Pivot =&gt; FinalExpensePivot</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p>Please note that firstName, lastName provided here will override the information provided in the <code>Quote</code> API.</p>\n<ul>\n<li><p><strong>Response Format</strong>:</p>\n<ul>\n<li><p><strong>200 OK</strong>: A successful request returns a <code>flagStatus</code> of true, along with links for the agent and applicant to access the application interface.</p>\n<ul>\n<li><p><strong>agentLink</strong>: URL for the application’s Conversational UI for agents.</p>\n</li>\n<li><p><strong>eAppAgentLink</strong>: URL for the EApp UI for agents.</p>\n</li>\n<li><p><strong>applicantLink</strong>: Direct link for the applicant.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>400 Bad Request</strong>: If the request fails due to invalid input, the response includes a <code>flagStatus</code> of false, along with an error code.</p>\n</li>\n<li><p><strong>401 Forbidden</strong>: Indicates the request is unauthorized.</p>\n</li>\n</ul>\n</li>\n</ul>\n<p>This API is critical for streamlining the application process, enabling agents and applicants to interact with the InstaBrain application effectively.</p>\n","_postman_id":"a94ca879-ef57-40af-b55b-3e21562218d2"},{"name":"Reporting APIs","item":[{"name":"Get Prospects","id":"eceffb2e-7da0-4d2d-b616-2c5176557cd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"startDate\": \"2024-08-07T18:55:39.749Z\",\r\n  \"endDate\": \"2024-08-07T18:55:39.749Z\",\r\n  \"userTimeZone\": \"America/New_York\",\r\n  \"dayCount\": 0,\r\n  \"pageSize\": 0,\r\n  \"pageIndex\": 0,\r\n  \"sort\": {\r\n    \"value\": \"string\",\r\n    \"sortDescending\": true\r\n  },\r\n  \"filters\": [\r\n    {\r\n      \"value\": \"string\",\r\n      \"operator\": \"like\",\r\n      \"field\": \"string\"\r\n    }\r\n  ],\r\n  \"searchParam\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.instabrainsandbox.io/api/thirdparty/get-prospects","description":"<p>The <code>get-prospects</code> endpoint allows third parties to retrieve a list of insurance prospects within a specified date range. The response includes detailed information about each prospect's quote details.</p>\n<blockquote>\n<p><em>Prospects are the quotes generated through the</em> <code>POST api/ThirdPartyIbTermQuote/get</code> <a href=\"https://instabrain.atlassian.net/wiki/external/MmQ0MjY1MGI5OGRjNDZlMzliYTA1OTdiNzI3NDNkZDM\">🔗</a> <em>endpoint but have not yet been converted to InstaBrain applications using the</em> <code>POST api/ThirdPartyIbTermStartApp/start-application</code> <a href=\"https://instabrain.atlassian.net/wiki/external/MWJjN2ZlZDNmMTkwNDYzOThlYmE1MGQ4Mjg0NTRkYWE\">🔗</a> <em>endpoint</em>. </p>\n</blockquote>\n<p>In below table, detailed description of each request parameter is mentioned</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>startDate</code></td>\n<td>string</td>\n<td>The start date of the date range in ISO 8601 format (e.g., \"2024-07-01T19:40:56.780Z\").</td>\n</tr>\n<tr>\n<td><code>endDate</code></td>\n<td>string</td>\n<td>The end date of the date range in ISO 8601 format (e.g., \"2024-07-07T19:40:56.780Z\").</td>\n</tr>\n<tr>\n<td><code>dayCount</code></td>\n<td>integer</td>\n<td>The number of days prior to the current date for which data is requested.</td>\n</tr>\n<tr>\n<td><code>userTimeZone</code></td>\n<td>A valid IANA time zone identifier.  <br />  <br />Examples of Valid Values:  <br />America/New_York  <br />Europe/London  <br />Asia/Kolkata  <br />Australia/Sydney</td>\n<td>Specifies the time zone for which the data is requested. This property allows the API to adjust date and time values according to the specified time zone.  <br /><a href=\"https://instabrain.atlassian.net/wiki/external/MWYzZDhiNTMzNWZiNDk3OWI4ZTY3YTcwZTRjNjRhNTI\">IANA Timezone Detailed Guide</a></td>\n</tr>\n<tr>\n<td><code>pageSize</code></td>\n<td>integer</td>\n<td>The number of prospects to return per page.</td>\n</tr>\n<tr>\n<td><code>pageIndex</code></td>\n<td>integer</td>\n<td>The page index to retrieve.</td>\n</tr>\n<tr>\n<td><code>sort</code></td>\n<td>object</td>\n<td><strong>Sorting details:</strong> Specify `value` (column name) and `sortDescending` (boolean).  <br />- <code>value</code>: The name of the column to sort by.  <br />- <code>sortDescending</code>: Set to `true` for descending order, `false` for ascending order.</td>\n</tr>\n<tr>\n<td><code>filters</code></td>\n<td>array</td>\n<td>Filtering criteria: array of filter objects with <code>value</code>, <code>operator</code>, and <code>field</code>.  <br />  <br />For detailed guide <a href=\"https://instabrain.atlassian.net/wiki/external/MjJiZjRmMTIxMTY4NGFiYmJlNWM3ZmJkM2JhYWRjZjY\">filter implementation guide</a></td>\n</tr>\n<tr>\n<td><code>searchParam</code></td>\n<td>string</td>\n<td>Search value to refine results.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>If <code>startDate</code> and <code>endDate</code> are not provided, the <code>dayCount</code> parameter must be provided. The InstaBrain system will calculate the date range based on the dayCount value. </p>\n</blockquote>\n<blockquote>\n<p>Do not pass <code>pageSize</code> and <code>pageIndex</code> as null or 0. The API will return an error code. </p>\n</blockquote>\n<p><em>Filtering, sorting and searching is enabled on all properties from response data model except</em> <code>riders</code>. A <em>Detailed guide to consume this feature available</em> <a href=\"https://instabrain.atlassian.net/wiki/external/ZWU3ODZhZThiYjJkNGY5OGFmZDVhNDVkYWFkNDI0ZjQ\"><i>here </i>🔗</a></p>\n<h4 id=\"explanation-of-key-parameters-from-200-ok-response\">Explanation of Key Parameters from 200 Ok Response</h4>\n<ul>\n<li><p><code>flagStatus</code>: Indicates the success of the API call (<code>true</code> for success, <code>false</code> for failure).</p>\n</li>\n<li><p><code>prospectCount</code>: The number of prospects returned.</p>\n</li>\n<li><p><code>prospects</code>: An array of prospect objects, each containing</p>\n<ul>\n<li><p><code>product</code>: The title of the insurance product.</p>\n</li>\n<li><p><code>quoteId</code>: Unique identifier for the quote.</p>\n</li>\n<li><p><code>quoteResponseId</code>: Unique identifier for the quote response.</p>\n</li>\n<li><p><code>quoteAmount</code>: The quoted premium amount.</p>\n</li>\n<li><p><code>faceAmount</code>: The face amount of the insurance policy.</p>\n</li>\n<li><p><code>termLength</code>: The length of the term in years.</p>\n</li>\n<li><p><code>riders</code>: An array of riders added to the policy, each containing:</p>\n<ul>\n<li><p><code>riderValue</code>: The rider's code.</p>\n</li>\n<li><p><code>riderLabel</code>: The rider's label to display.</p>\n</li>\n<li><p><code>riderQuoteAmount</code>: The additional premium for the rider.</p>\n</li>\n<li><p><code>faceAmount</code>: The face amount associated with the rider.</p>\n</li>\n</ul>\n</li>\n<li><p><code>createdBy</code>: ID of the agent who created the quote.</p>\n</li>\n<li><p><code>createdOn</code>: The date and time the quote was created.</p>\n</li>\n<li><p><code>flagTobaccoUse</code>: Whether the prospect uses products with tobacco.</p>\n</li>\n<li><p><code>gender</code>: The gender of the prospect.</p>\n</li>\n<li><p><code>stateCode</code>: The state where the prospect resides.</p>\n</li>\n<li><p><code>zipCode</code> : The zip code of prospect</p>\n</li>\n<li><p><code>rateClass</code>: The rate class of the prospect.</p>\n</li>\n<li><p><code>heightFt</code>: The height of the prospect (in feet).</p>\n</li>\n<li><p><code>heightInch</code>: The height of the prospect (in inches).</p>\n</li>\n<li><p><code>weightInLbs</code>: The weight of the prospect in pounds.</p>\n</li>\n<li><p><code>age</code>: The age of the prospect.</p>\n</li>\n<li><p><code>dateOfBirth</code>: The date of birth of the prospect.</p>\n</li>\n<li><p><code>paymentFrequency</code>: The frequency of payments.</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","thirdparty","get-prospects"],"host":["api","instabrainsandbox","io"],"query":[],"variable":[]}},"response":[{"id":"3127b932-a48e-4122-a016-41d23987bdd2","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"startDate\": \"2024-08-07T18:55:39.749Z\",\r\n  \"endDate\": \"2024-08-07T18:55:39.749Z\",\r\n  \"dayCount\": 0,\r\n  \"pageSize\": 0,\r\n  \"pageIndex\": 0,\r\n  \"sort\": {\r\n    \"value\": \"string\",\r\n    \"sortDescending\": true\r\n  },\r\n  \"filters\": [\r\n    {\r\n      \"value\": \"string\",\r\n      \"operator\": \"like\",\r\n      \"field\": \"string\"\r\n    }\r\n  ],\r\n  \"searchParam\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.instabrainsandbox.io/api/thirdparty/get-prospects"},"code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": true,\n    \"value\": {\n        \"prospectCount\": 1,\n        \"prospects\": [\n            {\n                \"product\": \"InstaBrain Term With Living Benefits\",\n                \"quoteId\": \"4c385529-23d7-42cb-9f95-1e3f2d0578be\",\n                \"quoteResponseId\": \"ea6f1049-a99a-4c3f-9788-44c3307d796d\",\n                \"quoteAmount\": 16.88,\n                \"faceAmount\": 100000,\n                \"termLength\": 10,\n                \"riders\": [\n                    {\n                        \"riderValue\": \"ADB Rider\",\n                        \"riderLabel\": \"Accidental Death Benefit Rider\",\n                        \"riderQuoteAmount\": 5.22,\n                        \"faceAmount\": 60000\n                    }\n                ],\n                \"createdBy\": 2948,\n                \"createdOn\": \"2024-07-01T07:24:06.817\",\n                \"flagTobaccoUse\": \"False\",\n                \"gender\": \"Male\",\n                \"stateCode\": \"AZ\",\n                \"zipCode\": null,\n                \"rateClass\": \"Preferred Plus\",\n                \"heightFt\": \"6\",\n                \"heightInch\": \"1\",\n                \"weightInLbs\": \"180\",\n                \"age\": \"25\",\n                \"dateOfBirth\": \"2000-01-01T00:00:00\",\n                \"paymentFrequency\": \"Monthly\"\n            }\n        ]\n    },\n    \"error\": null\n}"},{"id":"39f8b07a-9e0a-4c41-afcd-0c81e7550f6a","name":"400 Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"startDate\": \"2024-08-07T18:55:39.749Z\",\r\n  \"endDate\": \"2024-08-07T18:55:39.749Z\",\r\n  \"dayCount\": 0,\r\n  \"pageSize\": 0,\r\n  \"pageIndex\": 0,\r\n  \"sort\": {\r\n    \"value\": \"string\",\r\n    \"sortDescending\": true\r\n  },\r\n  \"filters\": [\r\n    {\r\n      \"value\": \"string\",\r\n      \"operator\": 0,\r\n      \"field\": \"string\"\r\n    }\r\n  ],\r\n  \"searchParam\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/thirdparty/get-prospects"},"code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": false,\n    \"value\": null,\n    \"error\": \"<errorCode>\"\n}"},{"id":"a5a7d1f9-9564-4b9c-b5d2-a4545fd2d2b7","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"startDate\": \"2024-08-07T18:55:39.749Z\",\r\n  \"endDate\": \"2024-08-07T18:55:39.749Z\",\r\n  \"dayCount\": 0,\r\n  \"pageSize\": 0,\r\n  \"pageIndex\": 0,\r\n  \"sort\": {\r\n    \"value\": \"string\",\r\n    \"sortDescending\": true\r\n  },\r\n  \"filters\": [\r\n    {\r\n      \"value\": \"string\",\r\n      \"operator\": 0,\r\n      \"field\": \"string\"\r\n    }\r\n  ],\r\n  \"searchParam\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/thirdparty/get-prospects"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"flagStatus\": false,\n    \"value\": null,\n    \"error\": \"Logout\"\n}"}],"_postman_id":"eceffb2e-7da0-4d2d-b616-2c5176557cd7"},{"name":"Get Application","id":"87c716df-2826-449b-b6e0-c4f019880b79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"startDate\": \"2025-10-01T17:23:52.798Z\",\r\n  \"endDate\": \"2025-10-01T17:23:52.798Z\",\r\n  \"userTimeZone\": \"America/New_York\",\r\n  \"dayCount\": 0,\r\n  \"pageSize\": 0,\r\n  \"pageIndex\": 0,\r\n  \"sort\": {\r\n    \"value\": \"string\",\r\n    \"sortDescending\": true\r\n  },\r\n  \"filters\": [\r\n    {\r\n      \"value\": \"string\",\r\n      \"operator\": \"like\",\r\n      \"field\": \"string\"\r\n    }\r\n  ],\r\n  \"searchParam\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.instabrainsandbox.io/api/thirdparty/get-application","description":"<p>The <code>get-application</code> endpoint allows users to retrieve a list of insurance application within a specified date range. The response includes detailed information about application quote and personal information of the applicant.</p>\n<p>In below table, detailed description of each request parameter is mentioned</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>startDate</code></td>\n<td>string</td>\n<td>The start date of the date range in ISO 8601 format (e.g., \"2024-07-01T19:40:56.780Z\").</td>\n</tr>\n<tr>\n<td><code>endDate</code></td>\n<td>string</td>\n<td>The end date of the date range in ISO 8601 format (e.g., \"2024-07-07T19:40:56.780Z\").</td>\n</tr>\n<tr>\n<td><code>dayCount</code></td>\n<td>integer</td>\n<td>The number of days prior to the current date for which data is requested.</td>\n</tr>\n<tr>\n<td><code>userTimeZone</code></td>\n<td>A valid IANA time zone identifier.  <br />  <br />Examples of Valid Values:  <br />America/New_York  <br />Europe/London  <br />Asia/Kolkata  <br />Australia/Sydney</td>\n<td>Specifies the time zone for which the data is requested. This property allows the API to adjust date and time values according to the specified time zone.  <br /><a href=\"https://instabrain.atlassian.net/wiki/external/MWYzZDhiNTMzNWZiNDk3OWI4ZTY3YTcwZTRjNjRhNTI\">IANA Timezone Detailed Guide</a></td>\n</tr>\n<tr>\n<td><code>pageSize</code></td>\n<td>integer</td>\n<td>The number of prospects to return per page.</td>\n</tr>\n<tr>\n<td><code>pageIndex</code></td>\n<td>integer</td>\n<td>The page index to retrieve.</td>\n</tr>\n<tr>\n<td><code>sort</code></td>\n<td>object</td>\n<td><strong>Sorting details:</strong> Specify `value` (column name) and `sortDescending` (boolean).  <br />- <code>value</code>: The name of the column to sort by.  <br />- <code>sortDescending</code>: Set to `true` for descending order, `false` for ascending order.</td>\n</tr>\n<tr>\n<td><code>filters</code></td>\n<td>array</td>\n<td>Filtering criteria: array of filter objects with <code>value</code>, <code>operator</code>, and <code>field</code>.  <br />  <br />For detailed guide <a href=\"https://instabrain.atlassian.net/wiki/external/MjJiZjRmMTIxMTY4NGFiYmJlNWM3ZmJkM2JhYWRjZjY\">filter implementation guide</a></td>\n</tr>\n<tr>\n<td><code>searchParam</code></td>\n<td>string</td>\n<td>Search value to refine results.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>If <code>startDate</code> and <code>endDate</code> are not provided, the <code>dayCount</code> parameter must be provided. The InstaBrain system will calculate the date range based on the <code>dayCount</code> value. </p>\n</blockquote>\n<blockquote>\n<p>Do not pass <code>pageSize</code> and <code>pageIndex</code> as null or 0. The API will return an error code. </p>\n</blockquote>\n<p><em>Filtering, sorting and searching is enabled on all properties from response data model except</em> <code>riders</code>. A <em>Detailed guide to consume this feature available</em> <a href=\"https://instabrain.atlassian.net/wiki/external/ZWU3ODZhZThiYjJkNGY5OGFmZDVhNDVkYWFkNDI0ZjQ\"><i>here </i>🔗</a></p>\n<h4 id=\"explanation-of-key-parameters-from-200-ok-response\">Explanation of Key Parameters from 200 Ok Response</h4>\n<ul>\n<li><p><code>flagStatus</code>: Indicates the success of the API call (<code>true</code> for success, <code>false</code> for failure).</p>\n</li>\n<li><p><code>applicationCount</code>: The number of applications returned.</p>\n</li>\n<li><p><code>applicationResp</code>: An array of <code>application data.</code></p>\n</li>\n<li><p><code>applicationStatusId</code>: Identifier of application status</p>\n</li>\n<li><p><code>applicationStatus</code>: An application counts as per different application statuses in format {Status} {RateClass}: {Assessment Factor}. Ex. <em>InProgress Preferred: Drug Use</em>.</p>\n</li>\n<li><p><code>PivotSourceOpportunityUid</code>: It represents the OpportunityUid for the first application where the Pivot flow had started (This will be null for products who aren't pivoted)<br />  Eg: If the Pivot flow is Term =&gt; Pure Term =&gt; Accidental Death Benefit then the entry for Accidental Death Benefit will have Term application's opportunityUid as the PivotSourceOpportunityUid</p>\n</li>\n</ul>\n<p>For detailed guide on applicationStatusId and applicationStatus, refer to this <a href=\"https://instabrain.atlassian.net/wiki/external/NDU3NTEwYzZhNjZjNDQ5OWE1Mjk5NjJhYzU2ZjZiOTA\">guide.</a></p>\n<ul>\n<li><p><code>availableFilters</code>: An array of available filters, each containing:</p>\n<ul>\n<li><p><code>value</code>: The filter values available to display. If null, it means you can filter using any value.</p>\n</li>\n<li><p><code>operator</code>: The recommended filter operator.</p>\n</li>\n<li><p><code>field</code>: The filter field.</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","thirdparty","get-application"],"host":["api","instabrainsandbox","io"],"query":[],"variable":[]}},"response":[{"id":"d832d53a-d4d0-4b97-8f56-4bb24db0bb09","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"startDate\": \"2025-10-01T17:23:52.798Z\",\r\n  \"endDate\": \"2025-10-01T17:23:52.798Z\",\r\n  \"userTimeZone\": \"string\",\r\n  \"dayCount\": 0,\r\n  \"pageSize\": 0,\r\n  \"pageIndex\": 0,\r\n  \"sort\": {\r\n    \"value\": \"string\",\r\n    \"sortDescending\": true\r\n  },\r\n  \"filters\": [\r\n    {\r\n      \"value\": \"string\",\r\n      \"operator\": \"like\",\r\n      \"field\": \"string\"\r\n    }\r\n  ],\r\n  \"searchParam\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.instabrainsandbox.io/api/thirdparty/get-application"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"flagStatus\": true,\n    \"value\": {\n        \"applicationCount\": 1,\n        \"applicationResp\": [\n            {\n                \"opportunityUid\": \"2979454a-54eb-4679-8c45-0bce511ed360\",\n                \"conversationId\": \"ea9717f2-235f-43f0-a9f4-b38b97136128\",\n                \"lastEvent\": \"Carrier Privacy Page\",\n                \"eventDateTime\": \"2025-10-01T17:17:07.743\",\n                \"nextExpectedEvent\": \"Application\",\n                \"responseUid\": \"e2c43ae3-23a6-4718-8de3-5f7fd9188098\",\n                \"createdOn\": \"2025-10-01T17:16:11.33\",\n                \"applicationStatusId\": \"397ce9ea-26ea-47dc-b3a3-bc5d145b3d49\",\n                \"applicationStatus\": \"InProgress Preferred: Drug Use\",\n                \"proTitle\": \"InstaBrain Term With Living Benefits\",\n                \"proCode\": \"insta-term\",\n                \"benefitAmountLabel\": \"Coverage Amount\",\n                \"benefitPeriodLabel\": \"Term Length\",\n                \"waitingPeriodLabel\": null,\n                \"benefitAmountFrequency\": \"Monthly\",\n                \"benefitPeriodUnit\": \"Year\",\n                \"waitingPeriodUnit\": null,\n                \"proCatTitle\": \"InstaBrain Term\",\n                \"paymentCreatedOn\": null,\n                \"paymentAmount\": null,\n                \"flagPaymentFailed\": null,\n                \"firstName\": \"John\",\n                \"lastName\": \"Doe\",\n                \"middleName\": null,\n                \"age\": 25,\n                \"gender\": \"Male\",\n                \"dateOfBirth\": \"2000-01-01T00:00:00\",\n                \"email\": \"john.doe@gmail.com\",\n                \"leadStateAbbr\": \"AZ\",\n                \"leadZipCode\": null,\n                \"flagTobaccoUse\": null,\n                \"hasTobaccoUsed\": \"Unknown\",\n                \"monthlyIncome\": null,\n                \"phoneNo\": \"2341234567\",\n                \"addressLine1\": null,\n                \"addressLine2\": null,\n                \"city\": null,\n                \"countryId\": null,\n                \"addressState\": null,\n                \"addressZipCode\": null,\n                \"respUid\": null,\n                \"quoteAmount\": 19.92,\n                \"faceAmount\": 100000,\n                \"termLength\": 10,\n                \"waitingPeriod\": null,\n                \"paymentOptions\": \"Monthly\",\n                \"flagMultipleQuote\": false,\n                \"quoteParts\": [],\n                \"quotePartsBifurcation\": null,\n                \"flagKickItOfflineRequest\": false,\n                \"flagKickItLinkOpened\": false,\n                \"riders\": [\n                    {\n                        \"riderValue\": \"ADB Rider\",\n                        \"riderLabel\": \"Accidental Death Benefit Rider\",\n                        \"riderQuoteAmount\": 5.22,\n                        \"faceAmount\": 60000\n                    }\n                ],\n                \"applicationCompletionPercentage\": 47,\n                \"expiringIn\": \"19 days\",\n                \"threePsTimeInMinutes\": null,\n                \"declineReasonFromRas\": null,\n                \"assessmentFactors\": null,\n                \"userId\": 1,\n                \"agentHierarchy\": [\n                    {\n                        \"userId\": 1,\n                        \"userFirstName\": \"Test\",\n                        \"userLastName\": \"Test\",\n                        \"businessName\": \"Test\",\n                        \"userTypeId\": 3,\n                        \"level\": \"Self\"\n                    }\n                ],\n                \"pivotedFrom\": \"InstaBrain Term With Living Benefits\",\n                \"pivotReason\": \"ApplicationDeclineOrNotEligible\",\n                \"pivotSourceOpportunityUid\": \"e33ad5f7-d4a2-4302-a7c4-389a0154300b\"\n            }\n        ],\n        \"applicationStatus\": {\n            \"inProcess\": 1,\n            \"notEligible\": 0,\n            \"pendingFinalization\": 0,\n            \"approved\": 0,\n            \"unableToOffer\": 0,\n            \"others\": 0\n        },\n        \"applicationFilters\": {\n            \"lastEvent\": [\n                \"Started\",\n                \"InitialQuoteQuestions\",\n                \"InitialQuote\",\n                \"BasicInfo\",\n                \"Prequalification\",\n                \"InterQuote\",\n                \"GenerateCase\",\n                \"ApplicationQuestions\",\n                \"Hipaa\",\n                \"ApplicationQuestionsAfterHipaa\",\n                \"FinalQuote\",\n                \"SignDocuments\",\n                \"Payment\",\n                \"FinalSubmit\",\n                \"End\"\n            ],\n            \"leadHealthClassLabel\": [\n                \"Preferred Plus\",\n                \"Preferred\",\n                \"Standard\",\n                \"Standard Extra\"\n            ],\n            \"paymentOptions\": [\n                \"Annually\",\n                \"SemiAnnually\",\n                \"Quarterly\",\n                \"Monthly\"\n            ]\n        },\n        \"availableFilters\": [\n            {\n                \"value\": null,\n                \"operator\": \"like\",\n                \"field\": \"agencyName\"\n            },\n            {\n                \"value\": null,\n                \"operator\": \"like\",\n                \"field\": \"agentName\"\n            },\n            {\n                \"value\": \"InstaBrain Accidental Death, InstaBrain Term With Living Benefits, InstaBrain Guaranteed Issue\",\n                \"operator\": \"IN\",\n                \"field\": \"proTitle\"\n            },\n            {\n                \"value\": null,\n                \"operator\": \"between\",\n                \"field\": \"eventDateTime\"\n            }\n        ]\n    },\n    \"error\": null\n}"},{"id":"44a1be37-f8fb-495b-b8c7-3727a6532eb2","name":"400 Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"startDate\": \"2024-08-07T17:08:20.780Z\",\r\n  \"endDate\": \"2024-08-07T17:08:20.780Z\",\r\n  \"dayCount\": 0,\r\n  \"pageSize\": 10,\r\n  \"pageIndex\": 1,\r\n  \"sort\": {\r\n    \"value\": \"string\",\r\n    \"sortDescending\": true\r\n  },\r\n  \"filters\": [\r\n    {\r\n      \"value\": \"string\",\r\n      \"operator\": 0,\r\n      \"field\": \"string\"\r\n    }\r\n  ],\r\n  \"searchParam\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/thirdparty/get-application"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"flagStatus\": false,\n    \"value\": null,\n    \"error\": \"<errorCode>\"\n}"},{"id":"bc83d692-2e6f-4907-8b5e-f9ce4262bac9","name":"401 Unauhorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"startDate\": \"2024-08-07T17:08:20.780Z\",\r\n  \"endDate\": \"2024-08-07T17:08:20.780Z\",\r\n  \"dayCount\": 0,\r\n  \"pageSize\": 10,\r\n  \"pageIndex\": 1,\r\n  \"sort\": {\r\n    \"value\": \"string\",\r\n    \"sortDescending\": true\r\n  },\r\n  \"filters\": [\r\n    {\r\n      \"value\": \"string\",\r\n      \"operator\": 0,\r\n      \"field\": \"string\"\r\n    }\r\n  ],\r\n  \"searchParam\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/thirdparty/get-application"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"flagStatus\": false,\n    \"value\": null,\n    \"error\": \"Logout\"\n}"}],"_postman_id":"87c716df-2826-449b-b6e0-c4f019880b79"},{"name":"Get Sales","id":"08d6e51d-3fcb-422c-b2ab-2ec1e3f1c27c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"startDate\": \"2024-08-07T17:08:20.780Z\",\r\n  \"endDate\": \"2024-08-07T17:08:20.780Z\",\r\n  \"dayCount\": 0,\r\n  \"userTimeZone\": \"America/New_York\",\r\n  \"pageSize\": 10,\r\n  \"pageIndex\": 1,\r\n  \"sort\": {\r\n    \"value\": \"string\",\r\n    \"sortDescending\": true\r\n  },\r\n  \"filters\": [\r\n    {\r\n      \"value\": \"string\",\r\n      \"operator\": 0,\r\n      \"field\": \"string\"\r\n    }\r\n  ],\r\n  \"searchParam\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.instabrainsandbox.io/api/thirdparty/get-sales","urlObject":{"protocol":"https","path":["api","thirdparty","get-sales"],"host":["api","instabrainsandbox","io"],"query":[],"variable":[]}},"response":[{"id":"4f0c90e7-ddd3-4925-b055-6677f2d96dbd","name":"200 Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"startDate\": \"2024-08-07T17:08:20.780Z\",\r\n  \"endDate\": \"2024-08-07T17:08:20.780Z\",\r\n  \"dayCount\": 0,\r\n  \"pageSize\": 10,\r\n  \"pageIndex\": 1,\r\n  \"sort\": {\r\n    \"value\": \"string\",\r\n    \"sortDescending\": true\r\n  },\r\n  \"filters\": [\r\n    {\r\n      \"value\": \"string\",\r\n      \"operator\": \"like\",\r\n      \"field\": \"string\"\r\n    }\r\n  ],\r\n  \"searchParam\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/thirdparty/get-sales"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n  \"flagStatus\": true,\r\n  \"value\": {\r\n    \"applicationCount\": 1,\r\n    \"salesReport\": [\r\n      {\r\n        \"applicationId\": \"d1b2ab99-80eb-4154-ab05-9a9702cae857\",\r\n        \"createdOn\": \"2024-06-27T05:55:33.007\",\r\n        \"policyNumber\": \"0904003014\",\r\n        \"proTitle\": \"InstaBrain Term With Living Benefits\",\r\n        \"benefitAmountLabel\": \"Coverage Amount\",\r\n        \"benefitPeriodLabel\": \"Term Length\",\r\n        \"benefitPeriodUnit\": \"Year\",\r\n        \"proCatTitle\": \"InstaBrain Term\",\r\n        \"paymentCreatedOn\": \"2024-06-27T06:10:10.527\",\r\n        \"paymentAmount\": 685,\r\n        \"firstName\": \"Jane\",\r\n        \"lastName\": \"Austin\",\r\n        \"middleName\": null,\r\n        \"age\": 27,\r\n        \"gender\": \"Female\",\r\n        \"dateOfBirth\": null,\r\n        \"email\": \"Jane@instabrain.io\",\r\n        \"leadStateAbbr\": \"AZ\",\r\n        \"leadZipCode\": null,\r\n        \"leadHealthClass\": 256,\r\n        \"leadHealthClassLabel\": \"Preferred Plus\",\r\n        \"phoneNo\": \"2025961737\",\r\n        \"addressLine1\": null,\r\n        \"addressLine2\": null,\r\n        \"city\": null,\r\n        \"countryId\": null,\r\n        \"addressState\": null,\r\n        \"addressZipCode\": null,\r\n        \"quoteAmount\": 685,\r\n        \"faceAmount\": 1000000,\r\n        \"termLength\": 30,\r\n        \"paymentOptionsLabel\": \"Annually\",\r\n        \"targetPremium\": 685,\r\n        \"riders\": [\r\n          {\r\n            \"riderValue\": \"Dependent Child Rider\",\r\n            \"riderLabel\": \"Dependent Child Rider\",\r\n            \"riderQuoteAmount\": 200,\r\n            \"faceAmount\": 25000\r\n          },\r\n          {\r\n            \"riderValue\": \"ADB Rider\",\r\n            \"riderLabel\": \"Accidental Death Benefit Rider\",\r\n            \"riderQuoteAmount\": 50,\r\n            \"faceAmount\": 50000\r\n          }\r\n        ],\r\n        \"userFirstName\": \"David\",\r\n        \"userLastName\": \"Racich\",\r\n        \"parentFirstName\": null,\r\n        \"parentLastName\": null,\r\n        \"agencyName\": \"Brokers Alliance\",\r\n        \"parentAgencyName\": null,\r\n        \"userId\": 2,\r\n        \"userTypeId\": 2,\r\n        \"threePsTimeInMinutes\": 1,\r\n        \"pivotedFrom\": \"InstaBrain Term With Living Benefits\",\r\n        \"paymentEffectiveDate\": \"2024-09-27T06:10:10.527\",\r\n        \"pivotReason\": \"ApplicationDeclineOrNotEligible\",\r\n        \"pivotSourceOpportunityUid\": \"e33ad5f7-d4a2-4302-a7c4-389a0154300b\"\r\n      }\r\n    ],\r\n    \"totalPremiumAmount\": 685.0,\r\n    \"availableFilters\": [\r\n      {\r\n        \"value\": null,\r\n        \"operator\": 6,\r\n        \"field\": \"agencyName\"\r\n      },\r\n      {\r\n        \"value\": null,\r\n        \"operator\": 6,\r\n        \"field\": \"agentName\"\r\n      },\r\n      {\r\n        \"value\": \"InstaBrain Accidental Death, InstaBrain Term With Living Benefits, InstaBrain Guaranteed Issue\",\r\n        \"operator\": 7,\r\n        \"field\": \"proTitle\"\r\n      }\r\n    ]\r\n  },\r\n  \"error\": null\r\n}"},{"id":"1761797a-1482-4266-8e54-df04d2a36f4c","name":"400 Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"startDate\": \"2024-08-07T17:08:20.780Z\",\r\n  \"endDate\": \"2024-08-07T17:08:20.780Z\",\r\n  \"dayCount\": 0,\r\n  \"pageSize\": 10,\r\n  \"pageIndex\": 1,\r\n  \"sort\": {\r\n    \"value\": \"string\",\r\n    \"sortDescending\": true\r\n  },\r\n  \"filters\": [\r\n    {\r\n      \"value\": \"string\",\r\n      \"operator\": 0,\r\n      \"field\": \"string\"\r\n    }\r\n  ],\r\n  \"searchParam\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/thirdparty/get-sales"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"flagStatus\": false,\r\n    \"value\": null,\r\n    \"error\": \"<errorCode>\"\r\n}"},{"id":"79d1c328-1ec3-455a-b7ed-953eb3a96dea","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"startDate\": \"2024-08-07T17:08:20.780Z\",\r\n  \"endDate\": \"2024-08-07T17:08:20.780Z\",\r\n  \"dayCount\": 0,\r\n  \"pageSize\": 10,\r\n  \"pageIndex\": 1,\r\n  \"sort\": {\r\n    \"value\": \"string\",\r\n    \"sortDescending\": true\r\n  },\r\n  \"filters\": [\r\n    {\r\n      \"value\": \"string\",\r\n      \"operator\": 0,\r\n      \"field\": \"string\"\r\n    }\r\n  ],\r\n  \"searchParam\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StageUrl}}/thirdparty/get-sales"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"flagStatus\": false,\r\n    \"value\": null,\r\n    \"error\": \"Logout\"\r\n}"}],"_postman_id":"08d6e51d-3fcb-422c-b2ab-2ec1e3f1c27c"}],"id":"de2f1f8b-0ce7-48ba-83e4-a04b0b2c601f","description":"<p>The <strong>Reporting APIs</strong> are designed to provide comprehensive access to various reporting functionalities related to insurance quotes and applications. This collection currently includes three key endpoints: <strong>get-application</strong>, <strong>get-prospects</strong>, and <strong>get-sales</strong>. These APIs enable users to retrieve and analyze data pertaining to insurance prospects, applications, and sales metrics, facilitating better decision-making and operational efficiency.</p>\n<ul>\n<li><p><strong>get-application</strong>: This endpoint retrieves detailed information about applications initiated through the system, allowing users to track their status and progress.</p>\n</li>\n<li><p><strong>get-prospects</strong>: This endpoint allows third parties to retrieve a list of insurance prospects within a specified date range. It provides detailed information about each prospect's quote details, including relevant demographics and coverage options.</p>\n</li>\n<li><p><strong>get-sales</strong>: This endpoint provides insights into sales performance, enabling users to analyze sales data over specific periods, identify trends, and optimize their sales strategies.</p>\n</li>\n</ul>\n<p>By leveraging these APIs, businesses can gain insights into their performance metrics, monitor customer interactions, and optimize their sales processes.</p>\n<h4 id=\"best-practices-for-using-reporting-apis\">Best Practices for Using Reporting APIs</h4>\n<ol>\n<li><p><strong>Authentication</strong>: Ensure you use the correct credentials and permissions for accessing the APIs. Tokens should be included in the authorization header of each request.</p>\n</li>\n<li><p><strong>Request Validation</strong>: Always validate your request parameters before sending them to the API to avoid unnecessary errors. Use correct data types and formats as specified in the API documentation.</p>\n</li>\n<li><p><strong>Date Formats</strong>: Utilize ISO 8601 format for date parameters to ensure consistency and avoid parsing errors.</p>\n</li>\n<li><p><strong>Pagination</strong>: Implement pagination when retrieving large datasets to manage responses effectively. Use parameters like <code>pageSize</code> and <code>pageIndex</code> to control the amount of data returned in each call.</p>\n</li>\n<li><p><strong>Error Handling</strong>: Develop robust error-handling mechanisms to manage different response codes. Log and handle common errors gracefully to improve user experience.</p>\n</li>\n<li><p><strong>Filtering and Sorting</strong>: Use filtering and sorting options available in the API to refine results, making it easier to find specific data.</p>\n</li>\n</ol>\n<p>By following these best practices, users can maximize the efficiency and reliability of their interactions with the Reporting APIs, ensuring a smooth integration into their applications and workflows.</p>\n","_postman_id":"de2f1f8b-0ce7-48ba-83e4-a04b0b2c601f"}],"event":[{"listen":"prerequest","script":{"id":"7186e694-e8f1-43ef-9f1f-20686c521c19","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"a7ab7f25-32c5-4e95-9ef9-0b2aee6bc9a1","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"jwtToken","value":""}]}