---
title: "List the emails sent for an order"
method: GET
path: "/shop/orders/{orderId}/emails"
tags: ["Orders"]
---

# List the emails sent for an order

`GET /shop/orders/{orderId}/emails`

Retrieve a paginated list of every email message that has been sent in
relation to an order. Each entry includes delivery, open and bounce
status; use [Retrieve an order email](#operation/getOrderEmail) to fetch
the rendered HTML body for an individual message.

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

The email messages for the order were successfully retrieved.

- object
  - `data` OrderEmailSummary[], required
    - `id` string, object-id, required — The ID of the email message.
    - `organisation_id` string, uuid, required — The ID of the organisation the email message belongs to.
    - `site_id` string, uuid, required — The ID of the site the email message belongs to.
    - `customer_id` string, uuid, nullable — The ID of the customer the email message was sent to, if known.
    - `basket_id` string, object-id, required — The ID of the order (basket) this email message is attached to.
    - `from` string, nullable — The "from" address that sent the email.
    - `to` string[], required — The list of recipients of the email message.
    - `cc` string[], nullable — The list of CC recipients of the email message.
    - `bcc` string[], nullable — The list of BCC recipients of the email message.
    - `subject` string, required — The subject line of the email message.
    - `type` string, required — The type of email message — typically maps to a templated message class such as `BookingConfirmation` or `BookingReminder`.
    - `created_at` string, date-time, nullable — The date and time the email message record was created.
    - `sent_at` string, date-time, nullable — The date and time the email message was sent to the upstream provider.
    - `delivered_at` string, date-time, nullable — The date and time the email message was reported as delivered.
    - `opened` boolean, required — Whether the recipient has opened the email at least once.
    - `bounced` boolean, required — Whether the email message bounced.
  - `meta` PaginationMeta, required — Counts and positional information for the current page of a list response. Use `current_page` and `last_page` to drive pagination UI, `total` for result counts, and `per_page` to confirm the page size the server actually applied (which may differ from the requested value when capped).
    - `from` integer, required — The item number from which this results set starts from
    - `to` integer, required — The item number from which this results set ends at
    - `total` integer, required — The total number of results
    - `current_page` integer, required — The current page number
    - `last_page` integer, required — The page number of the last result set
    - `per_page` integer, required — The number of results per page
    - `path` string, required — The path of this api request
  - `links` PaginationLinks, required — Hypermedia navigation links for paging through a list response. Each property is a fully-qualified URL that preserves the original query string (filters, sort, page size) and only swaps the `page` parameter. `next` and `prev` are `null` at the ends of the result set; `first` and `last` are always present.
    - `first` string, required — The url of the first page for the paginated results set
    - `next` string, nullable, required — The url of the next page for the paginated results set
    - `prev` string, nullable, required — The url of the previous page for the paginated results set
    - `last` string, required — The url of the last page for the paginated results set

## Other responses

- `404` — The resource couldn't be found

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
