Check CDN status for one or more domains

Quickly check the status of your CDN service for one or more domains simultaneously. This API returns a `zoneId` that you can then use to call POST /api/keys.

Domain Services Domains

Context

Used in the dashboard

/cdn

Headers

Accept Example
Content-Type Example

Body

required
application/json
domains array required · Example: ["example.com"]

Responses

200
data object required
data.zones array<object> required · Example: [{"name":"example.com","exists":true,"enabled":true,"status":"active","zoneId":"25293b7...
data.zones[].enabled boolean required · Example: true
data.zones[].error string · Example: Domain not owned

HTTP status title (e.g. 'Bad Request').

data.zones[].exists boolean required · Example: true
data.zones[].lastSync string · nullable · Example: 2026-02-10 00:00:00

Nullable: may be null when not applicable.

data.zones[].lastWebhook string · nullable · Example: 2026-02-10 00:00:00

Nullable: may be null when not applicable.

data.zones[].name string required · Example: example.com
data.zones[].recordCount integer · Example: 0
data.zones[].records array<object> · Example: []
data.zones[].securitySettingsUpdated boolean · Example: false
data.zones[].settings object
data.zones[].settings.alwaysOnline boolean · Example: true
data.zones[].settings.alwaysUseHttps boolean · Example: true
data.zones[].settings.blockBadBots boolean · Example: true
data.zones[].settings.blockBadCrawlers boolean · Example: true
data.zones[].settings.botProtection boolean · Example: true
data.zones[].settings.customWafIpAllowlist array<object> · Example: []
data.zones[].settings.customWafPathAllowlist array<object> · Example: []
data.zones[].settings.customWafUaAllowlist array<object> · Example: []
data.zones[].settings.ddosMode string · Example: medel
data.zones[].settings.dnssecEnabled boolean · Example: true
data.zones[].settings.earlyHints boolean · Example: true
data.zones[].settings.koalityengineAllowlist boolean · Example: false
data.zones[].settings.minTlsVersion string · enum · Example: 1.1
1.1
1.2
data.zones[].settings.nonSwedenTrafficAction string · enum · Example: challenge
challenge
off
data.zones[].settings.proxy boolean · Example: true
data.zones[].settings.purgeCache boolean · Example: false
data.zones[].settings.sslMode string · enum · Example: flexible
flexible
full
off
data.zones[].settings.wafChallengeGeoEnabled boolean · Example: true
data.zones[].settings.wafSkipEnabled boolean · Example: true
data.zones[].settings.wpLoginProtection boolean · Example: true
data.zones[].settings.wpadminChallenge boolean · Example: false
data.zones[].status string · enum required · Example: active
active
inactive
not_found
not_owned
data.zones[].zoneId string · nullable · Example: 25293b763ab7f15f0f24ae4a41378d91

Nullable: may be null when not applicable.

requestId string required · Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba

Unique request identifier (UUID).

success boolean required · Example: true

True for successful responses.

timestamp string required · Example: 2026-02-10T00:00:00.000Z

ISO 8601 timestamp (UTC).

401
code string required · Example: UNAUTHORIZED

Machine-readable error code.

error string required · Example: Unauthorized

HTTP status title (e.g. 'Bad Request').

message string required · Example: Authentication required

Human-readable message.

requestId string required · Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba

Unique request identifier (UUID).

timestamp string required · Example: 2026-02-10T00:00:00.000Z

ISO 8601 timestamp (UTC).

POST https://cloud.hostup.se/api/cdn/batch-status
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/cdn/batch-status" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "domains": [
      "example.com"
    ]
  }'
Response
{
  "success": true,
  "timestamp": "2026-02-10T00:00:00.000Z",
  "requestId": "2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba",
  "data": {
    "zones": [
      {
        "name": "example.com",
        "exists": true,
        "enabled": true,
        "status": "active",
        "zoneId": "25293b763ab7f15f0f24ae4a41378d91",
        "settings": {
          "proxy": true,
          "ddosMode": "medel",
          "alwaysUseHttps": true,
          "nonSwedenTrafficAction": "challenge",
          "sslMode": "flexible",
          "minTlsVersion": "1.1",
          "botProtection": true,
          "blockBadCrawlers": true,
          "wpLoginProtection": true,
          "wpadminChallenge": false,
          "blockBadBots": true,
          "earlyHints": true,
          "alwaysOnline": true,
          "purgeCache": false,
          "koalityengineAllowlist": false,
          "wafSkipEnabled": true,
          "wafChallengeGeoEnabled": true,
          "customWafIpAllowlist": [],
          "customWafUaAllowlist": [],
          "customWafPathAllowlist": [],
          "dnssecEnabled": true
        },
        "lastWebhook": "2026-02-10 00:00:00",
        "lastSync": "2026-02-10 00:00:00",
        "securitySettingsUpdated": false,
        "records": [],
        "recordCount": 0
      }
    ]
  }
}
Request Body Example 1
{
  "domains": [
    "example.com"
  ]
}