Retrieves the emails sent for a customer, newest first.
Use this operation to inspect delivery status, recipient, and template for emails Chargebee sent to a customer, including those triggered by send invoice email, send credit note email, and send payment request email.
Prerequisites & Constraints
- Email Engage V2 must be enabled for the site.
Implementation Notes
- Results are sorted by
sent_ondescending, so the most recent emails appear first. - If you omit
sent_on, the response includes emails from the last 24 hours. - Any
sent_onfilter must fall within the last 7 days. sent_on[between]and combinedsent_on[after]/sent_on[before]can span at most 24 hours.sent_on[after]alone returns the following 24 hours from that timestamp.sent_on[before]alone returns the preceding 24 hours from that timestamp.- Pass
business_entity_idonly when Multi Business Entity is enabled. Passbrand_idonly when Multi Brand is enabled. Otherwise the API returns aninvalid_requesterror.
URL Format
Input Parameters
optional, string filter
Filter by the unique ID of the brand associated with the email.
Supported operators : is
Example → brand_id[is] = "brand_id"
Prerequisites
- Multi Brand must be enabled for the site.
optional, string filter
Filter by the unique ID of the business entity associated with the email.
Supported operators : is
Example → business_entity_id[is] = "business_entity_id"
Prerequisites
- Multi Business Entity must be enabled for the site.
optional, timestamp(UTC) in seconds filter
Filter by when the email was scheduled to be sent. Pass a Unix timestamp in seconds. Supported operators : after, before, between, on
Example → sent_on[after] = "1435054328"
Default behavior
- If omitted, emails from the last 24 hours are returned.
Constraints
- Must be within the last 7 days.
betweenand combinedafter/beforecan span at most 24 hours.afteralone returns the following 24 hours.beforealone returns the preceding 24 hours.