# List events

`GET /onair.event.list`

## Description

Returns a paginated list of On-Air events for the organization.

Results are sorted by start time in descending order (most recent first).

**Access:** Organization and Personal.

**Required scope:** `onair:read`

---

**OpenAPI Spec:** [onair.json](https://developer.ro.am/onair.json)

## Authentication

```
Authorization: Bearer YOUR_API_KEY
```

## Parameters

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `cursor` | query | string | No | Opaque pagination cursor from a previous response's `nextCursor`. Do not construct cursors manually. |
| `limit` | query | integer | No | Maximum number of events to return (default 50). |

## Responses

### 200 - A paginated list of events.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `events` | OnAirEvent[] | No |  |
| `nextCursor` | string | No | Opaque cursor to fetch the next page. Absent when there are no more results. |

**OnAirEvent** (array item):

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | string | Yes | Unique identifier of the event. |
| `title` | string | Yes | Title of the event. |
| `description` | string | No | Description of the event. |
| `slug` | string | Yes | URL-friendly slug for the event. |
| `start` | string | Yes | Start time of the event (RFC 3339). |
| `end` | string | Yes | End time of the event (RFC 3339). |
| `timeZone` | string | Yes | IANA time zone identifier (e.g. `America/New_York`). |
| `eventPageUrl` | string | Yes | Public URL of the event page. |
| `joinLinkUrl` | string | No | URL for joining the event. |
| `enableSEO` | boolean | Yes | Whether the event page is indexed by search engines. |
| `autoAdmit` | boolean | Yes | Whether guests are automatically admitted when they join. |
| `disableRSVP` | boolean | Yes | Whether RSVPs are disabled for this event. |
| `hosts` | OnAirHost[] | Yes | List of hosts for the event. |

**OnAirHost** (array item):

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | string | Yes | Unique identifier of the host. |
| `name` | string | No | Display name of the host. |
| `imageUrl` | string | No | URL of the host's profile image. From API version `2026-08-25`, write paths require a Roam-hosted avatar URL from [`/asset.create`](/docs/api/asset-create) with `purpose: "avatar"`, or a legacy `/card |


#### Example Response

```json
{
  "events": [
    {
      "id": "evt_abc123",
      "title": "Q1 All Hands",
      "slug": "q1-all-hands",
      "start": "2026-04-01T14:00:00Z",
      "end": "2026-04-01T15:00:00Z",
      "timeZone": "America/New_York",
      "eventPageUrl": "https://ro.am/e/q1-all-hands",
      "enableSEO": true,
      "autoAdmit": false,
      "disableRSVP": false,
      "hosts": []
    }
  ],
  "nextCursor": "YzE6ZXZ0X2FiYzEyMw"
}
```

### 400 - Bad request.

### 401 - Presented invalid authentication credentials.

### 500 - An internal error occurred.

---

*Machine-readable API documentation.*
*Full documentation: https://developer.ro.am/docs/onair-api/onair-event-list*
