As others have said, it's not really something the API does, it's really for your app developer to create a solution.
If you really wanted to use the API, you could use it to send a ping from a Meraki device to the target device IP, with a defined payload that a device could recognise as a command...
https://developer.cisco.com/meraki/api-v1/create-device-live-tools-ping/
But it's not straightforward, you'd need to keep track of device ID:IP mapping and relate that to a Meraki device in the same local network, the device app will need to always be listening for a ping, and ping isn't reliable, also it's not secure as someone on the same network could also ping things, though you could harden it various ways.