Connect external domains
Connect one or more domains you already own to your Winnr account.
Standard flow: Creates DNS zones and returns nameservers that you must configure at your domain registrar. After updating nameservers, use POST /v1/domains/check-ns to verify and trigger provisioning.
Cloudflare flow: If your domains are already on Cloudflare, you can pass a cloudflare_api_token with Zone:DNS:Edit and Zone:Zone:Edit permissions. We'll create the necessary DNS records (MX, SPF, DKIM) directly in your Cloudflare account — no nameserver changes needed. Provisioning starts immediately.
Manual flow: Pass manual_dns: true to receive the DNS records to create yourself (fetch via GET /v1/domains/{domain_id}/dns-records, verify via POST /v1/domains/{domain_id}/verify-dns).
Subdomain format (non-default): Pass subdomain_labels to connect in the Subdomain Strategy shape: the apex becomes a container parent whose DNS is never touched, and each label becomes a full child email domain (own DKIM/SPF/MX/DMARC, up to 10 mailboxes). Requires manual_dns: true or a cloudflare_api_token — nameserver delegation is rejected for subdomain format because it would replace the domain's entire zone.
Request
- Base URL: https://api.winnr.app
- URL: https://api.winnr.app/v1/domains/connect
- Auth: HTTP bearer
Request body
Example request
{
"domains": [
"example.com",
"anotherdomain.com"
],
"subdomain_labels": [
"marketing",
"hq",
"hello"
]
}Response
Domains connected
Changes
No recorded changes to this operation across all 1 revision of this API.