Generate a secure token for transferring services

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.

Account & Settings Account

Context

Workflow links

Headers

Accept Example
Content-Type Example

Body

required
application/json
accountId string required · Example: 20000

Responses

200
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).

POST https://cloud.hostup.se/api/transfers/generate
For AI assistants
cURL
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"
  }'
Response
{
  "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."
  }
}
Request Body Example 1
{
  "accountId": "20000"
}