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 authentication_error` — missing, invalid, expired, or revoked credential. Codes: `authentication_failed`, `invalid_api_key`, `expired_api_key`, `api_key_revoked`, `session_invalid`, `merchant_required`. Carries a `WWW-Authenticate: Bearer` challenge. **Pagination** Offset-based with `limit` (default 25, max 100) and `offset`. The response `pagination` block includes `total` and `hasMore`. See [the pagination guide](/docs/fundamentals/pagination) for SDK auto-paging helpers.
Returns a list of events with optional filters. Events are returned in reverse chronological order.
Related endpoints
GET /events/{id}— Retrieve an eventPOST /events/{id}/resend— Resend webhook for an eventPOST /events/test— Create a test event
Common errors
401 authentication_error— missing, invalid, expired, or revoked credential. Codes:authentication_failed,invalid_api_key,expired_api_key,api_key_revoked,session_invalid,merchant_required. Carries aWWW-Authenticate: Bearerchallenge.
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.
Your RevKeen merchant API key. Create and manage keys in Dashboard → Settings → Developer. Use rk_sandbox_* for staging/test and rk_live_* for production. The same key may be sent as Authorization: Bearer <key> if that suits your HTTP client better. A missing, invalid, expired, or revoked key returns 401 with a WWW-Authenticate: Bearer challenge; a valid key without the required scope returns 403.
In: header
Query Parameters
Filter by event type (e.g., invoice.paid)
Filter by multiple event types (comma-separated)
Filter by customer ID
uuidFilter by invoice ID
uuidFilter by subscription ID
uuidFilter by order ID
uuidFilter by created_at >= (Unix timestamp)
Filter by created_at <= (Unix timestamp)
Maximum number of results (1-100)
1 <= value <= 10020Cursor for pagination - return results after this event ID
uuidCursor for pagination - return results before this event ID
uuidResponse Body
application/json
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": "string", "data": { "object": null, "previous_attributes": null }, "request": { "id": "string", "idempotency_key": "string" }, "pending_webhooks": 0, "api_version": "string", "livemode": true, "created": 0 } ], "has_more": true, "url": "string"}Retrieve an event GET
Retrieves the details of an event by its ID. --- **Related endpoints** - `GET /events` — List events - `POST /events/{id}/resend` — Resend webhook for an event - `POST /events/test` — Create a test event **Common errors** - `401 authentication_error` — missing, invalid, expired, or revoked credential. Codes: `authentication_failed`, `invalid_api_key`, `expired_api_key`, `api_key_revoked`, `session_invalid`, `merchant_required`. Carries a `WWW-Authenticate: Bearer` challenge. - `404 resource_missing` — the referenced resource does not exist or is not visible to your key.
Resend webhook for an event POST
Queues the event to be resent to all configured webhook endpoints. --- **Related endpoints** - `GET /events` — List events - `GET /events/{id}` — Retrieve an event - `POST /events/test` — Create a test event **Common errors** - `401 authentication_error` — missing, invalid, expired, or revoked credential. Codes: `authentication_failed`, `invalid_api_key`, `expired_api_key`, `api_key_revoked`, `session_invalid`, `merchant_required`. Carries a `WWW-Authenticate: Bearer` challenge. - `404 resource_missing` — the referenced resource does not exist or is not visible to your key. **Idempotency** Pass an `Idempotency-Key` header (UUID v4 recommended) to make retries safe. Keys are valid for 24 hours; see [the idempotency guide](/docs/fundamentals/idempotency).