Start
Guides
Concepts
API endpoints
GET
List redirect tests
https://linkshift.app/api/v1/redirect-testsLists stored redirect test cases for a domain group with cursor pagination.
Operation ID:
listRedirectTestsTags: Redirect TestsSecurity
- 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 test fixtures.
limit
Type: integerDescription: Maximum number of tests returned in one page.
search
Type: stringDescription: Optional text search over test path/query content.
startAfterId
Type: stringDescription: Cursor token using the last item ID from previous page.
Request body schema
No request body schema.
Response schema
Redirect tests list
Content type:
application/jsonresponse 200objectrequired
Paginated redirect-test query response.
dataarray of objectrequired
Redirect-test items in current page.
createdAtstringrequired
Creation timestamp (UTC).
deletedAtstring | nullnullable
Soft-delete timestamp in UTC when deleted.
domainGroupIdstringrequired
Domain-group scope for this test.
expectedResultobjectrequired
Expected simulation outcome payload.
[key: string]unknown
Additional properties are allowed
idstringrequired
Redirect-test ID.
organizationIdstringrequired
Owning organization ID.
pathWithQuerystringrequired
Request path including query string.
requestDataobjectrequired
Optional request metadata such as method, headers, query, protocol, or user-agent.
[key: string]unknown
Additional properties are allowed
updatedAtstringrequired
Last update timestamp (UTC).
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.
