cloadyDocs
API ReferenceEndpointsWorkspaces

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.

POST
/api/workspaces/{workspaceSlug}/domains/{domain}/transfer
AuthorizationBearer <token>

Personal API token (cldy_…)

In: header

Path Parameters

workspaceSlug*string
domain*string

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"  }}