Connect a custom domain
dropthis_domains_connectConnect your custom domain to dropthis: get the exact CNAME record, then verify until live. Choose path mode for multiple drops under one hostname or dedicated mode for a single drop at the root.
Instructions
Connect a custom domain (the user's own hostname) to the dropthis account and start the DNS loop. The response carries the exact CNAME record to create (dns[]: name → value) plus structured next hints: if you have access to the user's DNS provider tooling (e.g. a Cloudflare or registrar MCP), create the CNAME record yourself, then call dropthis_domains_verify; otherwise show the user the record and wait for them to create it. Re-call dropthis_domains_verify until status is live; then publish with domain set — or rely on the account default for path domains. Mode (immutable; delete and reconnect to change it): path = many drops under one hostname at https://{hostname}/{slug}/ — the first live path domain auto-becomes the account's default publish target; dedicated = the whole hostname serves exactly one drop at its root. Idempotent: re-connecting an already-connected hostname returns the existing domain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | path = many drops under this hostname at /{slug}/ (the first live path domain becomes the account's default publish target); dedicated = the whole hostname serves exactly one drop at its root. Immutable — delete and reconnect to change. | |
| hostname | Yes | The hostname to connect, e.g. drops.example.com. Subdomains work everywhere; an apex domain needs CNAME-flattening (ALIAS/ANAME) support at the DNS provider. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| dns | No | ||
| mode | No | ||
| next | No | ||
| dropId | No | ||
| status | No | ||
| default | No | ||
| hostname | No | ||
| consoleUrl | No | ||
| retryAfter | No | ||
| verifiedAt | No | ||
| failureReason | No |