Get your website redirect rules

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.

Query Parameters

domain_id string required
domain_name string required

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/redirects
For AI assistants
cURL
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"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "rules": [
      "string"
    ],
    "cloudflare_rules": [
      "string"
    ],
    "cloudflare_zone_id": "string"
  }
}