---
title: "Poll events"
method: GET
path: "/events"
tags: ["Events"]
---

# Poll events

`GET /events`

## Request

- Base URL: `https://app.torgix.ai/v1`
- URL: `https://app.torgix.ai/v1/events`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://app.torgix.ai/oauth/authorize`, token URL `https://app.torgix.ai/oauth/token`, scopes: `read`)

Pull recent events without a webhook. Cursor forward with the `cursor` field of the last item. Events are recorded for every create, update and delete made through the API (`<resource>.created`, `.updated`, `.deleted`).

## Query parameters

- `page_size` integer
- `cursor` string
- `event_type` string

## Response `200`

A page of events.

- EventList
  - `data` object[]
    - `cursor` string
    - `id` string
    - `type` string
    - `resource` string
    - `resource_id` string, nullable
    - `data` object, nullable
    - `created_at` string, date-time
  - `next_cursor` string, nullable
  - `request_id` string

## Other responses

- `401`: Missing or invalid credentials.
- `403`: API access not enabled for the account, missing scope, or IP not allowlisted.
- `429`: Per-second rate limit exceeded.

---

[API](https://skmtc.dev/torgix/apis/torgix-api.md) · [All operations](https://skmtc.dev/torgix/apis/torgix-api/llms.txt) · [OpenAPI document](https://skmtc.dev/torgix/apis/torgix-api/revisions/e675a45c026d?raw)
