Skip to main content
GET
/
events
cURL
curl --request GET \
  --url https://api.opal.dev/v1/events \
  --header 'Authorization: Bearer <token>'
{
  "next": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
  "previous": "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ",
  "results": [
    {
      "event_id": "29827fb8-f2dd-4e80-9576-28e31e9934ac",
      "actor_user_id": "1b978423-db0a-4037-a4cf-f79c60cb67b3",
      "created_at": "2022-01-23T04:56:07.000Z",
      "event_type": "USERS_CREATED"
    },
    {
      "event_id": "7646aa9a-e2ee-4eb5-8c62-91f29038a373",
      "actor_user_id": "1b978423-db0a-4037-a4cf-f79c60cb67b3",
      "created_at": "2022-02-03T12:33:02.000Z",
      "event_type": "USER_TEAM_UPDATED"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

start_date_filter
string

A start date filter for the events.

end_date_filter
string

An end date filter for the events.

actor_filter
string<uuid>

An actor filter for the events. Supply the ID of the actor.

object_filter
string<uuid>

An object filter for the events. Supply the ID of the object.

event_type_filter
string

An event type filter for the events.

api_token_filter
string

An API filter for the events. Supply the name and preview of the API token.

cursor
string

The pagination cursor value.

page_size
integer

Number of results to return per page. Default is 200.

Required range: x <= 1000

Response

200 - application/json

One page worth of events with the appropriate filters applied.

next
string | null

The cursor with which to continue pagination if additional result pages exist.

Example:

"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"

previous
string | null

The cursor used to obtain the current result page.

Example:

"cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ"

results
object[]