Skip to main content
GET
/
v1
/
apps
/
{app_id}
/
m2m
/
sessions
List all M2M sessions for an app
curl --request GET \
  --url https://{defaultHost}/v1/apps/{app_id}/m2m/sessions \
  --header 'Authorization: Bearer <token>'
{
  "sessions": [
    {
      "id": "<string>",
      "status": true,
      "type": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "client_name": "<string>",
      "display_name": "<string>",
      "access_expiration": "2023-11-07T05:31:56Z",
      "refresh_expiration": "2023-11-07T05:31:56Z",
      "last_used_at": "2023-11-07T05:31:56Z",
      "last_used_at_ip": "<string>",
      "user_agent": "<string>",
      "browser": "<string>",
      "platform": "<string>",
      "user_agent_shortname": "<string>",
      "nickname": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API Secret token

Path Parameters

app_id
string
required

App ID

Response

successful

sessions
object[]
required

Collection of active and inactive M2M token sessions