Tradesync
Browse API reference
API reference

Get deleted account

GEThttps://api.tradesync.com/deleted-accounts/{account_id}

Return a deleted account.

Last updated

Path parameters

account_idType: integer
Deleted Tradesync account ID belonging to the authenticated user

Response example

Example for an MT4 account that had not connected.

{
    "result": "success",
    "status": 200,
    "data": {
        "id": 1241453,
        "created_at": "2026-11-12T10:00:00Z",
        "updated_at": "2026-11-12T10:00:00Z",
        "deleted_at": "2026-11-12T11:00:00Z",
        "application": "mt4",
        "type": "full",
        "account_name": "Example account",
        "account_identifier": 5449295,
        "account_number": 5449295,
        "password": "example-password",
        "broker_server_id": 119,
        "integration": 0,
        "status": null,
        "login_response": null,
        "modify_disabled": 0,
        "proxy_server_id": null,
        "follower_only": 0
    }
}

Response fields

The response includes deleted_at instead of restored_at. Platform and connection fields depend on the deleted account. The current deleted-record response differs from the active account response.

Field Type Description
id integer Resource ID
created_at string Creation timestamp in UTC
updated_at string Update timestamp in UTC
deleted_at string Deletion timestamp in UTC
application string Trading platform
type string readonly or full
integration integer Included for MT4/MT5; 0 for terminal, 1 for direct
status string or null Connection status when present; can be null on the deleted record
modify_disabled integer 0 for no, 1 for yes
follower_only integer 0 for no, 1 for yes

Other fields identify the deleted account and its platform credentials. Credential and previously connected-account fields follow the same inclusion branches as Get account; deleted-record flags and mode values are returned as shown above.