latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Transfers
cPanel Account Transfer

Create remote server transfer session

This function creates a transfer session with a non-root user to a remote server.

Important:

  • The source and target servers must be able to communicate over port 2087 to use this feature.
  • The source and target servers must also be able to communicate over the port that your servers use for SSH connections.
  • For more information about the ports that cPanel & WHM uses, read our How to Configure Your Firewall for cPanel & WHM Services documentation.

Note:

For more information about how this function works with other functions in the transfer and restore process, read our Guide to Transfer and Restore API Functions documentation.

get/create_remote_user_transfer_session

Query parameters

hoststring domain required
Example:hostname.example.com

The server hostname for the account.

passwordstring required
Example:12345luggage

The account's password.

unrestricted_restore1 required
Example:1

Whether to skip the Restricted Restore process.

  • 1 - Skip Restricted Restore.
  • 0 - Use Restricted Restore.

Note:

You must set this parameter to a value of 1.

Response

HTTP Request was successful.

Example response

{
  "data": {
    "transfer_session_id": "vm5docscpanelnoroo201402251939519hmy"
  },
  "metadata": {
    "command": "create_remote_user_transfer_session",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}