Skip to content
CirrusDocs

API reference

Events

The delivery events of your emails, newest first.

List delivery events.

GET/v1/events

Needs an API key with the email:read scope. Operation listDeveloperEvents

The event ledger, newest first.

Parameters

  • email_idqueryoptional

    Only the events of this email.

    uuid

  • limitqueryoptional

    How many rows to return.

    integer

    default: 251 to 100
  • cursorqueryoptional

    pagination.next_cursor from the previous page.

    string

Responses

  • 200EventList

    One page of events, newest first.

    object

    • dataEvent[]required
      Show fields (8)
      • iduuidrequired
      • email_iduuidrequired
      • typeEventTyperequired

        A fact about one recipient. opened and clicked come from the platform's own open and click tracking of marketing and promotional email; their detail is the class: human, proxy:<which> (an image proxy such as Apple Mail Privacy Protection loaded the image) or suspected_bot:<why>. open_event and click_event are signals reported by the email provider. None of them is proof that anyone read the message.

        One ofsubmittedaccepteddeliveredbouncedsoft_bouncedcomplainedcancelledfailedunknownopen_eventclick_eventopenedclicked
      • recipientstringoptional

        The recipient the event is about. Absent for events about the whole message.

      • streamStreamrequired

        The kind of email. Streams do not share sending controls.

        One oftransactionalmarketingpromotional
      • detailstringoptional

        More about the event, such as a bounce reason. Absent when there is none.

      • test_modebooleanrequired
      • occurred_atdate-timerequired
    • paginationPaginationrequired

      How to fetch the next page of a list.

      Show fields (2)
      • next_cursorstringoptional

        Pass as ?cursor= to get the next page. Present only when has_more is true.

      • has_morebooleanrequired
  • 401InvalidApiKey
    • unauthenticated: no API key was sent.
    • invalid_api_key: the key is unknown, revoked or expired.

    The body is the error envelope.

  • 403InsufficientScope
    • insufficient_scope: the API key does not hold the scope this operation needs.
    • account_suspended: the organisation is suspended; none of its keys work until that is lifted.
    • account_closed: the organisation has been closed; none of its keys will work again.

    The body is the error envelope.

  • 422ValidationFailed
    • validation_failed: details names each invalid field.

    The body is the error envelope.

  • 429RateLimited
    • rate_limited: too many requests. Wait Retry-After seconds.
    • Retry-After header: How many seconds to wait before trying again.
    • RateLimit-Limit header: How many requests the limit that stopped this one allows per period.
    • RateLimit-Remaining header: How many requests are left in the current period.

    The body is the error envelope.

Example

Request
curl https://api.cirrusmail.example/v1/events \
  -H "Authorization: Bearer $CIRRUS_API_KEY"
Response 200
{
  "data": [
    {
      "id": "b3c1f5a4-7d2e-4c8a-9a1b-0e6f2d4a8c11",
      "email_id": "b3c1f5a4-7d2e-4c8a-9a1b-0e6f2d4a8c11",
      "type": "submitted",
      "recipient": "ann@example.org",
      "stream": "transactional",
      "detail": "string",
      "test_mode": false,
      "occurred_at": "2026-01-15T09:30:00Z"
    }
  ],
  "pagination": {
    "next_cursor": "eyJvIjoiMjAifQ",
    "has_more": false
  }
}