# Pterodactyl Importer endpoints (Admin API)

> 13 FeatherPanel Admin API endpoints from admin/pterodactyl-importer.php: methods, paths, auth, permissions, rate limits, parameters and responses.

Source: https://featherpanel.com/docs/api/reference/admin/pterodactyl-importer/

Defined in [`backend/app/routes/admin/pterodactyl-importer.php`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/admin/pterodactyl-importer.php). Authentication used here: **Admin**. Read [Authentication](https://featherpanel.com/docs/api/authentication/) for how to send credentials and [Rate limits and errors](https://featherpanel.com/docs/api/rate-limits-and-errors/) for the response envelope.

Paths, methods, permissions and rate limits come from the route file. Summaries, parameters and response codes come from the OpenAPI annotations on the controllers; endpoints without annotations show only what the route file declares.

## Endpoints

### GET `/api/admin/pterodactyl-importer/prerequisites`

- Auth: Admin
- Permission: `admin.root`
- Route name: `admin-pterodactyl-importer-prerequisites`
- Controller: [`PterodactylImporterController::prerequisites`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/Controllers/Admin/PterodactylImporterController.php)
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/admin/pterodactyl-importer.php#L26)

**Check prerequisites for Pterodactyl import** Verify that the panel meets the requirements for importing Pterodactyl data. Checks user count (must be <= 1), nodes (must be 0), locations (must be 0), realms (must be 0), spells (must be 0), servers (must be 0), databases (must be 0), and allocations (must be 0).

| Response `data` field | Type | Description |
| --- | --- | --- |
| `users_count` | integer | Current number of users |
| `nodes_count` | integer | Current number of nodes |
| `locations_count` | integer | Current number of locations |
| `realms_count` | integer | Current number of realms |
| `spells_count` | integer | Current number of spells |
| `servers_count` | integer | Current number of servers |
| `databases_count` | integer | Current number of databases |
| `allocations_count` | integer | Current number of allocations |
| `panel_clean` | boolean | Whether all prerequisites are met |

```bash
curl -X GET "$PANEL_URL/api/admin/pterodactyl-importer/prerequisites" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"
```

Responses: `200` Prerequisites check completed successfully · `401` Unauthorized · `403` Forbidden - Insufficient permissions · `500` Internal server error

### POST `/api/admin/pterodactyl-importer/import`

- Auth: Admin
- Permission: `admin.root`
- Route name: `admin-pterodactyl-importer-import`
- Controller: [`PterodactylImporterController::import`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/Controllers/Admin/PterodactylImporterController.php)
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/admin/pterodactyl-importer.php#L37)

**Import Pterodactyl data (deprecated)** Deprecated: Direct HTTP import is no longer supported. Use the external Pterodactyl Migration Agent instead.

```bash
curl -X POST "$PANEL_URL/api/admin/pterodactyl-importer/import" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"
```

Responses: `401` Unauthorized · `403` Forbidden - Insufficient permissions · `410` Deprecated - Import must be performed via the Pterodactyl Migration Agent · `500` Internal server error

### POST `/api/admin/pterodactyl-importer/import-egg`

- Auth: Admin
- Permission: `admin.root`
- Route name: `admin-pterodactyl-importer-import-egg`
- Controller: [`PterodactylImporterController::importEgg`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/Controllers/Admin/PterodactylImporterController.php)
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/admin/pterodactyl-importer.php#L49)

**Import Pterodactyl egg as spell** Import a Pterodactyl egg (with variables) as a FeatherPanel spell. Maps nest\_id to realm\_id and converts egg\_variables to spell\_variables.

| Body field | Type | Required | Description |
| --- | --- | --- | --- |
| `egg` | object | yes | Pterodactyl egg data |
| `variables` | object\[\] | no | Egg variables to import |
| `nest_to_realm_mapping` | object | no | Mapping of Pterodactyl nest\_id to FeatherPanel realm\_id. If not provided, will use realm\_id from egg data or default to realm\_id=1. |

| Response `data` field | Type | Description |
| --- | --- | --- |
| `spell` | Spell |  |
| `variables_imported` | integer | Number of variables imported |

```bash
curl -X POST "$PANEL_URL/api/admin/pterodactyl-importer/import-egg" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"egg":{},"variables":[],"nest_to_realm_mapping":{}}'
```

Responses: `201` Egg imported successfully as spell · `400` Bad request - Invalid data, missing required fields, invalid realm, or UUID already exists · `401` Unauthorized · `403` Forbidden - Insufficient permissions · `404` Realm not found · `500` Internal server error

### POST `/api/admin/pterodactyl-importer/import-node`

- Auth: Admin
- Permission: `admin.root`
- Route name: `admin-pterodactyl-importer-import-node`
- Controller: [`PterodactylImporterController::importNode`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/Controllers/Admin/PterodactylImporterController.php)
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/admin/pterodactyl-importer.php#L61)

**Import Pterodactyl node** Import a Pterodactyl node as a FeatherPanel node. Maps location\_id and generates new daemon tokens.

| Body field | Type | Required | Description |
| --- | --- | --- | --- |
| `node` | object | yes | Pterodactyl node data |
| `location_to_location_mapping` | object | no | Mapping of Pterodactyl location\_id to FeatherPanel location\_id. If not provided, will use location\_id from node data. |
| `generate_new_tokens` | boolean | no | Whether to generate new daemon tokens (default: true). Set to false to preserve original tokens (not recommended). |

| Response `data` field | Type | Description |
| --- | --- | --- |
| `node` | Node |  |

```bash
curl -X POST "$PANEL_URL/api/admin/pterodactyl-importer/import-node" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"node":{},"location_to_location_mapping":{},"generate_new_tokens":false}'
```

Plugin events: [`featherpanel:admin:nodes:node:created`](https://featherpanel.com/docs/plugins/events/nodes/#node-created)

Responses: `201` Node imported successfully · `400` Bad request - Invalid data, missing required fields, invalid location, or UUID already exists · `401` Unauthorized · `403` Forbidden - Insufficient permissions · `404` Location not found · `500` Internal server error

### POST `/api/admin/pterodactyl-importer/import-allocation`

- Auth: Admin
- Permission: `admin.root`
- Route name: `admin-pterodactyl-importer-import-allocation`
- Controller: [`PterodactylImporterController::importAllocation`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/Controllers/Admin/PterodactylImporterController.php)
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/admin/pterodactyl-importer.php#L73)

**Import Pterodactyl allocation** Import a Pterodactyl allocation as a FeatherPanel allocation. Maps node\_id and allows unknown/non-existent server\_id (will be set to null).

| Body field | Type | Required | Description |
| --- | --- | --- | --- |
| `allocation` | object | yes | Pterodactyl allocation data |
| `node_to_node_mapping` | object | no | Mapping of Pterodactyl node\_id to FeatherPanel node\_id. If not provided, will use node\_id from allocation data. |
| `server_to_server_mapping` | object | no | Mapping of Pterodactyl server\_id to FeatherPanel server\_id. If not provided, server\_id will be used as-is (no existence checks). |

| Response `data` field | Type | Description |
| --- | --- | --- |
| `allocation` | object | Created allocation data |

```bash
curl -X POST "$PANEL_URL/api/admin/pterodactyl-importer/import-allocation" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"allocation":{},"node_to_node_mapping":{},"server_to_server_mapping":{}}'
```

Responses: `201` Allocation imported successfully · `400` Bad request - Invalid data, missing required fields, invalid node, or IP/port already exists · `401` Unauthorized · `403` Forbidden - Insufficient permissions · `404` Node not found · `500` Internal server error

### POST `/api/admin/pterodactyl-importer/import-user`

- Auth: Admin
- Permission: `admin.root`
- Route name: `admin-pterodactyl-importer-import-user`
- Controller: [`PterodactylImporterController::importUser`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/Controllers/Admin/PterodactylImporterController.php)
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/admin/pterodactyl-importer.php#L85)

**Import Pterodactyl user** Import a Pterodactyl user as a FeatherPanel user. Maps fields and preserves bcrypt passwords. ID 1 is reserved for the main user and will be skipped.

| Body field | Type | Required | Description |
| --- | --- | --- | --- |
| `user` | object | yes | Pterodactyl user data |

| Response `data` field | Type | Description |
| --- | --- | --- |
| `user` | object | Created user data |

```bash
curl -X POST "$PANEL_URL/api/admin/pterodactyl-importer/import-user" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"user":{}}'
```

Plugin events: [`featherpanel:user:created`](https://featherpanel.com/docs/plugins/events/user/#user-created)

Responses: `201` User imported successfully · `400` Bad request - Invalid data, missing required fields, duplicate email/username, or ID 1 provided · `401` Unauthorized · `403` Forbidden - Insufficient permissions · `409` Conflict - User with email/username/ID already exists · `500` Internal server error

### POST `/api/admin/pterodactyl-importer/import-ssh-key`

- Auth: Admin
- Permission: `admin.root`
- Route name: `admin-pterodactyl-importer-import-ssh-key`
- Controller: [`PterodactylImporterController::importSshKey`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/Controllers/Admin/PterodactylImporterController.php)
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/admin/pterodactyl-importer.php#L97)

**Import Pterodactyl SSH key** Import a Pterodactyl SSH key as a FeatherPanel SSH key. Maps user\_id and preserves fingerprint.

| Body field | Type | Required | Description |
| --- | --- | --- | --- |
| `ssh_key` | object | yes | Pterodactyl SSH key data |
| `user_to_user_mapping` | object | no | Mapping of Pterodactyl user\_id to FeatherPanel user\_id. If not provided, will use user\_id from SSH key data. |

| Response `data` field | Type | Description |
| --- | --- | --- |
| `ssh_key` | object | Created SSH key data |

```bash
curl -X POST "$PANEL_URL/api/admin/pterodactyl-importer/import-ssh-key" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"ssh_key":{},"user_to_user_mapping":{}}'
```

Plugin events: [`featherpanel:user:ssh_key:created`](https://featherpanel.com/docs/plugins/events/user/#user-ssh-key-created)

Responses: `201` SSH key imported successfully · `400` Bad request - Invalid data, missing required fields, invalid user, duplicate fingerprint, or invalid SSH key format · `401` Unauthorized · `403` Forbidden - Insufficient permissions · `404` User not found · `409` Conflict - SSH key with fingerprint already exists · `500` Internal server error

### POST `/api/admin/pterodactyl-importer/import-server`

- Auth: Admin
- Permission: `admin.root`
- Route name: `admin-pterodactyl-importer-import-server`
- Controller: [`PterodactylImporterController::importServer`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/Controllers/Admin/PterodactylImporterController.php)
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/admin/pterodactyl-importer.php#L109)

**Import Pterodactyl server** Import a Pterodactyl server as a FeatherPanel server. Maps nest\_id to realms\_id, egg\_id to spell\_id, and preserves server variables. Skips Wings API calls.

| Body field | Type | Required | Description |
| --- | --- | --- | --- |
| `server` | object | yes | Pterodactyl server data |
| `server_variables` | object\[\] | no | Server variables array |
| `nest_to_realm_mapping` | object | no | Mapping of Pterodactyl nest\_id to FeatherPanel realm\_id |
| `egg_to_spell_mapping` | object | no | Mapping of Pterodactyl egg\_id to FeatherPanel spell\_id |
| `node_to_node_mapping` | object | no | Mapping of Pterodactyl node\_id to FeatherPanel node\_id |
| `user_to_user_mapping` | object | no | Mapping of Pterodactyl user\_id to FeatherPanel user\_id |
| `allocation_to_allocation_mapping` | object | no | Mapping of Pterodactyl allocation\_id to FeatherPanel allocation\_id |
| `variable_to_variable_mapping` | object | no | Mapping of Pterodactyl egg\_variable\_id to FeatherPanel spell\_variable\_id |
| `server_to_server_mapping` | object | no | Mapping of Pterodactyl server\_id to FeatherPanel server\_id (for parent\_id) |

| Response `data` field | Type | Description |
| --- | --- | --- |
| `server` | object | Created server data |
| `variables_imported` | integer | Number of server variables imported |

```bash
curl -X POST "$PANEL_URL/api/admin/pterodactyl-importer/import-server" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"server":{},"server_variables":[],"nest_to_realm_mapping":{},"egg_to_spell_mapping":{},"node_to_node_mapping":{},"user_to_user_mapping":{},"allocation_to_allocation_mapping":{},"variable_to_variable_mapping":{},"server_to_server_mapping":{}}'
```

Plugin events: [`featherpanel:server:created`](https://featherpanel.com/docs/plugins/events/server/#server-created)

Responses: `201` Server imported successfully · `400` Bad request - Invalid data, missing required fields, or invalid mappings · `401` Unauthorized · `403` Forbidden - Insufficient permissions · `404` Node, user, allocation, realm, or spell not found · `409` Conflict - Server with UUID or ID already exists · `500` Internal server error

### POST `/api/admin/pterodactyl-importer/import-server-database`

- Auth: Admin
- Permission: `admin.root`
- Route name: `admin-pterodactyl-importer-import-server-database`
- Controller: [`PterodactylImporterController::importServerDatabase`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/Controllers/Admin/PterodactylImporterController.php)
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/admin/pterodactyl-importer.php#L121)

**Import Pterodactyl server database** Import a Pterodactyl server database as a FeatherPanel server database. Maps server\_id and database\_host\_id.

| Body field | Type | Required | Description |
| --- | --- | --- | --- |
| `database` | object | yes | Pterodactyl server database data |
| `server_to_server_mapping` | object | no | Mapping of Pterodactyl server\_id to FeatherPanel server\_id |
| `database_host_to_database_host_mapping` | object | no | Mapping of Pterodactyl database\_host\_id to FeatherPanel database\_host\_id |

| Response `data` field | Type | Description |
| --- | --- | --- |
| `database` | object | Created server database data |

```bash
curl -X POST "$PANEL_URL/api/admin/pterodactyl-importer/import-server-database" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"database":{},"server_to_server_mapping":{},"database_host_to_database_host_mapping":{}}'
```

Responses: `201` Server database imported successfully · `400` Bad request - Invalid data, missing required fields, or invalid mappings · `401` Unauthorized · `403` Forbidden - Insufficient permissions · `404` Server or database host not found · `409` Conflict - Database already exists for this server · `500` Internal server error

### POST `/api/admin/pterodactyl-importer/import-backup`

- Auth: Admin
- Permission: `admin.root`
- Route name: `admin-pterodactyl-importer-import-backup`
- Controller: [`PterodactylImporterController::importBackup`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/Controllers/Admin/PterodactylImporterController.php)
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/admin/pterodactyl-importer.php#L133)

**Import Pterodactyl backup** Import a backup from Pterodactyl to FeatherPanel. Maps server\_id using provided mapping and preserves original backup ID, UUID, and metadata.

| Body field | Type | Required | Description |
| --- | --- | --- | --- |
| `backup` | object | yes | Pterodactyl backup data |
| `server_to_server_mapping` | object | yes | Mapping of Pterodactyl server IDs to FeatherPanel server IDs |

| Response `data` field | Type | Description |
| --- | --- | --- |
| `backup` | object | Imported backup data |

```bash
curl -X POST "$PANEL_URL/api/admin/pterodactyl-importer/import-backup" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"backup":{},"server_to_server_mapping":{}}'
```

Responses: `201` Backup imported successfully · `400` Bad request - Invalid JSON, missing required fields, or validation errors · `401` Unauthorized · `403` Forbidden - Insufficient permissions · `404` Server not found · `409` Conflict - Backup with UUID or ID already exists · `500` Internal server error - Failed to import backup

### POST `/api/admin/pterodactyl-importer/import-subuser`

- Auth: Admin
- Permission: `admin.root`
- Route name: `admin-pterodactyl-importer-import-subuser`
- Controller: [`PterodactylImporterController::importSubuser`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/Controllers/Admin/PterodactylImporterController.php)
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/admin/pterodactyl-importer.php#L145)

**Import Pterodactyl subuser** Import a subuser from Pterodactyl to FeatherPanel. Maps user\_id and server\_id using provided mappings and preserves original subuser ID and permissions.

| Body field | Type | Required | Description |
| --- | --- | --- | --- |
| `subuser` | object | yes | Pterodactyl subuser data |
| `user_to_user_mapping` | object | yes | Mapping of Pterodactyl user IDs to FeatherPanel user IDs |
| `server_to_server_mapping` | object | yes | Mapping of Pterodactyl server IDs to FeatherPanel server IDs |

| Response `data` field | Type | Description |
| --- | --- | --- |
| `subuser` | object | Imported subuser data |

```bash
curl -X POST "$PANEL_URL/api/admin/pterodactyl-importer/import-subuser" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"subuser":{},"user_to_user_mapping":{},"server_to_server_mapping":{}}'
```

Responses: `201` Subuser imported successfully · `400` Bad request - Validation errors · `401` Unauthorized · `403` Forbidden - Insufficient permissions · `409` Conflict - Subuser already exists · `500` Internal server error

### POST `/api/admin/pterodactyl-importer/import-schedule`

- Auth: Admin
- Permission: `admin.root`
- Route name: `admin-pterodactyl-importer-import-schedule`
- Controller: [`PterodactylImporterController::importSchedule`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/Controllers/Admin/PterodactylImporterController.php)
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/admin/pterodactyl-importer.php#L157)

**Import Pterodactyl schedule** Import a schedule from Pterodactyl to FeatherPanel. Maps server\_id using provided mapping and preserves original schedule ID, cron settings, and timestamps. Calculates next\_run\_at if not provided.

| Body field | Type | Required | Description |
| --- | --- | --- | --- |
| `schedule` | object | yes | Pterodactyl schedule data |
| `server_to_server_mapping` | object | yes | Mapping of Pterodactyl server IDs to FeatherPanel server IDs |

| Response `data` field | Type | Description |
| --- | --- | --- |
| `schedule` | object | Imported schedule data |

```bash
curl -X POST "$PANEL_URL/api/admin/pterodactyl-importer/import-schedule" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"schedule":{},"server_to_server_mapping":{}}'
```

Responses: `201` Schedule imported successfully · `400` Bad request - Invalid JSON, missing required fields, or validation errors · `401` Unauthorized · `403` Forbidden - Insufficient permissions · `404` Server not found · `409` Conflict - Schedule with ID already exists · `500` Internal server error - Failed to import schedule

### POST `/api/admin/pterodactyl-importer/import-task`

- Auth: Admin
- Permission: `admin.servers.create`
- Route name: `admin-pterodactyl-importer-import-task`
- Controller: [`PterodactylImporterController::importTask`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/Controllers/Admin/PterodactylImporterController.php)
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/admin/pterodactyl-importer.php#L169)

**Import Pterodactyl task** Import a task from Pterodactyl to FeatherPanel. Maps schedule\_id using provided mapping and preserves original task ID, sequence, action, payload, and other settings.

| Body field | Type | Required | Description |
| --- | --- | --- | --- |
| `task` | object | yes | Pterodactyl task data |
| `schedule_to_schedule_mapping` | object | yes | Mapping of Pterodactyl schedule IDs to FeatherPanel schedule IDs |

| Response `data` field | Type | Description |
| --- | --- | --- |
| `task` | object | Imported task data |

```bash
curl -X POST "$PANEL_URL/api/admin/pterodactyl-importer/import-task" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"task":{},"schedule_to_schedule_mapping":{}}'
```

Responses: `201` Task imported successfully · `400` Bad request - Invalid JSON, missing required fields, or validation errors · `401` Unauthorized · `403` Forbidden - Insufficient permissions · `404` Schedule not found · `409` Conflict - Task with ID already exists · `500` Internal server error - Failed to import task
