curl "https://your-paneldns-domain.com/api/v1/zones/501/records/1001" \
-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"
}
}
{
"ok": false,
"error": "Not found.",
"code": 404
}
Records
Get Record
Fetch a single DNS record by ID. Requires records:read scope.
GET
/
api
/
v1
/
zones
/
{id}
/
records
/
{rid}
curl "https://your-paneldns-domain.com/api/v1/zones/501/records/1001" \
-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"
}
}
{
"ok": false,
"error": "Not found.",
"code": 404
}
integer
required
Zone ID.
integer
required
Record ID.
curl "https://your-paneldns-domain.com/api/v1/zones/501/records/1001" \
-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"
}
}
{
"ok": false,
"error": "Not found.",
"code": 404
}