{ "domainName": "acmecorp.com", "serviceProvider": "GOOGLE" }data: null when no workspace exists (safe to register).{ "domains": [{ "domainName": "acmecorp.com", "serviceProvider": "GOOGLE" }, { "domainName": "example.com" }] }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.
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"
}
]
}'{
"status": 200,
"message": "Workspace not exists",
"data": null
}