Log In

List an Invoice's Emails

get/public/v1/invoices/{invoice}/email-log

Every email about the invoice, oldest first: each send, resend, payment reminder and void notice, with each recipient's delivery status.

  • Authorizationstringrequired

    Bearer authentication header of the form Bearer <token>, where <token> is your API key. See How to set up an API key.

  • invoicestringrequired

    The invoice UUID

  • page[size]integer

    Number of results per page. Minimum 1, maximum 100.

    Default:25
  • page[number]integer

    The page number to retrieve. Use the last_page value from the meta response to determine the total number of pages available.

    Default:1

Response

200application/json

Paginated set of InvoiceEmailResource

  • dataobject[]required
    ▶Show 4 child attributes
    • idstringrequired
      Example:e1m2a3i4-l5a6-47b8-9c0d-1e2f3a4b5c6d
    • reasonstring | nullrequired
      Example:invoice_sent
    • created_atstringrequired
      Example:2024-01-15T10:30:00+00:00
    • recipientsobject[]required
      ▶Show 4 child attributes
      • idstringrequired
        Example:r1e2c3i4-p5i6-47e8-9n0t-1a2b3c4d5e6f
      • typestringrequired
        Example:to
      • emailstringrequired
        Example:accounts@example.com
      • statusstringrequired
        Example:delivered
  • metaobjectrequired
    ▶Show 5 child attributes
    • current_pageintegerrequired≥ 1
    • last_pageintegerrequired≥ 1
    • per_pageintegerrequired≥ 0

      Number of items shown per page.

    • totalintegerrequired≥ 0

      Total number of items being paginated.

    • allowed_sortsstring[]required

      The list of allowed sorts for this endpoint.

  • 401Unauthenticated
  • 403Authorization error
  • 404Not found