latestOpenAPI 3.1.02026-08-1014497184.0 KB

8b99dca11019

List all events

Retrieves a paginated list of events for the project.

get/events

Query parameters

limitinteger

defines the maximum number of items to return per page (default: 50)

starting_afterstring

a cursor for use in pagination, points to the last ID in previous page

ending_beforestring

a cursor for use in pagination, points to the first ID in next page

Response

OK

Example response

{
  "data": [
    {
      "id": "123",
      "timestamp": "2021-01-01T00:00:00Z",
      "type": "example_type"
    }
  ],
  "links": {
    "first": "https://api.magicbell.com/v1/example",
    "next": "https://api.magicbell.com/v1/example?page_next=abc",
    "prev": null
  }
}