List URL Rewrites
Lists every URL rewrite in the store — the data behind the admin Marketing → Search & SEO → URL Rewrites datagrid.
TIP
New here? Read the URL Rewrites overview for what a URL rewrite does and how its fields behave.
Endpoint
| Endpoint | Method |
|---|---|
/api/admin/marketing/url-rewrites | GET |
Response envelope
Admin collections return a { data, meta } body envelope:
data— the URL-rewrite rows for this page.meta—currentPage,perPage,lastPage,total,from,to.
Each row carries the full rewrite fields shown in the example.
Query parameters
| Parameter | Description |
|---|---|
page, per_page | Pagination (per_page default 10, max 50) |
entity_type | product / category / cms_page |
request_path | Source path — partial match |
redirect_type | 301 (permanent) / 302 (temporary) |
locale | Locale code |
sort, order | Sort field (id, entity_type, locale, redirect_type) + asc / desc (default id desc) |
Filters compose with logical AND — more filters narrow the result.
Every /api/admin/* request requires an admin Bearer token.

