API referenceSections

The record template new zones start from

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

GET /api/v1/tenants/{tid}/dns/template

The record template new zones start from (ADR 0093); provider and resellers only

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired

Responses

200 Template

Content type: application/json

  • records array<DNSTemplateRecord> required
    • name string required
    • type string required
      Allowed values: "A" "AAAA" "CNAME" "MX" "TXT" "SRV" "CAA"
    • value string required
    • ttl integer optional
    • priority integer optional
    • weight integer optional
    • port integer optional
    • service string optional

      mail: only for accounts with mail

      Allowed values: "" "mail"
  • source string required
    Allowed values: "own" "inherited" "default"
  • updated_at string (date-time) | null required
Example
{
  "records": [
    {
      "name": "string",
      "type": "A",
      "value": "string",
      "ttl": 0,
      "priority": 0,
      "weight": 0,
      "port": 0,
      "service": ""
    }
  ],
  "source": "own",
  "updated_at": "2026-01-01T00:00:00Z"
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required