Zapmail
latest
  • latest
  • v1
  1. global
Zapmail
latest
  • latest
  • v1
  • Zapmail Docs
  • users
    • Retrieve User Details
      GET
  • workspaces
    • Retrieve all workspaces
      GET
    • Create new workspace
      POST
    • Update workspace
      PUT
    • List all workspace members
      GET
    • Update user role
      PUT
    • Revoke User Access
      DELETE
    • Send invitiation to join workspace
      POST
    • List all invitations
      GET
    • Revoke invitation
      DELETE
  • 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
    • schedule mailbox creation
      POST
    • retry creation of failed mailboxes
      PUT
  • payments & wallet
    • Add balance to wallet
      POST
    • Get wallet balance
      GET
    • Enable auto recharge
      POST
    • Purchase add on mailboxes
      POST
    • get invoices for subscription
      POST
  • export
    • Export mailboxes
    • Add third party account details
    • Update third party account details
    • Get Export Status
  • subscriptions
    • Get all subscriptions
    • Cancel subscription
    • Upgrade existing subscription
    • Purchase subscription
    • Get Mailboxes in a 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
    • Retrieve All Domains (With filters)
    • AI Domain Finder
    • Move Domains Across workspace
    • Assign Domain Tag
    • list domain tags
    • Create Domain Tags
    • Remove Domain Forwarding
  • dns
    • Get dns records
    • Add dns records
    • Update dns records
    • Delete dns records
  • High Reputation Domains
    • Get available domains
    • Purchase high reputation domains
  • prewarmed domains
    • Get prewarmed domains
    • purchase prewarmed subscription
    • Assign prewarmed mailboxes
    • Get Available Domains Count
  • 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
    • Cancel Subscription
  • dns shield
    • Get eligible domains
    • Get available slots
    • Get subscriptions
    • Get Allocated Domains for Subscription
    • Allocate Domains to DNS Shield
    • Purchase DNS Shield
    • Upgrade DNS Shield LTD Plan
    • Cancel subscription
  • global
    • Global mailbox-domain search
      GET
  • zapbox
    • List Connected Accounts
    • Fetch emails
    • get emails from a thread
    • Search emails
    • Send Email
    • Download Attachment
    • Create New Label
    • Delete Label
    • Rename Label
  • Schemas
    • domain with filter
  1. global

Global mailbox-domain search

Testing
GET
/v2/global/mailbox-domain-search
Unified dashboard search - retrieve mailbox and workspace details for a given domain or mailbox email. Returns mailboxes grouped by domain, along with workspace information and service provider type.

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 --request GET 'https://api.zapmail.ai/api/v2/global/mailbox-domain-search?contains=example.com&page=1&limit=50' \
--header 'x-auth-zapmail: YOUR_API_KEY'

Responses

🟢200Success
application/json
Body

Example
{
  "status": 200,
  "message": "Search completed successfully",
  "data": {
    "mailboxPerDomain": {
      "example.com": [
        {
          "id": "uuid-1",
          "first_name": "John",
          "last_name": "Doe",
          "domain": "example.com",
          "username": "john",
          "workspace_id": "workspace-uuid",
          "service_provider": "GOOGLE",
          "mailboxWorkspace": {
            "id": "workspace-uuid",
            "name": "My Workspace"
          }
        },
        {
          "id": "uuid-2",
          "first_name": "Jane",
          "last_name": "Smith",
          "domain": "example.com",
          "username": "jane",
          "workspace_id": "workspace-uuid",
          "service_provider": "GOOGLE",
          "mailboxWorkspace": {
            "id": "workspace-uuid",
            "name": "My Workspace"
          }
        }
      ],
      "another-domain.com": [
        {
          "id": "uuid-3",
          "first_name": "Bob",
          "last_name": "Wilson",
          "domain": "another-domain.com",
          "username": "bob",
          "workspace_id": "workspace-uuid-2",
          "service_provider": "MICROSOFT",
          "mailboxWorkspace": {
            "id": "workspace-uuid-2",
            "name": "Another Workspace"
          }
        }
      ]
    },
    "pagination": {
      "totalRecords": 3,
      "totalPages": 1,
      "currentPage": 1,
      "limit": 50,
      "hasNextPage": false,
      "hasPreviousPage": false
    }
  }
}
🟠422Unprocesseble Entity
Modified at 2026-01-15 00:57:55
Previous
Cancel subscription
Next
List Connected Accounts
Built with