curl "https://your-paneldns-domain.com/api/v1/zones/501/records?per_page=50" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"ok": true,
"data": [
{
"id": 1001,
"zone_id": 501,
"remote_id": "abcd1234",
"name": "@",
"type": "MX",
"content": "mail.widgets.co.",
"ttl": 3600,
"priority": 10,
"is_protected": false,
"created_at": "2026-03-01T09:10:00.000000Z",
"updated_at": "2026-03-01T09:10:00.000000Z"
}
],
"meta": { "page": 1, "per_page": 200, "total": 1 }
}
{
"ok": false,
"error": "Not found.",
"code": 404
}
Records
List Records
List all DNS records in a zone. Requires records:read scope.
GET
/
api
/
v1
/
zones
/
{id}
/
records
curl "https://your-paneldns-domain.com/api/v1/zones/501/records?per_page=50" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"ok": true,
"data": [
{
"id": 1001,
"zone_id": 501,
"remote_id": "abcd1234",
"name": "@",
"type": "MX",
"content": "mail.widgets.co.",
"ttl": 3600,
"priority": 10,
"is_protected": false,
"created_at": "2026-03-01T09:10:00.000000Z",
"updated_at": "2026-03-01T09:10:00.000000Z"
}
],
"meta": { "page": 1, "per_page": 200, "total": 1 }
}
{
"ok": false,
"error": "Not found.",
"code": 404
}
integer
required
Zone ID.
integer
default:"200"
Records per page. Clamped to the range 1–500.
curl "https://your-paneldns-domain.com/api/v1/zones/501/records?per_page=50" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"ok": true,
"data": [
{
"id": 1001,
"zone_id": 501,
"remote_id": "abcd1234",
"name": "@",
"type": "MX",
"content": "mail.widgets.co.",
"ttl": 3600,
"priority": 10,
"is_protected": false,
"created_at": "2026-03-01T09:10:00.000000Z",
"updated_at": "2026-03-01T09:10:00.000000Z"
}
],
"meta": { "page": 1, "per_page": 200, "total": 1 }
}
{
"ok": false,
"error": "Not found.",
"code": 404
}