Zapmail
v1
  • latest
  • v1
  1. domains
Zapmail
v1
  • latest
  • v1
  • Zapmail Docs
  • users
    • Retrieve User Details
      GET
  • workspaces
    • Retrieve all workspaces
      GET
    • Create new workspace
      POST
    • Update workspace
      PUT
  • billing
    • Add Billing Details
      POST
  • mailbox
    • Retrieve All Mailboxes
      GET
    • Get Mailbox Details by ID
      GET
    • Assign New Mailboxes to Domains
      POST
    • Update mailbox
      PUT
    • Remove mailboxes on next renewal
      PUT
  • payments & wallet
    • Add balance to wallet
    • Get wallet balance
    • Enable auto recharge
  • export
    • Export mailboxes
    • Add third party account details
    • Update third party account details
  • subscriptions
    • Get all subscriptions
    • Cancel subscription
    • Upgrade existing subscription
  • domains
    • Retrieve All Domains
      GET
    • List Assignable Domains
      GET
    • Add DMARC record
      POST
    • Add Domain forwarding
      POST
    • Get Name servers to connect domain
      POST
    • Verify Name Server Propagation
      POST
    • Connect Domain with Zapmail
      POST
    • Enable email forwarding
      POST
    • Remove email forwarding
      DELETE
    • Enable catch all emails
      POST
    • Remove catch all emails
      DELETE
    • Check DNS records
      POST
    • Remove unused domains
      DELETE
    • Get available domains for registration
      POST
    • Get domains purchase payment link
      POST
  1. domains

Check DNS records

POST
/v1/domain/dns-check

Check DNS Records for Domain#

This endpoint allows you to check the DNS records for a specified domain to ensure they are correctly configured.

Endpoint#

Request Body#

NameTypeDescription
domainIdsarrayAn array of domain IDs for which DNS records should be checked.

Example Request#

{
    "domainIds": ["domainId1", "domainId2"]
}

Request

Header Params
x-auth-zapmail
string 
required
Example:
{{x-auth-zapmail}}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.zapmail.ai/api/v1/domain/dns-check' \
--header 'x-auth-zapmail: '

Responses

🟢200Success
application/json
Body
object {0}
Example
{
    "status": 200,
    "message": "Dns checked",
    "data": [
        {
            "id": "8d4ea245-715a-403e-be54-3f74ac3924bc",
            "domain": "abc.com",
            "spfRecord": false,
            "dmarcRecords": true,
            "dkimRecords": false,
            "mxRecords": true
        },
    ]
}
Previous
Remove catch all emails
Next
Remove unused domains
Built with