Skip to main content
GET
List URL redirects

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Path Parameters

app_id
string
required

ID of the app whose URL redirects you want to work with.

Response

The app's URL redirects.

id
string
required

ID of the redirect. Pass it as redirect_id to Update URL redirect and Delete URL redirect.

Example:

"68c2d1e5f3b8a4216e9b5583"

source_path
string
required

The path visitors request, normalized with no trailing slash and percent-escapes decoded.

Example:

"/old-pricing"

target_path
string
required

Where the visitor is sent. Either an internal path, normalized the same way as source_path, or an absolute https:// URL on another site, kept exactly as you sent it.

Example:

"/pricing"

match_type
enum<string>
required

How the rule matches. A single rule redirects that exact path, and a prefix rule redirects it and everything under it, keeping the remainder of the path.

Available options:
single,
prefix
Example:

"single"