Zapmail
latest
  • latest
  • v1
  1. domains
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 Mailbox Details by ID
    • Assign New Mailboxes to Domains
    • Update mailbox
    • Remove mailboxes on next renewal
    • Get Authenticator code
    • Remove Mailboxes Instantly
  • 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
    • Get domain connection requests
      GET
    • Remove domain connection requests
      DELETE
    • Connect Domain with Zapmail (New)
      GET
    • Add Google Client ID to Domain
      POST
  • dns
    • Get dns records
    • Add dns records
    • Update dns records
    • Delete dns records
  1. domains

Get domain connection requests

Developing
GET
/domain/connection-requests
This endpoint allows you to retrieve a list of domains that are still in progress and pending connection with Zapmail.

Request

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 --request GET 'https://api.zapmail.ai/api/domain/connection-requests' \
--header 'x-auth-zapmail: '

Responses

🟢200Success
application/json
Body

Example
{
    "status": 200,
    "message": "Pending domain connection requests",
    "data": {
        "totalSearchedCount": 1,
        "currentPage": 1,
        "nextPage": 2,
        "totalPages": 1,
        "totalCount": 1,
        "data": [
            {
                "id": "11111111-2222-3333-4444-555555555555",
                "domainName": "exampledomain.com",
                "userId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
                "workspaceId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
                "serviceProvider": "CLOUDFLARE",
                "dnsManagedBy": "ZAPMAILDNS",
                "status": "NS_VERIFIED",
                "metadata": {
                    "currentNameServers": [
                        "ns1.zapmaildns.com",
                        "ns2.zapmaildns.com"
                    ]
                },
                "nextRetryOn": "2025-07-01T12:00:00.000Z",
                "createdAt": "2025-06-25T09:30:00.000Z",
                "updatedAt": "2025-06-26T14:45:00.000Z",
                "deletedAt": null
            }
        ]
    }
}
Modified at 2025-06-20 05:27:30
Previous
Get domains purchase payment link
Next
Remove domain connection requests
Built with