# External API

Read your workspace's meetings from your own systems with an API token, including authentication, filters, paging, rate limits and errors.

Source: https://support.rework.com/article/meeting-external-api

The Meetings external API lets your own systems — a data warehouse, an internal dashboard, a reporting script — read the meetings in your workspace. It is read-only and authenticated with an API token that belongs to the workspace, not to a person.

## Who can do this

- Developers with an API token for the Meetings app.
- A token gives access to **every meeting in the workspace** within its scope, regardless of who could see them in the app. Hand tokens out carefully.

## Before you start

- Ask your Rework administrator for an API token for the Meetings app. Tokens can carry a password, a list of scopes and an IP allowlist; your administrator will tell you which apply.
- To read meetings, the token must either have no scope list or include the scope `meeting.read`.

## Steps

### 1\. Call the endpoint

Send requests through the Rework API gateway:

```
https://apis.<your-rework-domain>/meeting/v1/meeting/list
```

Both `GET` and `POST` work. Parameters can go in the query string or a JSON body (the body wins if both are sent).

### 2\. Authenticate

| Header | Required | Notes |
| --- | --- | --- |
| `X-API-TOKEN` | Yes | The token you were issued. |
| `X-API-PASSWORD` | Only if your token has a password |  |

If you can't set headers, send `access_token` and `password` in a POST body instead. Headers take precedence.

```bash
curl -s https://apis.<your-rework-domain>/meeting/v1/meeting/list \
  -H "X-API-TOKEN: $MEETING_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"tab":"upcoming","per_page":50}'
```

### 3\. Filter and page

| Parameter | Type | Default | Notes |
| --- | --- | --- | --- |
| `service_id` | string | — | Only meetings in one meeting service. |
| `tab` | text | `all` | `all`, `upcoming`, `today`, `past`, `completed` or `canceled`. Unknown values mean `all`. |
| `q` | text | — | Searches name, description and location (first 200 characters used). |
| `from` / `to` | Unix seconds | — | Inclusive bounds on the start time. |
| `page` | number | `0` | **Starts at 0.** |
| `per_page` | number | `20` | 1 to 100. |

What the tabs mean:

| Tab | Meetings returned | Order |
| --- | --- | --- |
| `all` | Everything | Newest first |
| `upcoming` | Start in the future, not cancelled | Soonest first |
| `today` | Start today, not cancelled | Soonest first |
| `past` | Ended, not completed, not cancelled | Newest first |
| `completed` | Marked completed | Newest first |
| `canceled` | Cancelled | Newest first |

Keep requesting the next `page` while `has_more` is `true`. Meetings created or moved during a long walk can shift between pages; set `from` and `to` for a stable snapshot.

## How it works

### Response

```json
{
  "status": 1,
  "meetings": [ { "id": "…", "name": "Weekly sync", "stime": 1759276800, "etime": 1759280400, "…": "…" } ],
  "page": 0,
  "per_page": 20,
  "total": 143,
  "has_more": true,
  "counts": { "all": 143, "upcoming": 12, "today": 3, "past": 118, "completed": 20, "canceled": 5, "active": 118, "durationTotal": 462600 }
}
```

- `total` counts meetings matching the current `tab` and filters.
- `counts` are totals for the whole workspace (or the `service_id`) and do **not** change with `tab`, `q`, `from` or `to`. `durationTotal` is the summed meeting length in seconds.

### Meeting fields

| Field | Notes |
| --- | --- |
| `id`, `service_id` | `service_id` is `null` for a meeting without a service. |
| `name`, `location` | `location` is empty when unset. |
| `stime`, `etime` | Start and end, Unix seconds. |
| `status` | `active`, `completed` or `discarded`. |
| `meeting_status` | `opened` or `canceled`. |
| `owners`, `members`, `followers` | User ids (hosts are `owners`). |
| `conference_url` | Video link, or `null`. |
| `source` | `{ id, app, gid }` when the meeting was filed from another Rework app, else `null`. |
| `linked_gids` | Every record the meeting is associated with. |
| `created_by`, `created_at`, `updated_at` |  |

**Cancelled meetings:** a cancelled meeting usually keeps `status: "active"`. Check `meeting_status: "canceled"` first, then `status: "completed"`, otherwise treat it as active.

Not included on purpose: description, agenda, checklists, attendance, custom-field values, guests' email addresses and internal data.

### Errors

Every response has a numeric top-level `status`: `1` for success, `0` with an `error` otherwise. (Don't confuse it with a meeting's own `status` field.)

| HTTP | `error` | Meaning |
| --- | --- | --- |
| 401 | `unauthorized` | Any credential problem — missing, wrong or revoked token, wrong password, IP not allowed, inactive workspace. The exact reason isn't disclosed. |
| 404 | `not_found` | Valid token, but no such endpoint. |
| 429 | `rate_limited` | Too many requests — see below. |
| 503 | `zone_unavailable` | Temporary server problem. Retry. |
| 200 | `insufficient_scope` | The token's scopes don't include `meeting.read`. |

### Rate limits

| Limit | Default |
| --- | --- |
| Per token | 200 requests per 10 minutes |
| All of the workspace's tokens together | 1,000 requests per hour |

A `429` response includes `Retry-After` and `X-RateLimit-*` headers, and a body with `scope` (`key` for your token, `system` for the workspace-wide budget) and `retry_after` in seconds. Wait that long before retrying.

## Good to know

- The API is versioned. `v1` won't change in breaking ways; new fields may be added.
- `meeting/list` is currently the only endpoint.
- Bookings and booking schedules are not available through this API. For booking events, use [Automation triggers for bookings](https://support.rework.com/article/meeting-automation-booking-triggers).

## Related articles

- [Embed meetings in other apps](https://support.rework.com/article/meeting-embed-meetings-in-other-apps)
- [Automation triggers for bookings](https://support.rework.com/article/meeting-automation-booking-triggers)
- [Meetings list](https://support.rework.com/article/meeting-meetings-list)
- [What is a meeting service](https://support.rework.com/article/meeting-what-is-a-meeting-service)
