---
title: "CAS Generator (Email Mailback)"
method: POST
path: "/v4/generate"
tags: ["CAS Generator"]
---

# CAS Generator (Email Mailback)

`POST /v4/generate`

Generate a mutual fund CAS statement via email mailback. The CAS PDF will be sent to the investor's email.

KFintech and CAMS have a mutual partnership for data sharing and consolidation,
so this endpoint retrieves mutual fund data from **both RTAs**, covering all
mutual funds in India.

This is an async operation - the investor receives the CAS via email within a few minutes.

By default, a **Detailed CAS** is generated, which includes the complete transaction history.
The parsing layer supports all statement types (Detailed, Summary, etc.), but generation
always requests the Detailed variant for maximum data coverage.

## Request body

- object
  - `email` string, required — Email address to receive the CAS document
  - `from_date` string, required — Start date (YYYY-MM-DD)
  - `pan_no` string — PAN number (optional)
  - `password` string, required — Password for the PDF
  - `to_date` string, required — End date (YYYY-MM-DD)

## Response `200`

Request submitted successfully

- object
  - `msg` string
  - `status` string

## Other responses

- `400` — Bad request (Invalid PDF file, missing parameters, or invalid password)
- `401` — Unauthorized. This can happen if the `x-api-key` header is missing.
- `500` — Internal server error

---

[API](https://skmtc.net/casparser/apis/cas-parser-track-portfolios-from-cdsl-nsdl-cams-kfintech.md) · [All operations](https://skmtc.net/casparser/apis/cas-parser-track-portfolios-from-cdsl-nsdl-cams-kfintech/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casparser/cas-parser-track-portfolios-from-cdsl-nsdl-cams-kfintech/revisions/fa7d3aae2ab9/schema)
