How to find Account for placing autotrades


I am trying to place autotrade orders via the API, instead of using Platform Transmit with MT5.
So, let’s say i want to get the current autotrader orders using the API call.
I need to provide an Account. However, I can’t figure out which Account this is referring to, and how to get it.

I have managed to get an Account from the SearchAccounts method, however this account gets rejected and is “not found” when placing a new order.

Any help please?