API reference
Restore copier
POST
https://api.tradesync.com/deleted-copiers/{copier_id}/restoreRestore a deleted copier with its saved settings. Both referenced accounts must exist.
Last updated
Path parameters
- copier_idType: integer
- Deleted copier ID belonging to the authenticated user
Request body
None.
Response example
See response field definitions for field types and conditional fields.
{
"result": "success",
"status": 200,
"data": {
"id": 1309158,
"created_at": "2026-11-12T10:00:00Z",
"updated_at": "2026-11-12T10:00:00Z",
"lead_id": 1241453,
"follower_id": 1241451,
"mode": "off",
"reverse": "no",
"use_alt_tick_value": "no",
"risk_type": "risk_multiplier_by_balance",
"risk_value": 1,
"force_min": "no",
"max_lot": 50,
"slippage": 100,
"copy_pending": "no",
"copy_sl": "no",
"fixed_sl": null,
"copy_tp": "no",
"fixed_tp": null,
"comment": null
}
}
Errors
| Code | HTTP status | Condition |
|---|---|---|
| lead_does_not_exist | 422 | The lead account no longer exists in the active account set. |
| follower_does_not_exist | 422 | The follower account no longer exists in the active account set. |
| account_combination_exists | 422 | An active copier already exists with this lead and follower. |
See also common response codes.