curl "https://your-paneldns-domain.com/api/v1/zones/501" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"ok": true,
"data": {
"id": 501,
"name": "widgets.co",
"remote_id": "abcd1234ef567890",
"status": "active",
"provider_id": 3,
"sub_client_id": 201,
"notes": null,
"tags": [],
"last_synced_at": "2026-06-04T12:00:00.000000Z",
"created_at": "2026-03-01T09:00:00.000000Z",
"updated_at": "2026-06-04T12:00:00.000000Z"
}
}
{
"ok": false,
"error": "Not found.",
"code": 404
}
Zones
Get Zone
Fetch a single DNS zone by ID. Requires zones:read scope.
GET
/
api
/
v1
/
zones
/
{id}
curl "https://your-paneldns-domain.com/api/v1/zones/501" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"ok": true,
"data": {
"id": 501,
"name": "widgets.co",
"remote_id": "abcd1234ef567890",
"status": "active",
"provider_id": 3,
"sub_client_id": 201,
"notes": null,
"tags": [],
"last_synced_at": "2026-06-04T12:00:00.000000Z",
"created_at": "2026-03-01T09:00:00.000000Z",
"updated_at": "2026-06-04T12:00:00.000000Z"
}
}
{
"ok": false,
"error": "Not found.",
"code": 404
}
integer
required
Zone ID.
curl "https://your-paneldns-domain.com/api/v1/zones/501" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"ok": true,
"data": {
"id": 501,
"name": "widgets.co",
"remote_id": "abcd1234ef567890",
"status": "active",
"provider_id": 3,
"sub_client_id": 201,
"notes": null,
"tags": [],
"last_synced_at": "2026-06-04T12:00:00.000000Z",
"created_at": "2026-03-01T09:00:00.000000Z",
"updated_at": "2026-06-04T12:00:00.000000Z"
}
}
{
"ok": false,
"error": "Not found.",
"code": 404
}