Get 301 redirects

Fetch a list of all 301 redirect rules configured for a specific site.

Use this endpoint to review, audit, or manage the redirection rules that control how traffic is rerouted on your site.

Enterprise Only
This endpoint requires an Enterprise workspace.

Required scope: sites:read

Path parameters

site_idstringRequired

Unique identifier for a Site

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

Request was successful

redirectslist of objectsOptional

List of redirects for a given site

paginationobjectOptional

Pagination object

Errors