---
title: "List access review campaigns"
method: GET
path: "/accessReviews/campaigns"
tags: ["Access Reviews"]
---

# List access review campaigns

`GET /accessReviews/campaigns`

## Request

- Base URL: `https://api.toriihq.com/v1.0`
- URL: `https://api.toriihq.com/v1.0/accessReviews/campaigns`
- Auth: API key in header `Authorization`

Lists access review campaign executions bucketed by state. Completed and archived executions include the file IDs of their auto-generated report ZIPs (per-app CSVs, and per-app PDFs), which can be downloaded via the `GET /files/{id}/download` endpoint. A null file ID on a completed execution means the report is still being generated — retry shortly. Archived executions hold partial reports for campaigns that were cancelled or archived before completion. `completedExecutions` includes runs concluded early by an admin.

Ordering: every bucket is newest-first. Each bucket returns at most `limit` executions (default 100, max 1000) — a bucket holding exactly `limit` items may have older ones beyond it; raise `limit` to fetch deeper history. Use `completedAfter` to poll for newly completed executions — it returns only executions whose `completionTime` is strictly after the given timestamp.

Example — download the latest completed campaign report:

`curl -H "Authorization: Bearer API_KEY" "https://api.toriihq.com/v1.0/accessReviews/campaigns?completedAfter=2026-09-01T00:00:00Z"`

* * *

`curl -L -H "Authorization: Bearer API_KEY" -o report.zip "https://api.toriihq.com/v1.0/files/{REPORT_ZIP_FILE_ID}/download"`

*   Rate limit: 600 requests per minute

## Query parameters

- `limit` integer
- `completedAfter` string, date

## Response `200`

Access Review Campaigns

- AccessReviewCampaigns: Access Review Campaigns
  - `activeExecutions` ActiveExecution[]
    - `id` integer: Campaign execution (run) ID
    - `idCampaign` integer: Campaign ID
    - `name` string
  - `completedExecutions` CompletedExecution[]
    - `id` integer: Campaign execution (run) ID
    - `idCampaign` integer: Campaign ID
    - `name` string
    - `completionTime` string, date: When the execution completed
    - `reportZipFileId` integer: File ID of the campaign report ZIP (CSV per app), for GET /files/{id}/download. Null while the report is still being generated.
    - `reportZipPdfFileId` integer: File ID of the campaign report ZIP (PDF per app), for GET /files/{id}/download. Null while the report is still being generated.
  - `archivedExecutions` ArchivedExecution[]
    - `id` integer: Campaign execution (run) ID
    - `idCampaign` integer: Campaign ID
    - `name` string
    - `archiveTime` string, date: When the execution was archived/cancelled
    - `reportZipFileId` integer: File ID of the campaign report ZIP (CSV per app), for GET /files/{id}/download. Null while the report is still being generated.
    - `reportZipPdfFileId` integer: File ID of the campaign report ZIP (PDF per app), for GET /files/{id}/download. Null while the report is still being generated.

---

[API](https://skmtc.dev/toriihq/apis/torii-api-documentation.md) - [All operations](https://skmtc.dev/toriihq/apis/torii-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/toriihq/apis/torii-api-documentation/revisions/15fd1512591b?raw)
