Skip to main content
GET
/
app
/
sessions
List
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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

ngrok-version
integer
default:2
required

Query Parameters

before_id
string
limit
string

Response

200 - application/json

List all application sessions for this account.

application_sessions
object[]

list of all application sessions on this account

uri
string

URI of the application session list API resource

next_page_uri
string

URI of the next page, or null if there is no next page