---
title: "Gets project-level redirects."
method: GET
path: "/v1/bulk-redirects"
tags: ["bulk-redirects"]
---

# Gets project-level redirects.

`GET /v1/bulk-redirects`

Get the version history for a project's bulk redirects

## Query parameters

- `projectId` string, required
- `versionId` string
- `q` string
- `diff` union
  - boolean
  - 'only'
- `page` integer
- `per_page` integer
- `sort_by` 'source' | 'destination' | 'statusCode'
- `sort_order` 'asc' | 'desc'
- `teamId` string
- `slug` string

## Response `200`

- union
  - object
  - object
    - `version` object, required
      - `id` string, required — The unique identifier for the version.
      - `key` string, required — The key of the version. The key may be duplicated across versions if the contents are the same as a different version.
      - `lastModified` number, required
      - `createdBy` string, required
      - `name` string — Optional name for the version. If not provided, defaults to an ISO timestamp string.
      - `isStaging` false | true — Whether this version has not been promoted to production yet and is not serving end users.
      - `isLive` false | true — Whether this version is currently live in production.
      - `redirectCount` number — The number of redirects in this version.
      - `alias` string — The staging link for previewing redirects in this version.
    - `redirects` object[], required
      - `statusCode` number
      - `permanent` false | true
      - `sensitive` false | true
      - `caseSensitive` false | true
      - `query` false | true
      - `preserveQueryParams` false | true
      - `destination` string, required
      - `source` string, required
    - `pagination` object, required
      - `page` number, required
      - `per_page` number, required
      - `numPages` number, required
  - object
    - `redirects` object[], required
      - `statusCode` number
      - `permanent` false | true
      - `sensitive` false | true
      - `caseSensitive` false | true
      - `query` false | true
      - `preserveQueryParams` false | true
      - `destination` string, required
      - `source` string, required
    - `version` object
      - `id` string, required — The unique identifier for the version.
      - `key` string, required — The key of the version. The key may be duplicated across versions if the contents are the same as a different version.
      - `lastModified` number, required
      - `createdBy` string, required
      - `name` string — Optional name for the version. If not provided, defaults to an ISO timestamp string.
      - `isStaging` false | true — Whether this version has not been promoted to production yet and is not serving end users.
      - `isLive` false | true — Whether this version is currently live in production.
      - `redirectCount` number — The number of redirects in this version.
      - `alias` string — The staging link for previewing redirects in this version.
    - `pagination` object, required
      - `page` number, required
      - `per_page` number, required
      - `numPages` number, required

## Other responses

- `400` — One of the provided values in the request query is invalid.
- `401` — The request is not authorized.
- `403` — You do not have permission to access this resource.
- `404`
- `410`

---

[API](https://skmtc.net/vercel/apis/api.md) · [All operations](https://skmtc.net/vercel/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vercel/api/versions/61d1ba3f6dac/schema)
