Domains
All Domains
Retrieve all domains configured in your account.
GET
https://graph.sendcorex.com/v3.0/domainsQuery parameters
This endpoint takes no parameters.
Quick start
import axios from 'axios';
const response = await axios.get('https://graph.sendcorex.com/v3.0/domains', {
headers: { Authorization: process.env.SENDCOREX_API_KEY },
});
console.log(response.data);Response
{
"success": true,
"domains": [
{
"domain": "sendcorex.com",
"validated": true,
"hasMx": true,
"hasDkim": true,
"hasDmarc": true,
"hasPath": true,
"hasSpf": true,
"createdAt": "2026-03-01T10:00:00.000Z",
"updatedAt": "2026-06-01T10:00:00.000Z"
}
],
"responseTime": "42ms"
}Response fields
successtruewhen the request worked.domains[].domainThe domain name.
domains[].validatedWhether the domain is verified and ready to send.
domains[].hasMxThe MX record was found.
domains[].hasDkimThe DKIM record was found.
domains[].hasDmarcThe DMARC record was found.
domains[].hasPathThe return-path record was found.
domains[].hasSpfThe SPF record was found.
domains[].createdAt / updatedAtWhen the domain was added and last updated (ISO 8601, UTC).
responseTimeHow long the request took.
Errors
HTTP-level errors return type, code and message. Errors marked CMD come back inside the command result, with HTTP 200.
- 401
INVALID_API_KEYThe API key is invalid or revoked.