---
title: "Stages new redirects for a project."
method: PUT
path: "/v1/bulk-redirects"
tags: ["bulk-redirects"]
---

# Stages new redirects for a project.

`PUT /v1/bulk-redirects`

Stages new redirects for a project and returns the new version.

## Query parameters

- `teamId` string
- `slug` string

## Request body

- object
  - `projectId` string, required
  - `teamId` string, required
  - `overwrite` boolean
  - `name` string
  - `redirects` object[]
    - `source` string, required
    - `destination` string, required
    - `statusCode` union
      - number
      - string
    - `permanent` boolean
    - `caseSensitive` boolean
    - `query` boolean
    - `preserveQueryParams` boolean

## Response `200`

- object
  - `alias` string, nullable, required
  - `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.

## Other responses

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

---

[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)
