---
title: "List URL rewrites"
method: GET
path: "/marketing/url-rewrites"
tags: ["Admin Marketing: Search & SEO"]
---

# List URL rewrites

`GET /marketing/url-rewrites`

## Request

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

Filters: entity_type, request_path (LIKE), redirect_type, locale. Sort: id (default desc), entity_type, locale, redirect_type.

## Query parameters

- `page` integer
- `per_page` integer
- `entity_type` string
- `request_path` string
- `redirect_type` string
- `locale` string
- `sort` 'id' | 'entity_type' | 'locale' | 'redirect_type'
- `order` 'asc' | 'desc'

## Response `200`

Paginated list in the { data, meta } envelope.

---

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