Retrieve all configured redirect rules for your domain. Also returns an ID that can be used in subsequent calls, for example, to check the status of an operation.
domain_id string required domain_name string required Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/redirects curl -X GET "https://cloud.hostup.se/api/redirects?domain_id=string&domain_name=string" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"rules": [
"string"
],
"cloudflare_rules": [
"string"
],
"cloudflare_zone_id": "string"
}
}