Redirect API
This is the read-only API for delivering redirects, caused by moving or renaming content in the Umbraco backoffice, to any app, website, device, or platform.
Cultures
To request redirects in a specific language, a culture parameter can be specified. When no culture is specified it's treated as invariant and the default language will be returned.
Access via an Accept-Language header
Access via a Query String parameter
Common Headers
Errors
If an error occurs, you will receive a HTTP status code along with an API error code and an error message in the response body.
JSON example:
Get all redirects
Get all redirect URLs.
The key is the URL of the content and the values are the URLs redirecting to the content.
URL: /redirect
Method: GET
Query Strings
The maximum page size is 1000.
Success Response
Code: 200
Content Example:
Get content by redirect URL
Get the destination URL and redirect URLs for a given path.
URL: /redirect/redirecturl?url={url}
Method: GET
Success Response
Code: 200
Content Example:
Last updated