Emails

List sent emails

GET/emails

Newest first. Filter by status, a tag (name:value) or a time window.

Permission: emails:read · on the API key screen: Transactional email → Read access · All permissions

Query parameters

  • limitnumber

    Page size (default 50).

    From 1 to 100.

  • cursorstring

    next_cursor of the previous page.

    At most 400 characters.

  • statusstring

    Only emails in this status.

    One of: scheduled queued sending sent failed cancelled

    At most 2,000 characters.

  • tagstring

    Only emails with this tag: name:value, or just a name for any value.

    At least 1 characters. At most 321 characters.

  • sincestring

    Only emails created at or after this time.

    At most 2,000 characters.

  • untilstring

    Only emails created before this time.

    At most 2,000 characters.

Response

  • objectstring

    One of: list

    At most 2,000 characters.

  • dataobject[]

    At most 100 items.

    Show properties
    • objectstring

      One of: email

      At most 2,000 characters.

    • idstring

      At most 2,000 characters.

    • statusstring

      One of: scheduled queued sending sent failed cancelled

      At most 2,000 characters.

    • last_eventstring | null

      One of: sent delivered delivery_delayed bounced complained opened clicked failed suppressed

      At most 2,000 characters.

    • fromstring

      At most 400 characters.

    • tostring[]

      At most 50 items.

    • ccstring[]

      At most 50 items.

    • bccstring[]

      At most 50 items.

    • reply_tostring[]

      At most 50 items.

    • subjectstring

      At most 998 characters.

    • template_idstring | null

      The transactional template the email was rendered from (template_id on the send); null when it was sent with its own html / text.

      At most 2,000 characters.

    • tagsobject[]

      At most 10 items.

      Show properties
      • namestringrequired

        Letters, digits, _ and -.

        At least 1 characters. At most 64 characters.

      • valuestringrequired

        Letters, digits, _ and -.

        At least 1 characters. At most 256 characters.

    • attachmentsobject[]

      At most 10 items.

      Show properties
      • filenamestring

        At most 255 characters.

      • content_typestring | null

        At most 127 characters.

      • sizenumber
    • suppressedstring[]

      Recipients that were not sent to because the address is on the account's suppression list (a hard bounce, a complaint or a manual block).

      At most 50 items.

    • errorstring | null

      At most 2,000 characters.

    • scheduled_atstring | null

      At most 2,000 characters.

    • sent_atstring | null

      At most 2,000 characters.

    • created_atstring

      At most 2,000 characters.

    • eventsobject[]

      What happened to the email, oldest first (GET /emails/{id} only; empty in lists).

      At most 200 items.

      Show properties
      • typestring

        One of: sent delivered delivery_delayed bounced complained opened clicked failed suppressed cancelled

        At most 2,000 characters.

      • atstring

        At most 2,000 characters.

      • detailstring | null

        At most 2,000 characters.

  • has_moreboolean
  • next_cursorstring | null

    At most 400 characters.