Domains

All Domains

Retrieve all domains configured in your account.

GEThttps://graph.sendcorex.com/v3.0/domains

Query 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

  • success

    true when the request worked.

  • domains[].domain

    The domain name.

  • domains[].validated

    Whether the domain is verified and ready to send.

  • domains[].hasMx

    The MX record was found.

  • domains[].hasDkim

    The DKIM record was found.

  • domains[].hasDmarc

    The DMARC record was found.

  • domains[].hasPath

    The return-path record was found.

  • domains[].hasSpf

    The SPF record was found.

  • domains[].createdAt / updatedAt

    When the domain was added and last updated (ISO 8601, UTC).

  • responseTime

    How 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.

  • 401INVALID_API_KEY

    The API key is invalid or revoked.