/channels/{channelCode}/redirects
List a channel's URL redirects
Returns the redirects the channel's web shop applies before it matches a route: the ones created by hand or over this API, and the 301s Fluit records itself when a product, category or page changes slug. hitCount and lastHitAt show whether a redirect is still in use.
Show the full description
Sorted by fromPath. There is no delta sync for redirects: read the full list to reconcile.
Path parameters
| Field | Type | Description |
|---|---|---|
channelCode
Required
|
string | Code of the channel whose redirects to list. |
Query parameters
| Field | Type | Description |
|---|---|---|
search
|
string | Matches fromPath and toPath, case-insensitively and on partial words. |
isActive
|
boolean | Filters on whether the redirect is active. |
page
|
integer | Page to return, 1-based. Default 1. |
pageSize
|
integer | Number of records per page. Default 50, max 200. |
Responses
PagedResult_PublicRedirectResponse
Paginated response: the fields below sit in items[], wrapped in totalCount, page, pageSize, totalPages, hasPreviousPage and hasNextPage. Paginated
| Field | Type | Description |
|---|---|---|
channelCode
Required
|
string · nullable | Code of the channel the redirect belongs to. |
createdDate
|
string(date-time) | |
fromPath
Required
|
string · nullable | The old path that is redirected, normalized to lowercase with a leading slash and no trailing slash, e.g. `/old-product`. Unique within the channel. |
hitCount
|
integer | Number of times a visitor has followed the redirect. |
id
|
string(uuid) | Stable id of the redirect. Use it to update or delete it. |
isActive
|
boolean | Whether the storefront applies the redirect. |
lastHitAt
|
string(date-time) · nullable | When a visitor last followed the redirect, or null if never. |
links
|
Links | Hypermedia links for a public API resource. Exposed as a computed `links` property on the public response DTOs so that create and read responses carry the same self-reference — the canonical URL is derived from the business key already present on the DTO and can never drift from the route it points at. |
modifiedDate
|
string(date-time) · nullable | |
statusCode
|
integer | HTTP status code of the redirect: 301 (permanent) or 302 (temporary). |
toPath
Required
|
string · nullable | Where the visitor is sent: a path starting with `/` or an absolute http(s) URL. |
ProblemDetails
No channel with that code.
| Field | Type |
|---|---|
detail
|
string · nullable |
instance
|
string · nullable |
status
|
integer · nullable |
title
|
string · nullable |
type
|
string · nullable |
Standard errors:
401
403
Errors
Examples
curl "https://api.fluit.cloud/preview/channels/{channelCode}/redirects"
{
"hasNextPage": true,
"hasPreviousPage": true,
"items": [
{
"channelCode": "STD",
"createdDate": "2026-06-11T09:24:13.418",
"fromPath": "string",
"hitCount": 42,
"id": "0f8b2c1e-4d3a-4b7e-9f10-2a6c5d8e1b44",
"isActive": true,
"lastHitAt": "2026-06-11T09:24:13.418",
"links": {
"self": "string"
},
"modifiedDate": "2026-06-11T09:24:13.418",
"statusCode": 42,
"toPath": "string"
}
],
"page": 1,
"pageSize": 50,
"totalCount": 137,
"totalPages": 3
}
Base URL https://api.fluit.cloud/preview. The response example is generated from the schema: the shape is right, the values are made up.