---
title: "Get a redirect"
method: GET
path: "/redirects/{id}"
tags: ["Private"]
---

# Get a redirect

`GET /redirects/{id}`

## Request

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

## Path parameters

- `id` string, required: Unique identifier for a redirect, represented as the base64 encoding of the from path

## Response `200`

A single redirect

- Redirect
  - `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

## Other responses

- `400`: The request was invalid.
- `404`: The specified resource was not found.
- `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)
