{"info":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","description":"<html><head></head><body><p><a href=\"https://casparser.in/docs\">API Documentation</a></p>\n<p>Robust API to Parse CAS Statements from CAMS, Karvy and CDSL, NSDL</p>\n<h3 id=\"convert-cas-cams--karvy-cdsl--nsdl-pdf-to-json-or-excelcsv\">Convert CAS (CAMS &amp; Karvy, CDSL &amp; NSDL) PDF to JSON or Excel/CSV</h3>\n<h3 id=\"track-stocksequities-govt-securities-bonds-demat-insurances-mutual-fund-portfolios\"><strong>Track Stocks(Equities), Govt. Securities, Bonds, Demat Insurances, Mutual Fund</strong> Portfolios!</h3>\n<ol>\n<li><p><strong>CAMS</strong> &amp; <strong>KFintech</strong> (Karvy) eCAS<br> <strong>All Securities Parsed</strong></p>\n<ol>\n<li><p>Detailed Statement</p>\n</li>\n<li><p>Summary Statement</p>\n</li>\n</ol>\n</li>\n<li><p><strong>CDSL</strong> eCAS<br> <strong>All Securities Parsed</strong></p>\n<ol>\n<li><p>CDSL Demat Accounts</p>\n</li>\n<li><p>NSDL Demat Accounts</p>\n</li>\n<li><p>Equities</p>\n</li>\n<li><p>Government Securities</p>\n</li>\n<li><p>Corporate Bonds</p>\n</li>\n<li><p>Mutual Funds (both Demat &amp; Non-Demat)</p>\n</li>\n<li><p>Statement Period with PAN of holder</p>\n</li>\n<li><p>NPS (Coming Soon)</p>\n</li>\n</ol>\n</li>\n<li><p><strong>NSDL</strong> eCAS<br> <strong>All Securities Parsed</strong></p>\n<ul>\n<li><p>CDSL Demat Accounts</p>\n</li>\n<li><p>NSDL Demat Accounts</p>\n</li>\n<li><p>Equities</p>\n</li>\n<li><p>Mutual Funds</p>\n</li>\n<li><p>AIFs (Alternate Investment Funds)</p>\n</li>\n<li><p>Government Securities</p>\n</li>\n<li><p>Life Insurance Policies</p>\n</li>\n<li><p>Statement Period with PAN of holders</p>\n</li>\n</ul>\n</li>\n</ol>\n<p><strong>Add-Ons -</strong></p>\n<ol>\n<li><p>CAS Generator (KFintech) - Automate CAS Mailback request from KFintech. Programitcally trigger CAS onbehalf of your users.</p>\n</li>\n<li><p>Inbox Integration (Gmail) - Automate CAS retrieval via our embedded Gmail Inbox integration. No external security audits required.</p>\n</li>\n</ol>\n<p>Support <a href=\"https://mailto:sameer@casparser.in\"><b>sameer@casparser.in</b></a> <strong>or +91 9654837047</strong></p>\n<p>Available as a self-hosted (On-Prem) &amp; subscription solution.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"842558","collectionId":"40c778ac-2068-485f-b12b-cd86d58f2079","publishedId":"Uyr5ndyJ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-04-16T07:54:28.000Z"},"item":[{"name":"v4 - Smart Parse","item":[{"name":"CAS Smart Parse [PDF File]","id":"69190d91-60f0-4423-a493-19661d6c4ed3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"pdf_file","description":"<p>pdf_url OR pdf_file - Atleast 1 is required. \nPlease send the Original CAS PDF file from CDSL, NSDL, CAMS, or KFintech only for accurate parsing results. </p>\n","type":"file","uuid":"ea22aa65-9337-4f02-8be4-d818c0a623c2","value":null},{"key":"password","value":"<ENTER PDF PASSWORD HERE>","description":"<p>Optional, Password of the Original PDF</p>\n","type":"text","uuid":"103924a1-ff30-437f-ae83-25376470c884"},{"key":"pdf_url","value":"","description":"<p>pdf_url OR pdf_file - Atleast 1 is required. \nPlease send the Original CAS PDF file from CDSL, NSDL, CAMS, or KFintech only for accurate parsing results. </p>\n","type":"text","uuid":"924e5e4e-430d-46e9-ae39-687fec74801f","disabled":true}]},"url":"https://api.casparser.in/v4/smart/parse","description":"<p>API Model Reference: <a href=\"https://casparser.in/docs/api-reference/cas-parser/smart-parse-cas-pdf\">https://casparser.in/docs/api-reference/cas-parser/smart-parse-cas-pdf</a></p>\n<p>This endpoint parses CAS (Consolidated Account Statement) PDF files from NSDL, CDSL, or CAMS/KFintech and returns data in a unified format.<br />It auto-detects the CAS type and transforms the data into a consistent structure regardless of the source.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}},"urlObject":{"protocol":"https","path":["v4","smart","parse"],"host":["api","casparser","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"69190d91-60f0-4423-a493-19661d6c4ed3"},{"name":"CAS Smart Parse [PDF URL]","id":"5fd160f7-a2a3-404f-b33a-aa68b0f3eb63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"pdf_url\": \"<File Cloud URL (like S3, Azure, GDrive)>\", \n  \"password\": \"\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.casparser.in/v4/smart/parse","description":"<p>API Model Reference: <a href=\"https://casparser.in/docs/api-reference/cas-parser/smart-parse-cas-pdf\">https://casparser.in/docs/api-reference/cas-parser/smart-parse-cas-pdf</a></p>\n<p>This endpoint parses CAS (Consolidated Account Statement) PDF files from NSDL, CDSL, or CAMS/KFintech and returns data in a unified format.<br />It auto-detects the CAS type and transforms the data into a consistent structure regardless of the source.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}},"urlObject":{"protocol":"https","path":["v4","smart","parse"],"host":["api","casparser","in"],"query":[],"variable":[]}},"response":[{"id":"51dded81-08db-4c01-b666-fe26dec18c4d","name":"Successful operation","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"pdf_url\": \"<File Cloud URL (like S3, Azure, GDrive)>\",  // \n  \"password\": \"\" // optional, Password of the Original PDF\n//   \"pdf_file\": \"<Binary File>\" // not  required if pdf_url already exists\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://portfolio-parser.api.casparser.in/v4/smart/parse"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"demat_accounts\": [\n    {\n      \"additional_info\": {\n        \"bo_status\": \"<string>\",\n        \"bo_sub_status\": \"<string>\",\n        \"bo_type\": \"<string>\",\n        \"bsda\": \"<string>\",\n        \"email\": \"<email>\",\n        \"linked_pans\": [\n          \"<string>\",\n          \"<string>\"\n        ],\n        \"nominee\": \"<string>\",\n        \"status\": \"<string>\"\n      },\n      \"bo_id\": \"<string>\",\n      \"client_id\": \"<string>\",\n      \"demat_type\": \"CDSL\",\n      \"dp_id\": \"<string>\",\n      \"dp_name\": \"<string>\",\n      \"holdings\": {\n        \"aifs\": [\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          },\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          }\n        ],\n        \"corporate_bonds\": [\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          },\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          }\n        ],\n        \"demat_mutual_funds\": [\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          },\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          }\n        ],\n        \"equities\": [\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          },\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          }\n        ],\n        \"government_securities\": [\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          },\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          }\n        ]\n      },\n      \"value\": \"<float>\"\n    },\n    {\n      \"additional_info\": {\n        \"bo_status\": \"<string>\",\n        \"bo_sub_status\": \"<string>\",\n        \"bo_type\": \"<string>\",\n        \"bsda\": \"<string>\",\n        \"email\": \"<email>\",\n        \"linked_pans\": [\n          \"<string>\",\n          \"<string>\"\n        ],\n        \"nominee\": \"<string>\",\n        \"status\": \"<string>\"\n      },\n      \"bo_id\": \"<string>\",\n      \"client_id\": \"<string>\",\n      \"demat_type\": \"NSDL\",\n      \"dp_id\": \"<string>\",\n      \"dp_name\": \"<string>\",\n      \"holdings\": {\n        \"aifs\": [\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          },\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          }\n        ],\n        \"corporate_bonds\": [\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          },\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          }\n        ],\n        \"demat_mutual_funds\": [\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          },\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          }\n        ],\n        \"equities\": [\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          },\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          }\n        ],\n        \"government_securities\": [\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          },\n          {\n            \"additional_info\": {},\n            \"isin\": \"<string>\",\n            \"name\": \"<string>\",\n            \"units\": \"<float>\",\n            \"value\": \"<float>\"\n          }\n        ]\n      },\n      \"value\": \"<float>\"\n    }\n  ],\n  \"insurance\": {\n    \"life_insurance_policies\": [\n      {\n        \"additional_info\": {},\n        \"life_assured\": \"<string>\",\n        \"policy_name\": \"<string>\",\n        \"policy_number\": \"<string>\",\n        \"premium_amount\": \"<float>\",\n        \"premium_frequency\": \"<string>\",\n        \"provider\": \"<string>\",\n        \"status\": \"<string>\",\n        \"sum_assured\": \"<float>\"\n      },\n      {\n        \"additional_info\": {},\n        \"life_assured\": \"<string>\",\n        \"policy_name\": \"<string>\",\n        \"policy_number\": \"<string>\",\n        \"premium_amount\": \"<float>\",\n        \"premium_frequency\": \"<string>\",\n        \"provider\": \"<string>\",\n        \"status\": \"<string>\",\n        \"sum_assured\": \"<float>\"\n      }\n    ]\n  },\n  \"investor\": {\n    \"address\": \"<string>\",\n    \"cas_id\": \"<string>\",\n    \"email\": \"<email>\",\n    \"mobile\": \"<string>\",\n    \"name\": \"<string>\",\n    \"pan\": \"<string>\",\n    \"pincode\": \"<string>\"\n  },\n  \"meta\": {\n    \"cas_type\": \"CAMS_KFINTECH\",\n    \"generated_at\": \"<dateTime>\",\n    \"statement_period\": {\n      \"from\": \"<date>\",\n      \"to\": \"<date>\"\n    }\n  },\n  \"mutual_funds\": [\n    {\n      \"additional_info\": {\n        \"kyc\": \"<string>\",\n        \"pan\": \"<string>\",\n        \"pankyc\": \"<string>\"\n      },\n      \"amc\": \"<string>\",\n      \"folio_number\": \"<string>\",\n      \"registrar\": \"<string>\",\n      \"schemes\": [\n        {\n          \"additional_info\": {\n            \"advisor\": \"<string>\",\n            \"amfi\": \"<string>\",\n            \"close_units\": \"<float>\",\n            \"open_units\": \"<float>\",\n            \"rta_code\": \"<string>\"\n          },\n          \"cost\": \"<float>\",\n          \"gain\": {\n            \"absolute\": \"<float>\",\n            \"percentage\": \"<float>\"\n          },\n          \"isin\": \"<string>\",\n          \"name\": \"<string>\",\n          \"nav\": \"<float>\",\n          \"nominees\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"transactions\": [\n            {\n              \"amount\": \"<float>\",\n              \"balance\": \"<float>\",\n              \"date\": \"<date>\",\n              \"description\": \"<string>\",\n              \"dividend_rate\": \"<float>\",\n              \"nav\": \"<float>\",\n              \"type\": \"<string>\",\n              \"units\": \"<float>\"\n            },\n            {\n              \"amount\": \"<float>\",\n              \"balance\": \"<float>\",\n              \"date\": \"<date>\",\n              \"description\": \"<string>\",\n              \"dividend_rate\": \"<float>\",\n              \"nav\": \"<float>\",\n              \"type\": \"<string>\",\n              \"units\": \"<float>\"\n            }\n          ],\n          \"type\": \"Other\",\n          \"units\": \"<float>\",\n          \"value\": \"<float>\"\n        },\n        {\n          \"additional_info\": {\n            \"advisor\": \"<string>\",\n            \"amfi\": \"<string>\",\n            \"close_units\": \"<float>\",\n            \"open_units\": \"<float>\",\n            \"rta_code\": \"<string>\"\n          },\n          \"cost\": \"<float>\",\n          \"gain\": {\n            \"absolute\": \"<float>\",\n            \"percentage\": \"<float>\"\n          },\n          \"isin\": \"<string>\",\n          \"name\": \"<string>\",\n          \"nav\": \"<float>\",\n          \"nominees\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"transactions\": [\n            {\n              \"amount\": \"<float>\",\n              \"balance\": \"<float>\",\n              \"date\": \"<date>\",\n              \"description\": \"<string>\",\n              \"dividend_rate\": \"<float>\",\n              \"nav\": \"<float>\",\n              \"type\": \"<string>\",\n              \"units\": \"<float>\"\n            },\n            {\n              \"amount\": \"<float>\",\n              \"balance\": \"<float>\",\n              \"date\": \"<date>\",\n              \"description\": \"<string>\",\n              \"dividend_rate\": \"<float>\",\n              \"nav\": \"<float>\",\n              \"type\": \"<string>\",\n              \"units\": \"<float>\"\n            }\n          ],\n          \"type\": \"Debt\",\n          \"units\": \"<float>\",\n          \"value\": \"<float>\"\n        }\n      ],\n      \"value\": \"<float>\"\n    },\n    {\n      \"additional_info\": {\n        \"kyc\": \"<string>\",\n        \"pan\": \"<string>\",\n        \"pankyc\": \"<string>\"\n      },\n      \"amc\": \"<string>\",\n      \"folio_number\": \"<string>\",\n      \"registrar\": \"<string>\",\n      \"schemes\": [\n        {\n          \"additional_info\": {\n            \"advisor\": \"<string>\",\n            \"amfi\": \"<string>\",\n            \"close_units\": \"<float>\",\n            \"open_units\": \"<float>\",\n            \"rta_code\": \"<string>\"\n          },\n          \"cost\": \"<float>\",\n          \"gain\": {\n            \"absolute\": \"<float>\",\n            \"percentage\": \"<float>\"\n          },\n          \"isin\": \"<string>\",\n          \"name\": \"<string>\",\n          \"nav\": \"<float>\",\n          \"nominees\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"transactions\": [\n            {\n              \"amount\": \"<float>\",\n              \"balance\": \"<float>\",\n              \"date\": \"<date>\",\n              \"description\": \"<string>\",\n              \"dividend_rate\": \"<float>\",\n              \"nav\": \"<float>\",\n              \"type\": \"<string>\",\n              \"units\": \"<float>\"\n            },\n            {\n              \"amount\": \"<float>\",\n              \"balance\": \"<float>\",\n              \"date\": \"<date>\",\n              \"description\": \"<string>\",\n              \"dividend_rate\": \"<float>\",\n              \"nav\": \"<float>\",\n              \"type\": \"<string>\",\n              \"units\": \"<float>\"\n            }\n          ],\n          \"type\": \"Equity\",\n          \"units\": \"<float>\",\n          \"value\": \"<float>\"\n        },\n        {\n          \"additional_info\": {\n            \"advisor\": \"<string>\",\n            \"amfi\": \"<string>\",\n            \"close_units\": \"<float>\",\n            \"open_units\": \"<float>\",\n            \"rta_code\": \"<string>\"\n          },\n          \"cost\": \"<float>\",\n          \"gain\": {\n            \"absolute\": \"<float>\",\n            \"percentage\": \"<float>\"\n          },\n          \"isin\": \"<string>\",\n          \"name\": \"<string>\",\n          \"nav\": \"<float>\",\n          \"nominees\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"transactions\": [\n            {\n              \"amount\": \"<float>\",\n              \"balance\": \"<float>\",\n              \"date\": \"<date>\",\n              \"description\": \"<string>\",\n              \"dividend_rate\": \"<float>\",\n              \"nav\": \"<float>\",\n              \"type\": \"<string>\",\n              \"units\": \"<float>\"\n            },\n            {\n              \"amount\": \"<float>\",\n              \"balance\": \"<float>\",\n              \"date\": \"<date>\",\n              \"description\": \"<string>\",\n              \"dividend_rate\": \"<float>\",\n              \"nav\": \"<float>\",\n              \"type\": \"<string>\",\n              \"units\": \"<float>\"\n            }\n          ],\n          \"type\": \"Debt\",\n          \"units\": \"<float>\",\n          \"value\": \"<float>\"\n        }\n      ],\n      \"value\": \"<float>\"\n    }\n  ],\n  \"status\": \"success\",\n  \"summary\": {\n    \"accounts\": {\n      \"demat\": {\n        \"count\": \"<integer>\",\n        \"total_value\": \"<float>\"\n      },\n      \"insurance\": {\n        \"count\": \"<integer>\",\n        \"total_value\": \"<float>\"\n      },\n      \"mutual_funds\": {\n        \"count\": \"<integer>\",\n        \"total_value\": \"<float>\"\n      }\n    },\n    \"total_value\": \"<float>\"\n  }\n}"},{"id":"a671de49-6fe5-4fae-b472-907893a46bb3","name":"Bad request (Invalid PDF file, missing parameters, or invalid password)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"pdf_url\": \"<File Cloud URL (like S3, Azure, GDrive)>\",  // \n  \"password\": \"\" // optional, Password of the Original PDF\n//   \"pdf_file\": \"<Binary File>\" // not  required if pdf_url already exists\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://portfolio-parser.api.casparser.in/v4/smart/parse"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"failed\",\n  \"msg\": \"Invalid PDF file or password.\"\n}"},{"id":"30373e5f-b965-4051-8540-1bf5ef7fd5bd","name":"Unauthorized (Missing or invalid API key)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"pdf_url\": \"<File Cloud URL (like S3, Azure, GDrive)>\",  // \n  \"password\": \"\" // optional, Password of the Original PDF\n//   \"pdf_file\": \"<Binary File>\" // not  required if pdf_url already exists\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://portfolio-parser.api.casparser.in/v4/smart/parse"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"msg\": \"Authentication failed: API key is missing. Please provide a valid API key in the x-api-key header.\"\n}"},{"id":"4c1ae8b5-443a-4b14-b6bd-d254b4866418","name":"Forbidden (API quota exceeded)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"pdf_url\": \"<File Cloud URL (like S3, Azure, GDrive)>\",  // \n  \"password\": \"\" // optional, Password of the Original PDF\n//   \"pdf_file\": \"<Binary File>\" // not  required if pdf_url already exists\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://portfolio-parser.api.casparser.in/v4/smart/parse"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"msg\": \"Authentication failed: API quota exceeded or invalid API key. Please check your API key or quota limits.\"\n}"},{"id":"b1f2a234-78c7-4357-922c-191e06caa249","name":"Internal server error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"pdf_url\": \"<File Cloud URL (like S3, Azure, GDrive)>\",  // \n  \"password\": \"\" // optional, Password of the Original PDF\n//   \"pdf_file\": \"<Binary File>\" // not  required if pdf_url already exists\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://portfolio-parser.api.casparser.in/v4/smart/parse"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"failed\",\n  \"msg\": \"Invalid PDF file or password.\"\n}"}],"_postman_id":"5fd160f7-a2a3-404f-b33a-aa68b0f3eb63"},{"name":"CAS Generator (Mutual Funds)","id":"2147a5fe-2d21-4e14-8f70-ea11cb3df583","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n      \"email\": \"user@example.com\",\n      \"pan_no\": \"ABCDE1234F\",\n      \"from_date\": \"2023-01-01\",\n      \"to_date\": \"2023-12-31\",\n      \"password\": \"Abcdefghi12$\" // strictly follows KFintech's format\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.casparser.in/v4/kfintech/generate","description":"<p>API Docs reference: <a href=\"https://casparser.in/docs/api-reference/cas-generator/cas-generator-for-mutual-funds\">https://casparser.in/docs/api-reference/cas-generator/cas-generator-for-mutual-funds</a></p>\n<p>This endpoint generates CAS (Consolidated Account Statement) documents by submitting a mailback request to the specified CAS authority. Currently only supports KFintech's detailed Mutual fund statement with transactions and infinte date range (send in API request body).<br /><strong>Coverage:</strong> KFintech and CAMS have a mutual partnership that provides data from both RTAs (Registrar and Transfer Agents). This endpoint retrieves mutual fund data from both KFintech and CAMS, covering all mutual funds in India.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}},"urlObject":{"protocol":"https","path":["v4","kfintech","generate"],"host":["api","casparser","in"],"query":[],"variable":[]}},"response":[{"id":"0338bbe0-d230-490e-9cbc-260f8e431ebe","name":"Successful operation","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"x-api-key","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n      \"email\": \"user@example.com\",\n      \"pan_no\": \"ABCDE1234F\",\n      \"from_date\": \"2023-01-01\",\n      \"to_date\": \"2023-12-31\",\n      \"password\": \"Abcdefghi12$\",\n      \"cas_authority\": \"kfintech\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://portfolio-parser.api.casparser.in/v4/generate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"msg\": \"CAS generation request submitted successfully. The investor will receive the CAS file via email shortly.\"\n}"},{"id":"06818678-f07e-405a-8947-dc0043461ba9","name":"Missing required fields or unsupported CAS authority)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"x-api-key","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n      \"email\": \"user@example.com\",\n      \"pan_no\": \"ABCDE1234F\",\n      \"from_date\": \"2023-01-01\",\n      \"to_date\": \"2023-12-31\",\n      \"password\": \"Abcdefghi12$\",\n      \"cas_authority\": \"kfintech\"\n    }","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://portfolio-parser.api.casparser.in/v4/generate"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"failed\",\n  \"msg\": \"<description here>\"\n}"},{"id":"88ad7c0e-2571-40f8-9b31-011cf8017a45","name":"Unauthorized (Missing or invalid API key)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"pdf_file\": \"in exer\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://portfolio-parser.api.casparser.in/v4/generate"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"msg\": \"Authentication failed: API key is missing. Please provide a valid API key in the x-api-key header.\"\n}"},{"id":"0b826558-5b94-44ca-ac9c-53a3dc9ee33d","name":"Forbidden (API quota exceeded)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"pdf_file\": \"in exer\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://portfolio-parser.api.casparser.in/v4/generate"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"msg\": \"Authentication failed: API quota exceeded or invalid API key. Please check your API key or quota limits.\"\n}"},{"id":"598c4370-b2f6-4746-b51c-ce84a6aec065","name":"Internal server error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"x-api-key","value":"<API Key>","description":"Added as a part of security scheme: apikey"}],"body":{"mode":"raw","raw":"{\n  \"pdf_file\": \"in exer\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://portfolio-parser.api.casparser.in/v4/generate"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"failed\",\n  \"msg\": \"<description here>\"\n}"}],"_postman_id":"2147a5fe-2d21-4e14-8f70-ea11cb3df583"}],"id":"395d49dd-07f2-445b-ab5d-e99bc3d503fe","description":"<p>Smart Parse is a Unified API to parse any e-CAS - CDSL, NSDL, CAMS, KFintech.<br />Data model: <a href=\"https://docs.casparser.in/reference#model/unifiedresponse\">https://docs.casparser.in/reference#model/unifiedresponse</a></p>\n<p>Supports all securities (Stocks, Bonds, Mutual Funds, Demat/Non-Demat, and 5+ more securities) with high accuracy.</p>\n","_postman_id":"395d49dd-07f2-445b-ab5d-e99bc3d503fe","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}}},{"name":"v3","item":[{"name":"Parse Any eCAS (Auto-detect: CAMS/KFintech/CDSL/NSDL) [PDF File]","id":"fe2b826b-35ec-4497-a47e-fc1dc040f960","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"content-type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"pdf_url","value":"","description":"<p>pdf_url OR pdf_file - Atleast 1 is required</p>\n","type":"text","disabled":true},{"key":"password","value":"<ENTER PDF PASSWORD HERE>","description":"<p>Password for the PDF</p>\n","type":"text"},{"key":"pdf_file","description":"<p>pdf_url OR pdf_file - Atleast 1 is required</p>\n","type":"file","src":"/Users/sameerkumar/Downloads/yashu123.pdf"}]},"url":"https://api.casparser.in/v3/auto_detect_cas/parse","description":"<p>CAMS/Karvy PDF (File) Parser</p>\n<p>Documentation: <a href=\"https://www.notion.so/sameerkumar/CASParser-in-Developer-Docs-b4f3381b5bf046028bc88ee87371ead3\">https://www.notion.so/sameerkumar/CASParser-in-Developer-Docs-b4f3381b5bf046028bc88ee87371ead3</a></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}},"urlObject":{"protocol":"https","path":["v3","auto_detect_cas","parse"],"host":["api","casparser","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe2b826b-35ec-4497-a47e-fc1dc040f960"},{"name":"CAMS/Karvy Parse PDF [PDF File]","id":"657e6198-d4e4-4aab-a26d-5ce1cdaccfbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"content-type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"pdf_url","value":"","description":"<p>pdf_url OR pdf_file - Atleast 1 is required</p>\n","type":"text","disabled":true},{"key":"password","value":"<ENTER PDF PASSWORD HERE>","description":"<p>Password for the PDF</p>\n","type":"text"},{"key":"pdf_file","description":"<p>pdf_url OR pdf_file - Atleast 1 is required</p>\n","type":"file","src":"/Users/sameerkumar/Downloads/yashu123.pdf"}]},"url":"https://api.casparser.in/v2/cams_karvy/parse","description":"<p>CAMS/Karvy PDF (File) Parser</p>\n<p>Documentation: <a href=\"https://www.notion.so/sameerkumar/CASParser-in-Developer-Docs-b4f3381b5bf046028bc88ee87371ead3\">https://www.notion.so/sameerkumar/CASParser-in-Developer-Docs-b4f3381b5bf046028bc88ee87371ead3</a></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}},"urlObject":{"protocol":"https","path":["v2","cams_karvy","parse"],"host":["api","casparser","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"657e6198-d4e4-4aab-a26d-5ce1cdaccfbf"},{"name":"CAMS/Karvy Parse PDF [PDF URL]","id":"59223494-4773-4339-ab86-485099f4cf91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"content-type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"pdf_url","value":"<ENTER PDF URL HERE>","description":"<p>pdf_url OR pdf_file - Atleast 1 is required</p>\n","type":"text"},{"key":"password","value":"<ENTER PDF PASSWORD HERE>","description":"<p>Password for the PDF</p>\n","type":"text"},{"key":"pdf_file","description":"<p>pdf_url OR pdf_file - Atleast 1 is required</p>\n","type":"file","value":null,"disabled":true}]},"url":"https://api.casparser.in/v2/cams_karvy/parse","description":"<p>CAMS/Karvy PDF (URL) Parser</p>\n<p>Documentation: <a href=\"https://www.notion.so/sameerkumar/CASParser-in-Developer-Docs-b4f3381b5bf046028bc88ee87371ead3\">https://www.notion.so/sameerkumar/CASParser-in-Developer-Docs-b4f3381b5bf046028bc88ee87371ead3</a></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}},"urlObject":{"protocol":"https","path":["v2","cams_karvy","parse"],"host":["api","casparser","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"59223494-4773-4339-ab86-485099f4cf91"},{"name":"NSDL Parse PDF [PDF File]","id":"365f7833-37ea-4f26-8636-a0b621d5c3b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"content-type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"pdf_url","value":"","description":"<p>pdf_url OR pdf_file - Atleast 1 is required</p>\n","type":"text","disabled":true},{"key":"password","value":"<ENTER PDF PASSWORD HERE>","description":"<p>Password for the PDF</p>\n","type":"text"},{"key":"pdf_file","description":"<p>pdf_url OR pdf_file - Atleast 1 is required</p>\n","type":"file","src":"/Users/sameerkumar/Downloads/yashu123.pdf"}]},"url":"https://api.casparser.in/v3/nsdl/parse","description":"<p>CDSL PDF (File) Parser</p>\n<p>Documentation: <a href=\"https://www.notion.so/sameerkumar/CASParser-in-Developer-Docs-b4f3381b5bf046028bc88ee87371ead3\">https://www.notion.so/sameerkumar/CASParser-in-Developer-Docs-b4f3381b5bf046028bc88ee87371ead3</a></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}},"urlObject":{"protocol":"https","path":["v3","nsdl","parse"],"host":["api","casparser","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"365f7833-37ea-4f26-8636-a0b621d5c3b7"},{"name":"NSDL Parse PDF [PDF URL]","id":"dfc7ab85-9708-4154-82a0-fcab185fb97b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"content-type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"pdf_url","value":"<ENTER PDF URL HERE>","description":"<p>pdf_url OR pdf_file - Atleast 1 is required</p>\n","type":"text"},{"key":"password","value":"<ENTER PDF PASSWORD HERE>","description":"<p>Password for the PDF</p>\n","type":"text"},{"key":"pdf_file","description":"<p>pdf_url OR pdf_file - Atleast 1 is required</p>\n","type":"file","value":null,"disabled":true}]},"url":"https://api.casparser.in/v3/nsdl/parse","description":"<p>CDSL PDF (URL) Parser</p>\n<p>Documentation: <a href=\"https://www.notion.so/sameerkumar/CASParser-in-Developer-Docs-b4f3381b5bf046028bc88ee87371ead3\">https://www.notion.so/sameerkumar/CASParser-in-Developer-Docs-b4f3381b5bf046028bc88ee87371ead3</a></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}},"urlObject":{"protocol":"https","path":["v3","nsdl","parse"],"host":["api","casparser","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"dfc7ab85-9708-4154-82a0-fcab185fb97b"},{"name":"CDSL Parse PDF [PDF File]","id":"7446ee37-cf12-4b43-a7e0-1cc6e4ba8187","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"content-type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"pdf_url","value":"","description":"<p>pdf_url OR pdf_file - Atleast 1 is required</p>\n","type":"text","disabled":true},{"key":"password","value":"<ENTER PDF PASSWORD HERE>","description":"<p>Password for the PDF</p>\n","type":"text"},{"key":"pdf_file","description":"<p>pdf_url OR pdf_file - Atleast 1 is required</p>\n","type":"file","src":"/Users/sameerkumar/Downloads/yashu123.pdf"}]},"url":"https://api.casparser.in/v3/cdsl/parse","description":"<p>CDSL PDF (File) Parser</p>\n<p>Documentation: <a href=\"https://www.notion.so/sameerkumar/CASParser-in-Developer-Docs-b4f3381b5bf046028bc88ee87371ead3\">https://www.notion.so/sameerkumar/CASParser-in-Developer-Docs-b4f3381b5bf046028bc88ee87371ead3</a></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}},"urlObject":{"protocol":"https","path":["v3","cdsl","parse"],"host":["api","casparser","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"7446ee37-cf12-4b43-a7e0-1cc6e4ba8187"},{"name":"CDSL Parse PDF [PDF URL]","id":"4dffe852-4267-42e0-8885-e4bd566eda6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"content-type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"pdf_url","value":"<ENTER PDF URL HERE>","description":"<p>pdf_url OR pdf_file - Atleast 1 is required</p>\n","type":"text"},{"key":"password","value":"<ENTER PDF PASSWORD HERE>","description":"<p>Password for the PDF</p>\n","type":"text"},{"key":"pdf_file","description":"<p>pdf_url OR pdf_file - Atleast 1 is required</p>\n","type":"file","value":null,"disabled":true}]},"url":"https://api.casparser.in/v3/cdsl/parse","description":"<p>CDSL PDF (URL) Parser</p>\n<p>Documentation: <a href=\"https://www.notion.so/sameerkumar/CASParser-in-Developer-Docs-b4f3381b5bf046028bc88ee87371ead3\">https://www.notion.so/sameerkumar/CASParser-in-Developer-Docs-b4f3381b5bf046028bc88ee87371ead3</a></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}},"urlObject":{"protocol":"https","path":["v3","cdsl","parse"],"host":["api","casparser","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"4dffe852-4267-42e0-8885-e4bd566eda6f"}],"id":"b3234d92-77bc-415b-98ae-4e95ef97503f","_postman_id":"b3234d92-77bc-415b-98ae-4e95ef97503f","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}}},{"name":"v4 - Inbox Integration (Gmail)","item":[{"name":"Generate Gmail Permission Link","id":"c6fe34e1-75e1-484b-930b-736d5db335cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"redirect_uri\": \"https://yourapp.com/oauth-callback\",\n  \"state\": \"abc123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.casparser.in/v4/inbox/connect","description":"<p>This API generates a unique permission URL for your users to approve/disapprove access to their Gmail inbox.<br />The <code>redirect_uri</code> is required in the request body, which should be the public API that accepts GET requests and reads the <code>inbox_token</code> parameter, and is required to be stored by you.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}},"urlObject":{"protocol":"https","path":["v4","inbox","connect"],"host":["api","casparser","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6fe34e1-75e1-484b-930b-736d5db335cb"},{"name":"Check Gmail Connection Status​","id":"bfe5d893-c821-4a4d-a349-a4c61fe149bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-inbox-token","value":""}],"url":"https://api.casparser.in/v4/inbox/status","description":"<p>Verify if an <code>inbox_token</code> is still valid and check connection status.</p>\n<p>Use this to check if the user needs to re-authenticate (e.g., if they revoked access in their Gmail settings).</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}},"urlObject":{"protocol":"https","path":["v4","inbox","status"],"host":["api","casparser","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"bfe5d893-c821-4a4d-a349-a4c61fe149bc"},{"name":"Read CAS Files from Gmail Inbox​","id":"02c3f5e1-6ed4-4bc7-b5b9-8ef8422bcca3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-inbox-token","value":""}],"body":{"mode":"raw","raw":"{\n  \"start_date\": \"2025-12-01\",\n  \"end_date\": \"2025-12-31\",\n  \"cas_types\": [\n    \"cdsl\",\n    \"nsdl\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://portfolio-parser.api.casparser.in/v4/inbox/cas","description":"<p>Search a user's email inbox for CAS files from known senders (CAMS, KFintech, CDSL, NSDL).</p>\n<p>Files are uploaded to temporary cloud storage. <strong>URLs expire in 24 hours.</strong></p>\n<p>Optionally filter by CAS provider and date range. Full spec: <a href=\"https://docs.casparser.in/reference#tag/email-import/post/v4/inbox/cas\">https://docs.casparser.in/reference#tag/email-import/post/v4/inbox/cas</a></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}},"urlObject":{"protocol":"https","path":["v4","inbox","cas"],"host":["portfolio-parser","api","casparser","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"02c3f5e1-6ed4-4bc7-b5b9-8ef8422bcca3"},{"name":"Disconnect Gmail Access","id":"ab6162c2-e9fe-4051-ac32-605c06e672b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-inbox-token","value":""},{"key":"x-api-key","value":"YOUR_SECRET_TOKEN"}],"url":"https://api.casparser.in/v4/inbox/disconnect","description":"<p>Revoke email access and invalidate the token.</p>\n<p>This calls the provider's token revocation API (ie Google's revoke endpoint) to ensure the user's consent is properly removed.</p>\n<p>After calling this, the <code>inbox_token</code> becomes unusable.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}},"urlObject":{"protocol":"https","path":["v4","inbox","disconnect"],"host":["api","casparser","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab6162c2-e9fe-4051-ac32-605c06e672b1"}],"id":"f46d1a3e-3839-4737-894f-f99e31de1e71","description":"<p><strong>Inbox Integration - Embedded Gmail Authorization</strong></p>\n<p>Improve your customer experience by allowing users to grant access to their Gmail inbox for automated CAS file reading (similar to CRED's Gmail integration).</p>\n<p>No need for additional security audits, use CAS Parser's white-labeled, Embedded Gmail Inbox integration.</p>\n<p><strong>How does it works?</strong></p>\n<ol>\n<li><p>Generate OAuth link: POST to <code>/v4/inbox/connect</code></p>\n</li>\n<li><p>Upon successful authorization by the user, store the retrieved <code>inbox_token</code> in your Database</p>\n</li>\n<li><p>Using the <code>inbox_token</code>, call POST <code>/v4/inbox/cas</code> to retrieve eCAS statements for ANY period from CDSL, NSDL, CAMS, KFintech</p>\n</li>\n<li><p>Call the <code>/v4/inbox/cas</code> at your preferred schedule to read the latest eCAS from the Users' inbox without additional permissions.</p>\n</li>\n</ol>\n","_postman_id":"f46d1a3e-3839-4737-894f-f99e31de1e71","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}}},{"name":"Check Remaining Credits","id":"725291c4-16cd-4dff-8227-f2ee8d6017a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"content-type","value":"application/json"}],"url":"https://api.casparser.in/v1/credits","description":"<p>API to check remaining credits. Credit balance can also be viewed in <a href=\"https://app.casparser.in/\">https://app.casparser.in</a></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]},"isInherited":true,"source":{"_postman_id":"40c778ac-2068-485f-b12b-cd86d58f2079","id":"40c778ac-2068-485f-b12b-cd86d58f2079","name":"CAS Parser API (CAMS / NSDL / CDSL / KFintech / Karvy)","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","credits"],"host":["api","casparser","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"725291c4-16cd-4dff-8227-f2ee8d6017a2"}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"sandbox-with-json-responses"}]}},"event":[{"listen":"prerequest","script":{"id":"1c19fb11-19dd-4176-b79c-006c8cc79839","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4b050ca8-307b-4b3d-a195-87bbfef25c33","type":"text/javascript","exec":[""]}}],"variable":[{"key":"CAS_PARSER_API_KEY","value":"sandbox-with-json-responses"}]}