---
title: "List redirects"
method: GET
path: "/v1/redirects"
tags: ["redirects"]
---

# List redirects

`GET /v1/redirects`

Redirects can be created on both the shop (global) and country levels.

## Response `200`

request successful

- RedirectsResponse
  - `entities` Redirect[]
    - `id` integer, required — The unique identifier of the redirect
    - `source` string, required — The source URL for the redirect
    - `target` string, required — The target URL for the redirect
    - `statusCode` integer, required — The status code for the redirect
    - `priority` integer, required — The priority for the redirect
    - `isRegex` boolean, required — The flag if the source is a regex
  - `pagination` union
    - Pagination
      - `current` integer, required
      - `first` integer, required
      - `last` integer, required
      - `next` integer, required
      - `page` integer, required
      - `perPage` integer, required
      - `prev` integer, required
      - `total` integer, required
    - OffsetPagination
      - `total` integer, required

## Other responses

- `401` — authentication failed

## Changes

> 3 revisions in range; 1 could not be searched.

- **2023-08-06** `302b7c443b51` — 15 breaking
  - the response property `entities/items/id` became optional for the status `200`
  - the response property `entities/items/source` became optional for the status `200`
  - the response property `entities/items/statusCode` became optional for the status `200`
  - the response property `entities/items/target` became optional for the status `200`
  - …11 more

[Change history](https://skmtc.dev/scayle/apis/storefront-api-documentation/changes/v1/redirects/get.md)

---

[API](https://skmtc.dev/scayle/apis/storefront-api-documentation.md) · [All operations](https://skmtc.dev/scayle/apis/storefront-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scayle/storefront-api-documentation/revisions/8cfa924ae703/schema)
