Skip to main content
GET
/
api
/
domains
/
{domain_id}
/
changes
/
dns
/
{dnsChange}
cURL
curl --request GET \
  --url https://domainwarden.app/api/domains/{domain_id}/changes/dns/{dnsChange} \
  --header 'Authorization: Bearer <token>'
{
  "id": "019a11e5-1234-5678-9012-123456789012",
  "domain_id": 1,
  "field_changed": "txt_records",
  "field_changed_human": "TXT",
  "old_value": "[{\"host\":\"@\",\"value\":\"v=spf1 include:_spf.old.com ~all\",\"ttl\":3600}]",
  "new_value": "[{\"host\":\"@\",\"value\":\"v=spf1 include:_spf.new.com ~all\",\"ttl\":3600}]",
  "old_value_formatted": "v=spf1 include:_spf.old.com ~all",
  "new_value_formatted": "v=spf1 include:_spf.new.com ~all",
  "change_summary": "TXT record updated",
  "diff": "SPF record updated",
  "identifier": "abc123def456",
  "created_at": "2024-10-27 12:00:00",
  "created_at_human": "2 hours ago"
}

Authorizations

Authorization
string
header
required

You can obtain your API Token from your Domainwarden account settings.

Path Parameters

domain_id
string
required

The ID of the domain.

dnsChange
string
required
domain
integer
required

The ID of the domain.

dnschange
string
required

The UUID of the DNS change entry.

Response

id
string
Example:

"019a11e5-1234-5678-9012-123456789012"

domain_id
integer
Example:

1

field_changed
string
Example:

"txt_records"

field_changed_human
string
Example:

"TXT"

old_value
string
Example:

"[{\"host\":\"@\",\"value\":\"v=spf1 include:_spf.old.com ~all\",\"ttl\":3600}]"

new_value
string
Example:

"[{\"host\":\"@\",\"value\":\"v=spf1 include:_spf.new.com ~all\",\"ttl\":3600}]"

old_value_formatted
string
Example:

"v=spf1 include:_spf.old.com ~all"

new_value_formatted
string
Example:

"v=spf1 include:_spf.new.com ~all"

change_summary
string
Example:

"TXT record updated"

diff
string
Example:

"SPF record updated"

identifier
string
Example:

"abc123def456"

created_at
string
Example:

"2024-10-27 12:00:00"

created_at_human
string
Example:

"2 hours ago"