GET

List redirect rules

https://linkshift.app/api/v1/redirect-rules

Cursor-style pagination ordered by `priority desc, createdAt desc, id desc`.

Operation ID:listRedirectRulesTags: Redirect Rules

Security

  • ApiKeyAuth: apiKey | header:X-API-Key | API key generated in LinkShift dashboard (`Organization -> Manage API keys`).

Parameters

Query parameters

domainGroupIdrequired
Type: stringDescription: Domain group scope for listing rules.
limit
Type: integerDescription: Maximum number of items to return (cursor page size).
search
Type: stringDescription: Free-text search over rule source/destination fields.
startAfterId
Type: stringDescription: Cursor token using the last item ID from previous page.

Request body schema

No request body schema.

Response schema

Redirect rules list

Content type: application/json
response 200objectrequired
Paginated redirect-rule query response.
dataTypestringrequired
Logical item type in the `data` array.
hasMorebooleanrequired
Whether there are additional results after this page.
moreStartingAfterIdstring
Cursor token to request the next page.