---
title: "URL rewrite detail"
method: GET
path: "/marketing/url-rewrites/{id}"
tags: ["Admin Marketing: Search & SEO"]
---

# URL rewrite detail

`GET /marketing/url-rewrites/{id}`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/marketing/url-rewrites/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/marketing/url-rewrites/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

URL rewrite detail

## Path parameters

- `id` string, required

## Response `200`

Single URL rewrite.

## Other responses

- `404`: URL rewrite not found.

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
