cURL
curl --request GET \ --url https://api.ngrok.com/tunnel_sessions \ --header 'Authorization: Bearer <token>' \ --header 'ngrok-version: <ngrok-version>'
{ "tunnel_sessions": [ { "agent_version": "<string>", "credential": { "id": "<string>", "uri": "<string>" }, "id": "<string>", "ip": "<string>", "metadata": "<string>", "os": "<string>", "region": "<string>", "started_at": "<string>", "transport": "<string>", "uri": "<string>" } ], "uri": "<string>", "next_page_uri": "<string>" }
List all online tunnel sessions running on this account.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
list of all tunnel sessions on this account
Show child attributes
URI to the API resource of the tunnel session list
URI of the next page, or null if there is no next page
Was this page helpful?