Create a unique transfer token for a specific account. This token is then required to accept or retrieve details about the transfer via other API calls. The generated token is valid for 7 days.
accountId from POST /api/transfers/details token → data.token Accept Example Content-Type Example accountId string required
· Example: 20000 data object required data.expiresIn string required
· Example: 7 days data.message string required
· Example: Transfer token generated successfully. Share this token privately with the new owner. Human-readable message.
data.serviceName string required
· Example: example.com data.serviceType string · enum required
· Example: hosting hosting vps data.token string required
· Example: YOUR_TOKEN 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/generate curl -X POST "https://cloud.hostup.se/api/transfers/generate" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"accountId": "20000"
}' {
"success": true,
"timestamp": "2026-02-10T00:00:00.000Z",
"requestId": "2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba",
"data": {
"token": "YOUR_TOKEN",
"serviceName": "example.com",
"serviceType": "hosting",
"expiresIn": "7 days",
"message": "Transfer token generated successfully. Share this token privately with the new owner."
}
} {
"accountId": "20000"
}