Hello,
API is not available for our routers yet, even though that functionality is being developed, so short answer is - No right now controlling router via API is not possible, and if there is no delays it might come out in Q2 of following year.
Another option for TRB145 remote control is JSON RPC but this functionality will also be available from 7.02 RutOS fw release.
Regards,
Vidas.