domain (domain name) as a query parameter.x-api-key: ********************curl --location '/v1/dns-records?domain=undefined' \
--header 'x-api-key: <api-key>'{
"status": 200,
"message": "DNS records fetched successfully.",
"data": {
"totalRecords": 2,
"records": [
{
"id": "clz1abc2",
"type": "MX",
"recordType": "MX",
"name": "@",
"host": "@",
"value": "mail.litemail.ai",
"priority": 10,
"ttl": 3600,
"domainId": "cmg9l788c0001la04ctg7t1j4"
},
{
"id": "clz1abc3",
"type": "TXT",
"recordType": "TXT",
"name": "@",
"host": "@",
"value": "v=spf1 include:_spf.google.com ~all",
"ttl": 3600,
"domainId": "cmg9l788c0001la04ctg7t1j4"
}
]
}
}