ngrok Agent API Access
The ngrok agent has its own REST API that can be used to view, manage, start and stop tunnels on the agent. It is available by default at http://localhost:4040. For more information about using the local ngrok agent API, see out ngrok agent API reference documentation.