# request_migration

> Ask Inleed to migrate a website, email, or control panel into your account.

- Tier: W
- Required scope: write:hosting
- Annotations: idempotentHint
- Docs: https://api.inleed.com/tools/request-migration

## Description

Ask Inleed to migrate a website, email, or control panel into your account. This notifies Inleed support and does not act on this call: it validates and returns `{status:"confirmation_required", confirmationUrl, expiresAt, preview}`. Show the human the `confirmationUrl`; they review and approve in the Inleed client area, and only then is the request filed and support notified. Do not approve it yourself.

## Input schema

- `control_panel` — object. The source control panel to migrate from. Omit if migrating by FTP only.
  - `type` — string. The source control panel, e.g. cPanel, Plesk, DirectAdmin.
  - `host` — string. The source control-panel hostname or IP.
  - `username` — string. The source control-panel username.
  - `password` — string. The source control-panel password. Stored encrypted; shown back only as has_password.
- `websites` — object. The websites to migrate and how to reach them over FTP.
  - `ftp_server` — string. Source FTP server hostname or IP.
  - `ftp_username` — string. Source FTP username.
  - `ftp_password` — string. Source FTP password. Stored encrypted; shown back only as has_ftp_password.
  - `additional_information` — string. Anything the migration team should know.
  - `websites` — string[]. The website hostnames to migrate, e.g. ["example.com", "shop.example.com"].
- `email_accounts` — any[]. The email accounts to migrate (objects or addresses, as you have them).
- `domains` — string[]. Domain names involved in the migration, e.g. ["example.com"].
- `note` — string. A free-text note for the migration team (max 5000 chars).
- `attempt_key` — string. An idempotency key you choose. Reusing it within an hour returns the same held request instead of filing a second one.

## Example call

```json
{
  "name": "request_migration",
  "arguments": {}
}
```

