---
title: "Returns a list of events"
method: GET
path: "/events"
tags: ["Events"]
---

# Returns a list of events

`GET /events`

Gets events, extending back 30 days, filtered by the specified path parameter.

## Query parameters

- `createdTime` object
- `endingBefore` string
- `startingAfter` string
- `limit` integer
- `type` string
- `types` string

## Response `200`

200 OK. The response contains a <code>data</code> attribute that consists of an array. Each entry in the array is a separate event object.

- object
  - `hasMore` boolean — Indicates whether more elements are available. If <code>false</code> this set represents the end of the list.
  - `data` Event[]
    - `id` string, uuid, required — The unique identifier of the event.
    - `createdTime` string, date-time — The time when the event was created.
    - `digitalRiverVersion` string, date
    - `data` EventData, required
      - `object` object — In most cases, contains the same values as the corresponding object. For example, a <code>charge.created</code> event contains a <code>data.object</code> that is identical to the Charge object that triggered the event.
      - `previousAttributes` object — Contains the names of the attributes that have changed and their previous values.
    - `liveMode` boolean, required — Has the value <code>true</code> if the object exists in live mode or the value false if the object exists in test mode.
    - `type` string, required — The type of event.

## Other responses

- `400` — 400 Bad Request
- `401` — 401 Unauthorized
- `403` — 403 Forbidden
- `405` — 405 Method Not Allowed
- `406` — 406 Not Acceptable
- `408` — 408 Request Timeout
- `429` — 429 Too Many Requests
- `500` — 500 Internal Server Error
- `502` — 502 Bad Gateway Error
- `503` — 503 Service Unavailable Error
- `504` — 504 Gateway Timeout Error

---

[API](https://skmtc.net/digitalriver/apis/digital-river-api-reference.md) · [All operations](https://skmtc.net/digitalriver/apis/digital-river-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalriver/digital-river-api-reference/revisions/f21981db32be/schema)
