Skip to main content
POST
/
domains
/
{domainId}
/
verify
JavaScript
import AIInbx from 'aiinbx';

const client = new AIInbx({
  apiKey: process.env['AI_INBX_API_KEY'], // This is the default and can be omitted
});

const response = await client.domains.verify('domainId');

console.log(response.domain);
{
  "domain": {
    "id": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "domain": "<string>",
    "verifiedAt": "<string>",
    "status": "VERIFIED",
    "isManagedDefault": true,
    "dnsRecords": [
      {
        "type": "TXT",
        "name": "<string>",
        "value": "<string>",
        "priority": 123,
        "isVerified": true,
        "verificationStatus": "verified",
        "lastCheckedAt": "<string>"
      }
    ]
  },
  "verification": {
    "verification": "Pending",
    "dkimStatus": "Pending",
    "dns": {
      "domainVerification": true,
      "spf": true,
      "mx": {
        "found": true,
        "expectedPriority": 123,
        "records": [
          {
            "exchange": "<string>",
            "priority": 123
          }
        ]
      },
      "dkim": {},
      "dmarc": {
        "present": true,
        "source": "subdomain"
      },
      "mailFrom": {
        "domain": "<string>",
        "mx": true,
        "spf": true
      }
    },
    "mxConflict": {
      "hasConflict": true,
      "conflictingRecords": [
        {
          "exchange": "<string>",
          "priority": 123
        }
      ],
      "message": "<string>"
    },
    "ready": true,
    "debug": {
      "actualVerificationTokens": [
        "<string>"
      ],
      "domain": "<string>",
      "verificationTokenMatch": true,
      "expectedVerificationToken": "<string>"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.aiinbx.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API Key authentication using Bearer token

Path Parameters

domainId
string
required

Response

Successful response

domain
object
required
verification
object
required