Accept an ongoing transfer of a domain or VPS. You need a token obtained from the POST /api/transfers/generate API call. The endpoint returns an accountId and a domainId for subsequent calls.
/domain-transfer/[uuid] token from POST /api/domain-transfers/generate accountId → data.accountId domainId → data.domainId Accept Example Content-Type Example token string required
· Example: YOUR_TOKEN data object required data.accountId string
· Example: 20000 data.domainId string
· Example: 8107 data.message string required
· Example: Domain ownership transferred successfully! Human-readable message.
data.newOwner string required
· Example: 8415 data.previousOwner string required
· Example: 4977 data.success boolean required
· Example: true True for successful responses.
requestId string required
· Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba Unique request identifier (UUID).
success boolean required
· Example: true True for successful responses.
timestamp string required
· Example: 2026-02-10T00:00:00.000Z ISO 8601 timestamp (UTC).
https://cloud.hostup.se/api/transfers/accept curl -X POST "https://cloud.hostup.se/api/transfers/accept" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"token": "YOUR_TOKEN"
}' {
"success": true,
"timestamp": "2026-02-10T00:00:00.000Z",
"requestId": "2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba",
"data": {
"success": true,
"message": "Domain ownership transferred successfully!",
"previousOwner": "4977",
"newOwner": "8415",
"domainId": "8107"
}
} {
"token": "YOUR_TOKEN"
}