Read the check_domain answer
Call check_domain with the domain and the records your product needs. It changes nothing, and its connectMethods field decides what you show next:
connectMethods | What your user does | Call that follows |
|---|---|---|
contains api_token | Creates an API token at the DNS provider and pastes it once | connect_domain_automatic |
does not contain api_token | Copies the records shown into the provider’s panel | connect_domain |
connect_domain_automatic({ domain: 'shop.example.com', dnsRecords: [{ type: 'CNAME', host: '{SUBDOMAIN}', value: 'app.example.com' }], providerToken: '<token from the domain owner>' })
connect_domain({ domain: 'shop.example.com', dnsRecords: [{ type: 'CNAME', host: '{SUBDOMAIN}', value: 'app.example.com' }] })
Which providers have the automatic path today is listed on the providers page: read it instead of assuming.
What the token is, and is not
The token is an API token the owner creates at the DNS provider, never the account password. Cnamio uses it for that request only and does not store it. Where the provider allows it, the owner can limit what the token reaches: Cloudflare, for example, has an Edit zone DNS template and lets a token apply to specific zones.
What is the same in both
Both calls return a job_id. Existing DNS records are never deleted, the new records are confirmed on the domain’s authoritative nameservers, and your backend receives the signed domain.added webhook when every required record is live. An owner who prefers to copy the records can still do so on a domain that has the automatic path. The connect window can also offer the provider’s own sign-in where it exists.
Sources
Read on December 1, 2026.