Redirects

List all redirects, with optional filtering, search, and pagination.

get/v1/redirects/

Request

  • Base URL: https://api.redirectboss.com
  • URL: https://api.redirectboss.com/v1/redirects/
  • Auth: API key in header X-Api-Key

Query parameters

offsetinteger

Number of records to skip (for pagination)

limitinteger

Maximum number of records to return (for pagination)

orderBy'matchType' | 'path' | 'destinationUrl' | 'statusCode' | 'createdAt' | 'updatedAt' | 'host'

Field to order results by

orderDir'ASC' | 'DESC'

Sort direction (ASC or DESC)

searchstring

Case-insensitive substring match on description, path, or destination URL

activeboolean

Filter by active status. If true, return only active redirects; if false, return only inactive. Omit to return all.

hostIdstring uuid

Filter redirects by host UUID

hostNamestring hostname

Filter redirects by host domain name (e.g. "example.com")

matchType'host' | 'exact' | 'prefix'

Filter by match type

statusCode301 | 302 | 303 | 307

Filter by HTTP status code

Response

Default Response

Changes

No recorded changes to this operation across all 1 revision of this API.