Create a dedicated inbound email address for collecting CAS statements via email forwarding.
How it works:
Webhook Delivery:
callback_url with JSON body containing files (matching EmailCASFile schema)Inactivity:
Your API key for authentication.
Use sandbox-with-json-responses as Sandbox key.
Webhook URL where we POST email notifications. Must be HTTPS in production (HTTP allowed for localhost during development).
"https://api.yourapp.com/webhooks/cas-email"
Optional custom email prefix for user-friendly addresses.
john-portfolio@import.casparser.inie_abc123xyz@import.casparser.in3 - 32"john-portfolio"
Your internal identifier (e.g., user_id, account_id). Returned in webhook payload for correlation.
256"user_12345"
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" }Mailbox 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
"https://api.yourapp.com/webhooks/cas-email"
Accepted CAS providers (empty = all)
cdsl, nsdl, cams, kfintech ["cdsl", "nsdl"]Current mailbox status
active, paused "active"
Custom key-value metadata
{ "plan": "premium" }When the mailbox was created
"2025-02-21T10:30:00Z"
When the mailbox was last updated
"2025-02-21T10:30:00Z"