Ways to call a mikrotik script from outside

Is ssh the only way to call a mikrotik script from outside the OS ?
(enter ssh and run /system script run my script )

is there an easier way ? I know there is an api in github but that seems to not be compatible anymore.

Is there a way to trigger RouterOS scripts to run from linux terminal ?

You should secure it but, you can try to use port knocking to add entry to address list, and then monitor in routeros cron this list and run task.
You can also run scripts from outside by SMS.
https://wiki.mikrotik.com/wiki/Port_Knocking

Also you can use SNMP https://wiki.mikrotik.com/wiki/Manual:SNMP#Run_Script