Skip to content

List emails for an order

GET/orders/{id}/emails

Costs 1 rate-limit point · Rate limits

Every email Filemonk sent for one order, newest first, paginated, with the furthest point each reached: queued, sent, delivered, opened, clicked, rejected, bounced or complained.

Also searched aswas the download email deliveredemail history of an orderdid the customer open the email

Path parameters

  • idstringRequired

Query parameters

  • pageinteger

    1-based page number.

    Default 1
  • per_pageinteger

    Rows per page, max 200.

    Default 50

Returns

  • dataarray of objects
    Show 8 child attributesHide child attributes
    • idstring, nullable
      Example: 77c81a2e-4221-4a03-b784-221de4b1bf5c
    • kindstring, nullable
      Example: delivery
    • tostring, nullable
      Example: shopper@example.com
    • fromstring, nullable
      Example: alerts@example-store.filemonk.io
    • orderobject
      Show 2 child attributesHide child attributes
      • idstring, nullable
        Example: 3e84eb8d-e1d9-4e92-a4b2-a419c7f1122f
      • namestring, nullable
        Example: #1077
    • statusstring, nullable
      Example: delivered
    • timelineobject
      Show 7 child attributesHide child attributes
      • sent_atstring, nullable
        Example: 2026-10-30T23:02:25Z
      • delivered_atstring, nullable
        Example: 2026-10-30T23:02:24Z
      • opened_atany
      • clicked_atany
      • bounced_atany
      • rejected_atany
      • complained_atany
    • created_atstring, nullable
      Example: 2026-10-30T23:02:24Z
  • metaobject

    Paging of a list (page, per_page query params).

    Show 4 child attributesHide child attributes
    • total_countinteger

      Rows across all pages.

    • pageinteger

      1-based page number.

    • per_pageinteger

      Rows per page, max 200.

    • total_pagesinteger
      Example: 1

Errors

401

Missing or invalid API key.

404

The resource does not exist for this shop, or the action path is not registered.

422

The request failed validation, or sent a key the action does not take (code: "unknown_parameters" with unknown and accepted). Nothing was saved.

429

Rate limited. Cost-weighted per API key, shared with API v1: a read costs 1 point, a write 2, 40 points per fixed 60-second window. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (Unix time the window ends); a 429 adds Retry-After (seconds), retry_after, retryable: true and a next_step in the body. A 429 did nothing: wait retry_after seconds, then send the same request again. The budget is per key, so every tool or script using the key shares it; prefer one list call with per_page over many single reads.

Every error has the same shape: see Errors.

GET/orders/{id}/emails
curl "https://app.filemonk.io/api/v2/external/orders/3e84eb8d-e1d9-4e92-a4b2-a419c7f1122f/emails" \
  -H "X-Auth-Token: $FILEMONK_API_KEY"
Response
{
  "data": [
    {
      "id": "77c81a2e-4221-4a03-b784-221de4b1bf5c",
      "kind": "delivery",
      "to": "shopper@example.com",
      "from": "alerts@example-store.filemonk.io",
      "order": {
        "id": "3e84eb8d-e1d9-4e92-a4b2-a419c7f1122f",
        "name": "#1077"
      },
      "status": "delivered",
      "timeline": {
        "sent_at": "2026-10-30T23:02:25Z",
        "delivered_at": "2026-10-30T23:02:24Z",
        "opened_at": null,
        "clicked_at": null,
        "bounced_at": null,
        "rejected_at": null,
        "complained_at": null
      },
      "created_at": "2026-10-30T23:02:24Z"
    }
  ],
  "meta": {
    "total_count": 12,
    "page": 1,
    "per_page": 50,
    "total_pages": 1
  }
}