Transfer a domain to Cloady
Starts moving a domain registered elsewhere to Cloady with the auth code its current registrar gives out once the transfer lock is off. The price includes a year added to the current expiry, charged to the workspace's card when the transfer starts and refunded if it fails or is canceled (`transfer.refund` says when that refund is still pending). Its nameservers stay as they are, so DNS keeps answering during the move, which usually takes 5 to 7 days; getWorkspaceDomain shows its progress. `dryRun` checks it can start and quotes it; send the quoted `price` with the order. Payments the bank wants to authenticate work as in renewDomain. Needs the owner role.
Authorization
cloady Personal API token (cldy_…)
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/workspaces/string/domains/string/transfer" \ -H "Content-Type: application/json" \ -d '{ "authCode": "string" }'{ "quote": { "domain": "string", "price": -9007199254740991, "renewal": -9007199254740991, "years": -9007199254740991 }, "domain": { "id": "string", "host": "string", "isPrimary": true, "redirectTo": "string", "port": 0, "app": { "slug": "string", "env": "production", "region": "string" }, "registration": { "expiresAt": "string", "autoRenew": true, "nameservers": [ "string" ] }, "verified": true, "zone": "string", "createdAt": "string" }}Renew a domain now POST
Renews a domain registered through Cloady for one more year, charged to the workspace's card now, whatever its auto-renew setting. A registry refuses a renewal within 30 days of the last one (409 `renewal_too_soon`). `dryRun` quotes it; send the quoted `price` with the order. A card the bank wants to authenticate answers 402 `payment_action_required` with `clientSecret`, `paymentIntentId` and `publishableKey` in `details`: confirm it with Stripe.js, then repeat the request with `paymentIntentId`. If the order fails after the charge, the charge is refunded, and the error says whether the refund went through or is pending (Cloady retries it). 502 `renewal_unconfirmed` means the registrar didn't answer: the new expiry shows within the hour, or the charge is refunded. Needs the owner role.
Cancel a transfer to Cloady DELETE
Withdraws a transfer in progress and refunds its charge. Answers 409 when the registry can't confirm the withdrawal yet; try again in a few minutes. Needs the owner role.