Add domain
Domains
Add domain
Add a new custom domain
Start the domain setup process. This creates the necessary infrastructure and returns the nameservers you need to configure at your domain registrar.
Setup Process
- Add Domain (this endpoint) - Creates infrastructure
- Configure Nameservers - Update your domain’s nameservers at your registrar
- Activate Domain - Complete the setup
Example Usage
import requests
response = requests.post(
"https://api.coldsend.io/api/public/v1/domains",
headers={"X-API-Key": "your-api-key"},
json={
"domain": "mail.yourcompany.com"
}
)
print(response.json())
# Returns nameservers to configure
POST
Add domain
Authorizations
API key with format cs_live_xxx
Body
application/json
Request schema for adding a new domain.
Domain name to add (e.g., example.com)
Required string length:
3 - 255Response
Domain added successfully
Response for domain addition.
Domain ID
Domain name
Domain status
Nameservers to configure at your registrar
DNS records information
URL to check DNS status
URL for next step (activation)

