Zone

Get all DNS records for a zone

get/v1/hosting/zone/{zone_id}/records

Request

Path parameters

zone_idinteger required

Headers

x-api-keystring required

API key for authentication

Response

List of DNS records for the zone

status'ok' | 'error'

Example response

{
  "status": "ok",
  "data": [
    {
      "id": 12345,
      "name": "example.com",
      "value": "192.168.1.1",
      "type": "A",
      "ttl": 300,
      "priority": null,
      "port": null,
      "weight": null
    },
    {
      "id": 12346,
      "name": "mail.example.com",
      "value": "mail.example.com.herokudns.com",
      "type": "CNAME",
      "ttl": 3600,
      "priority": null,
      "port": null,
      "weight": null
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.