---
title: "Get a list of unordered redirects"
method: GET
path: "/redirects"
tags: ["Private"]
---

# Get a list of unordered redirects

`GET /redirects`

## Request

- Base URL: `/v1` (relative, and the document’s source URL is not known)
- URL: `/v1/redirects`
- Auth: none required

## Query parameters

- `count` integer
- `cursor` integer

## Response `200`

Paginated list of unordered redirects

- RedirectList
  - `count` integer: How many redirects are present in the response
  - `items` Redirect[]: Array containing results.
    - `from` string
    - `to` string
    - `id` string: Unique identifier for a redirect, represented as the base64 encoding of the from path
    - `links` object
      - `self` object: A link to the individual redirect
        - `href` string: A fully qualified URL to the redirect API response
        - `id` string: Unique identifier for a redirect, represented as the base64 encoding of the from path
  - `cursor` string: The cursor we're returning items for.
  - `next_cursor` string: Cursor to use for the next page. "0" means end of iteration.
  - `total_count` integer: How many redirects are available in total

## Other responses

- `400`: The request was invalid.
- `500`: Failed to process the request due to an internal error.

---

[API](https://skmtc.dev/office-of-national-statistics/apis/dis-redirect-api.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/dis-redirect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/dis-redirect-api/revisions/b0310191154e?raw)
