Skip to content
Dashboard
Theme
Theme

List the environment's email events

GET /v1/email_events: List the environment's email events.

View Markdown

GET /v1/email_events

The mail OhAuthCat sent for the environment (notices, invitations, one-time codes), newest first. A row names the template, the provider and the result, and the recipient’s domain only; the address itself is never stored or returned. kind, status and recipient_domain are exact filters.

Scope
environment:read
Auth
Secret key (sk_…)
Since
1.0
  • limit integer

    min 1 · max 100 · default 20

  • after string

    Cursor from next_cursor.

  • kind string

    The template name, for example cert_expiring.

    max length 64

  • status string

    one of sent, failed

  • recipient_domain string

    max length 253

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

Errors share one shape; see the error code catalogue.

curl -X GET \
"https://api.ohauthcat.com/v1/email_events" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"object": "list",
"data": [
{
"id": "01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"object": "email_event",
"kind": "default",
"status": "sent",
"provider": "okta",
"recipient_domain": "acme.com",
"created_at": "2026-01-15T09:30:00Z"
}
],
"has_more": true,
"next_cursor": "cur_01J9Z3K5V7W8X9Y0Z1A2B3C4D5"
}