Get emails
Unified email-design read. Omit emailId to LIST the brand’s designs (newest first) under { data, pagination } — each row carries emailId, the latest emailVersionId, title, status, previewImage (when captured), and updatedAt. Filter with ?status= and the createdAtFrom/To + updatedAtFrom/To ISO-8601 windows; paginate with limit + cursor. Pass ?emailId= to fetch ONE design — returns { data: [row] } (no pagination), 404 EMAIL_NOT_FOUND on an unknown / cross-brand id. Add detail-only ?include=html (rendered HTML) and/or ?include=versions (lean { version, emailVersionId } history) — both rejected without emailId.
Authorizations
Send your Brew API key as Authorization: Bearer brew_xxx.
Query Parameters
1 - 64streaming, complete, error 1 - 512