Zapmail
latest
  • latest
  • v1
  1. dns shield
Zapmail
latest
  • 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
    • Update Billing Details
      PUT
  • 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
    • Get Authenticator code
      GET
    • Remove Mailboxes Instantly
      POST
    • Custom OAuth
      POST
  • payments & wallet
    • Add balance to wallet
      POST
    • Get wallet balance
      GET
    • Enable auto recharge
      POST
  • export
    • Export mailboxes
    • Add third party account details
    • Update third party account details
  • subscriptions
    • Get all subscriptions
    • Cancel subscription
    • Upgrade existing subscription
    • Purchase subscription
  • domains
    • Retrieve All Domains
    • List Assignable Domains
    • Add DMARC record
    • Add Domain forwarding
    • Get Name servers to connect domain
    • Verify Name Server Propagation
    • Connect Domain with Zapmail
    • Enable email forwarding
    • Remove email forwarding
    • Enable catch all emails
    • Remove catch all emails
    • Check DNS records
    • Remove unused domains
    • Get available domains for registration
    • Get domains purchase payment link
    • Get domain connection requests
    • Remove domain connection requests
    • Connect Domain with Zapmail (New)
    • Add Google Client ID to Domain
    • Get availability of multiple domain names.
    • Retrieve Domain Health Score
  • dns
    • Get dns records
    • Add dns records
    • Update dns records
    • Delete dns records
  • aged domains
    • Get available domains
    • Purchase aged domains
  • prewarmed domains
    • Get prewarmed domains
    • purchase prewarmed subscription
    • Assign prewarmed mailboxes
  • placement test
    • Get subscriptions
    • Get Overall Report
    • Get placement test orders
    • Get report by cart order id
    • Get Eligible Mailboxes for Placement Tests
    • Get Available Placement Test Credits
    • Purchase Placement Test
    • Purchase plan
  • dns shield
    • Get eligible domains
      GET
    • Get available slots
      GET
    • Get subscriptions
      GET
    • Get Allocated Domains for Subscription
      GET
    • Allocate Domains to DNS Shield
      POST
    • Purchase DNS Shield
      POST
    • Upgrade DNS Shield LTD Plan
      POST
    • Cancel subscription
      POST
  • Schemas
    • domain with filter
  1. dns shield

Get eligible domains

Testing
GET
/v2/dns-shield/eligible-domains
Retrieve a paginated list of domains that are eligible for DNS Shield protection. This endpoint helps you identify which of your domains can be protected with DNS Shield before making a purchase.

Request

Query Params

Header Params

Request Code 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 -g --request GET 'https://api.zapmail.ai/api/v2/dns-shield/eligible-domains?page= 1&limit= 10&tagIds=550e8400-e29b-41d4-a716-446655440000&contains= "example.com"&status= "ACTIVE"&mailboxIds= ["123e4567-e89b-12d3-a456-426614174000"]' \
--header 'x-auth-zapmail;' \
--header 'x-workspace-key;' \
--header 'x-service-provider;'

Responses

🟢200Success
application/json
Body

Example
{
  "success": true,
  "status": 200,
  "message": "Domains fetched successfully",
  "data": {
    "totalCount": 15,
    "totalPages": 2,
    "currentPage": 1,
    "hasNextPage": true,
    "hasPreviousPage": false,
    "nextPage": 2,
    "previousPage": null,
    "domains": [
      {
        "id": "domain-uuid",
        "workspaceId": "workspace-uuid",
        "domain": "example.com",
        "status": "ACTIVE",
        "createdAt": "2024-01-15T10:30:00.000Z",
        "updatedAt": "2024-01-15T10:30:00.000Z",
        "forwardTo": "forward@email.com",
        "forwardToAddedOnReseller": true,
        "dmarcEmail": "dmarc@email.com",
        "dmarcEmailAddedToReseller": true,
        "forwardingEmail": "forwarding@email.com",
        "forwardingEmailAdded": true,
        "catchAllEmail": "catchall@email.com",
        "catchAllEmailAdded": true,
        "nameServers": ["ns1.provider.com", "ns2.provider.com"],
        "unusedDomainNotification": false,
        "dnsManagedBy": "CLOUDFLARE",
        "maskForwarding": false,
        "isWarmedUp": false,
        "autoRenew": true,
        "registeredOn": "2023-01-15T00:00:00.000Z",
        "expireOn": "2025-01-15T00:00:00.000Z",
        "dnsAuthenticationInProgress": false,
        "cloudflareCredentialsId": "cf-cred-uuid",
        "expectedNameServers": ["ns1.expected.com", "ns2.expected.com"],
        "isaftermarket": false,
        "assignedMailboxesCount": 5,
        "transferRequired": true,
        "transferInternally": false,
        "isCloudflareConnected": true,
        "dnsShieldUpdateInProgress": null,
        "dnsShieldEnabled": false,
        "dnsBoxInvalidNameServers": false
      }
    ]
  }
}
Modified at 2025-12-24 13:03:12
Previous
Purchase plan
Next
Get available slots
Built with