Get DNS snapshot
Retrieve particular DNS snapshot with contents of DNS zone records. Use this endpoint to view historical DNS configurations for domains.
Retrieve particular DNS snapshot with contents of DNS zone records.
Use this endpoint to view historical DNS configurations for domains.
Authorizations
AuthorizationstringRequired
API Token authentication
Path parameters
domainstringRequiredExample:
Domain name
mydomain.tldsnapshotIdintegerRequiredExample:
Snapshot ID
53513053Responses
200
Success response
application/json
idintegerOptionalExample:
Snapshot ID
5341reasonstringOptionalExample:
Reason of the update
Zone records update requestcreated_atstring · date-timeOptionalExample:
2025-02-27T11:54:22Z401
Unauthenticated response
application/json
500
Error response
application/json
get/api/dns/v1/snapshots/{domain}/{snapshotId}
GET /api/dns/v1/snapshots/{domain}/{snapshotId} HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 5341,
"reason": "Zone records update request",
"snapshot": [
{
"name": "www",
"records": [
{
"content": "mydomain.tld.",
"is_disabled": false
}
],
"ttl": 14400,
"type": "A"
}
],
"created_at": "2025-02-27T11:54:22Z"
}Last updated
Was this helpful?