1. Domains
  • Welcome to the Cold Mail Reseller API
  • Get Started
    • Overview
    • Authentication
    • Quick Start
  • Core Concepts
    • Users
    • Domains
    • DNS Management
    • Mailboxes
    • Subscriptions
    • Pre-Warmup
    • Domain Renewal
    • 1+ Year Subscriptions
    • Mailbox Warmup
    • Platform Exports
    • OAuth Exports
    • Sandbox API
  • API Reference
    • Users
      • List Users
      • Get User
      • Create User
      • Update User
      • Delete User
    • Geo
      • List Countries
      • List States
    • Domains
      • Domain Renewal
        • Get Domain Renewal Prices
        • Renew Domains
        • Toggle Domain Auto-Renew
      • Get Domains by User
        GET
      • Check Domain Availability
        POST
      • Check Single Domain Availability
        POST
      • Check Workspace Existence
        POST
      • Set Domain Forwarding
        POST
      • Set Email Forwarding
        POST
      • Delete Domains
        DELETE
    • DNS
      • Get DNS Records
      • Add DNS Records
      • Update DNS Record
      • Update Nameservers
      • Delete DNS Record
    • Mailboxes
      • List Mailboxes
      • Get Mailboxes by User
      • Get Mailbox
      • Get Admin Mailbox Details
      • Update Mailbox Details
      • Delete Mailbox
    • Mailbox Warmup
      • Add Warmup to Mailbox
      • Toggle Warmup
      • Update Warmup Settings
      • Set Warmup Status
      • Disable Warmup
    • Orders
      • Get Order Status
      • Get Order Details
      • Create Order
      • Create Order (JSON)
      • Create Mailbox Order (JSON)
      • Process Order
    • Subscriptions
      • 1+ Year Subscription
        • Recreate Subscription
      • Get Subscriptions
      • Renew Subscriptions
      • Cancel Subscription
      • Toggle Auto-Renewal
    • Exports
      • Platform Exports
        • Get Platform Credentials
        • Add Platform Credential
        • Export Mailboxes to Platform
        • Remove Platform Credential
      • OAuth Exports
        • Perform OAuth
        • Add Client ID to Domains
    • Pre-Warmup
      • Sandbox
        • Get Sandbox Pre-warmup Domains
        • Order Sandbox Pre-warmup
        • Reset Sandbox Pre-warmup
      • Get Pre-warmup Domains
      • Order Pre-warmup
    • Placement Test
      • Create Placement Order
      • Get Placement Reports
  • Resources
    • Errors
    • Rate Limits
    • Pagination
    • Sandbox
    • MCP
  • Webhooks
    • Overview
    • Events
      • Domain Events
      • Mailbox Events
      • Subscription Events
      • Prewarmup Events
      • Mailbox Warmup Events
  • Schemas
    • Error
    • Success
    • MessageResponse
    • User
    • Domain
    • ErrorResponse
    • Mailbox
    • Subscription
    • DnsRecord
    • Error Response
    • Pagination Meta
    • Action Error Response
    • PrewarmupOrderResult
    • OrderCreationResult
  1. Domains

Check Workspace Existence

POST
/domains/has-workspace
Checks whether a Google or Microsoft workspace already exists for a domain.
Use this before registering a domain to detect conflicts with existing workspaces. Supports both single-domain and bulk checks.

Single domain#

{ "domainName": "acmecorp.com", "serviceProvider": "GOOGLE" }
Returns data: null when no workspace exists (safe to register).

Bulk check#

{ "domains": [{ "domainName": "acmecorp.com", "serviceProvider": "GOOGLE" }, { "domainName": "example.com" }] }
Returns an array where each item has success: true (no workspace) or success: false with an error message.
Note: Each domain check has a 15-second timeout. Timed-out domains are reported as success: false.

Request

Authorization
API Key
Add parameter in header
cmr-x-api-key
Example:
cmr-x-api-key: ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Workspace not exists (single mode).
Bodyapplication/json

🟢200Success
🟠400Bad Request
🟠409Conflict
🟠422Unprocessable Entity
🟠401Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://customers.coldmailreseller.com/api/v1/integration/domains/has-workspace' \
--header 'cmr-x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "domainName": "acmecorp.com",
    "serviceProvider": "GOOGLE",
    "domains": [
        {
            "domainName": "acmecorp.com",
            "serviceProvider": "GOOGLE"
        }
    ]
}'
Response Response Example
200 - Example 1
{
    "status": 200,
    "message": "Workspace not exists",
    "data": null
}
Modified at 2026-08-10 11:13:04
Previous
Check Single Domain Availability
Next
Set Domain Forwarding
Built with