API operation · domains group
GET
/domains/{name}/redirects
First published 3 Oct 2026
0.1.0Unchanged since publicationList a domain's path redirects
Who may call it
AdministratorResellerCustomer
Token scope, any of
domainsreadallAnswers200 OK
The response contains redirects ordered by source. Each redirect includes id, source, target, code, match, keep_query and created_at. The keep_query field is returned as 1 or 0.
An unknown domain returns 404. Access to an existing domain is limited to administrators, the domain owner and the owner's reseller. Other callers receive 403.
Parameters
namepath ·DomainNameRequiredExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X GET "$API/domains/example.com/redirects" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"redirects": [
{
"code": 1,
"created_at": "2026-09-09T10:15:00Z",
"id": 1,
"keep_query": true,
"match": "text",
"source": "/old",
"target": "https://example.com/new"
}
]
}Errors
6 errors, each a status and a sentence400Domain name required400Domain name too long400Invalid domain name401Authentication required403Insufficient privileges404Domain '<name>' not foundNo error of this operation matches.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/get-domains-name-redirects/