# API: Clone Account

# cloneAccount

Clone Account by id. Clone creates order draft prepared with details of cloned account and returns draft ID

# Required parameters

Parameter Description
id Account ID

# Optional parameters

Parameter Description
draft_id Existing draft ID
qty Quantity
hostnames[] Hostname table for duplicate services

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=cloneAccount&id=ID

# PHP Samples

# PHP Samples: Clone the account to the existing order draft

# PHP Samples: Clone the account three times to a new order draft

# PHP Samples: Clone the account three times with unique hostnames to the existing order draft (with unnecessary hostnames)

# PHP Samples: Clone the account five times with unique hostnames to a new order draft

# Response

{
    "success": true,
    "draft_id": 604,
    "call": "cloneAccount",
    "server_time": 1720082262
}
Last Updated: 6/23/2025, 2:19:43 PM