RevKeen Docs
Api reference

List events

Returns a list of events with optional filters. Events are returned in reverse chronological order.


Related endpoints

  • GET /events/{id} — Retrieve an event
  • POST /events/{id}/resend — Resend webhook for an event
  • POST /events/test — Create a test event

Common errors

  • 401 unauthenticated — missing, malformed, or revoked API key.

Pagination

Offset-based with limit (default 25, max 100) and offset. The response pagination block includes total and hasMore. See the pagination guide for SDK auto-paging helpers.

GET
/events
x-api-key<token>

Your RevKeen API key (powered by Unkey). Get it from Dashboard > Settings > API Keys. Use rk_sandbox_* for test mode and rk_live_* for production.

In: header

Query Parameters

type?string

Filter by event type (e.g., invoice.paid)

types?string

Filter by multiple event types (comma-separated)

customer_id?string

Filter by customer ID

Formatuuid
invoice_id?string

Filter by invoice ID

Formatuuid
subscription_id?string

Filter by subscription ID

Formatuuid
order_id?string

Filter by order ID

Formatuuid
created_gte?|

Filter by created_at >= (Unix timestamp)

created_lte?|

Filter by created_at <= (Unix timestamp)

limit?integer

Maximum number of results (1-100)

Default20
Range1 <= value <= 100
starting_after?string

Cursor for pagination - return results after this event ID

Formatuuid
ending_before?string

Cursor for pagination - return results before this event ID

Formatuuid

Response Body

application/json

application/json

curl "https://api.revkeen.com/v2/events" \  -H "x-api-key: $REVKEEN_API_KEY"
{
  "object": "list",
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "object": "event",
      "type": "invoice.paid",
      "data": {
        "object": null,
        "previous_attributes": null
      },
      "request": {
        "id": "string",
        "idempotency_key": "string"
      },
      "pending_webhooks": 0,
      "api_version": "2026-01-15",
      "livemode": true,
      "created": 1704067200
    }
  ],
  "has_more": true,
  "url": "string"
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string",
    "param": "string"
  }
}