Skip to main content
POST
CAS Generator (Email Mailback)

Authorizations

x-api-key
string
header
required

Your API key for authentication. Use sandbox-with-json-responses as Sandbox key.

Body

application/json
email
string
required

Email address to receive the CAS document

Example:

"user@example.com"

from_date
string
required

Start date (YYYY-MM-DD)

Example:

"2023-01-01"

to_date
string
required

End date (YYYY-MM-DD)

Example:

"2023-12-31"

password
string
required

Password protecting the emailed PDF. Must satisfy the chosen authority's policy — cams requires 6-20 characters with at least two digits, so a PAN works.

Example:

"Abcdefghi12$"

pan_no
string

PAN number (optional)

Example:

"ABCDE1234F"

cas_authority
enum<string>
default:kfintech

RTA that sends the mailback. Affects only the password policy, not the portfolio data returned.

Available options:
kfintech,
cams
Example:

"cams"

Response

Request submitted successfully

status
string
Example:

"success"

msg
string
Example:

"CAS request submitted. Check email shortly."