🔔 Webhooks & EventsEvents

List events

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

GET/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

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 for SDK auto-paging helpers.

x-api-key<token>

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

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)

Range0 <= value <= 253402300799
created_lte?|

Filter by created_at <= (Unix timestamp)

Range0 <= value <= 253402300799
limit?integer

Maximum number of results (1-100)

Range1 <= value <= 100
Default20
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

application/json

Stuck on an error response? Ask the RevKeen assistant to explain it.
curl -X GET "https://api.revkeen.com/v2/events?type=invoice.paid&types=invoice.paid%2Cpayment.succeeded" \
  -H "x-api-key: $REVKEEN_API_KEY"

Synthetic documentation data, validated against the response schema; not a live API result.

{  "object": "list",  "data": [    {      "id": "00000000-0000-4000-8000-000000000001",      "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": "https://example.com/webhooks/revkeen"}

Put this endpoint to work