Mac-Telnet from API

Is possibile to execute mac-telnet from API?
Entering with API in the Access Point and launch mac-telnet to a know mac-address station connected?

Any examples?

it is not possible to use anything that requires something interactive through API. As result no telnet, mac-telnet, api login to other router etc.

If you want to automate these interactive things (mac-telnet) you should look at expect scripts and TCL that are specifically designed to imitate user interaction with them.