cURL
curl --request GET \ --url https://api.ngrok.com/app/sessions \ --header 'Authorization: Bearer <token>' \ --header 'ngrok-version: <ngrok-version>'
{ "application_sessions": [ { "id": "<string>", "uri": "<string>", "public_url": "<string>", "browser_session": { "user_agent": { "raw": "<string>", "browser_name": "<string>", "browser_version": "<string>", "device_type": "<string>", "os_name": "<string>", "os_version": "<string>" }, "ip_address": "<string>", "location": { "country_code": "<string>", "latitude": 123, "longitude": 123, "lat_long_radius_km": 123 } }, "application_user": { "id": "<string>", "uri": "<string>" }, "created_at": "<string>", "last_active": "<string>", "expires_at": "<string>", "endpoint": { "id": "<string>", "uri": "<string>" }, "edge": { "id": "<string>", "uri": "<string>" }, "route": { "id": "<string>", "uri": "<string>" } } ], "uri": "<string>", "next_page_uri": "<string>" }
List all application sessions for this account.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
list of all application sessions on this account
Show child attributes
URI of the application session list API resource
URI of the next page, or null if there is no next page
Was this page helpful?