Create a dedicated inbound email address for collecting CAS statements via email forwarding. When an investor forwards a CAS email to this address, we verify the sender and make the file available to you.
callback_url is optional:
GET /v4/inbound-email/{id}/files
without building a webhook consumer.Documentation Index
Fetch the complete documentation index at: https://casparser.in/docs/llms.txt
Use this file to discover all available pages before exploring further.
Your API key for authentication.
Use sandbox-with-json-responses as Sandbox key.
Optional custom email prefix (e.g.
john-portfolio@import.casparser.in). 3-32 chars,
alphanumeric + hyphens, must start/end with a letter or
number. If omitted, a random ID is generated.
3 - 32^[a-z0-9][a-z0-9-]*[a-z0-9]$"john-portfolio"
Your internal identifier (e.g., user_id, account_id). Returned in webhook payload for correlation.
256"user_12345"
Optional webhook URL where we POST parsed emails. Must be
HTTPS in production (HTTP allowed for localhost). If omitted,
retrieve files via GET /v4/inbound-email/{id}/files.
"https://api.yourapp.com/webhooks/cas-email"
Filter emails by CAS provider. If omitted, accepts all providers.
cdsl → eCAS@cdslstatement.comnsdl → NSDL-CAS@nsdl.co.incams → donotreply@camsonline.comkfintech → samfS@kfintech.comcdsl, nsdl, cams, kfintech ["cdsl", "nsdl"]
Optional key-value pairs (max 10) to include in webhook payload. Useful for passing context like plan_type, campaign_id, etc.
{ "plan": "premium", "source": "onboarding" }
Inbound email created successfully
An inbound email address for receiving forwarded CAS emails
Unique inbound email identifier
"ie_a1b2c3d4e5f6"
The inbound email address to forward CAS statements to
"ie_a1b2c3d4e5f6@import.casparser.in"
Your internal reference identifier
"user_12345"
Webhook URL for email notifications. If set, we POST each parsed
email here. If omitted, files are only retrievable via
GET /v4/inbound-email/{id}/files.
"https://api.yourapp.com/webhooks/cas-email"
Accepted CAS providers (empty = all)
cdsl, nsdl, cams, kfintech ["cdsl", "nsdl"]
Current inbound email lifecycle status
active, paused "active"
Custom key-value metadata
{ "plan": "premium" }
When the inbound email was created
"2025-02-21T10:30:00Z"
When the inbound email was last updated
"2025-02-21T10:30:00Z"