Connected Apps

List caller's Portal Connected App sessions

Changed on

Returns the authenticated caller's active Portal Connected App sessions (active refresh tokens). Restricted to developer principals carrying a portal_id claim. Authenticated but not authorized.

get/v1/connected-apps/portal/me/sessions

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Query parameters

page[size], integer
Example:10

The maximum number of items to include per page. The last page of a collection may include fewer items.

page[number], integer
Example:1

Determines which page of the entities to retrieve.

sort, string

The asc suffix is optional as the default sort order is ascending. The desc suffix is used to specify a descending order. Multiple sort attributes may be provided via a comma separated list. JSONPath notation may be used to specify a sub-attribute (eg: 'foo.bar desc').

Example:created_at desc

Sorts a collection of sessions. Supported sort attributes are:

  • created_at
  • expires_at

Response

Paginated list of connected app sessions.

ListConnectedAppSessionsResponse required

Paginated list of connected app sessions.

data, ConnectedAppSessionBase[] required
meta, PaginatedMeta required

returns the pagination information

Example response

{
  "data": [
    {
      "id": "d32d905a-ed33-46a3-a093-d8f536af9a8a",
      "client_id": "abc123-client",
      "client_name": "My Connected App",
      "granted_scope_names": [
        "read:profile",
        "write:applications"
      ],
      "created_at": "2024-01-15T10:30:00Z",
      "expires_at": "2024-12-31T23:59:59Z"
    }
  ],
  "meta": {
    "page": {
      "total": 1,
      "size": 10,
      "number": 1
    }
  }
}

Changes