Settings - User Devices

Get user's known devices with pagination

Returns a paginated list of known devices for the authenticated user

get/v2/settings/users/{userId}/devices

Request

  • Base URL: https://app.metricool.com/api
  • URL: https://app.metricool.com/api/v2/settings/users/{userId}/devices
  • Auth: none declared

Path parameters

userIdinteger required

User id

Query parameters

pageinteger required

Page number (0-based)

pageSizeinteger required

Number of results per page

sortBystring

Field to sort by (firstLoginAt, lastLoginAt)

sortDirectionstring

Sort direction (asc, desc)

timezonestring

Timezone for date formatting

Response

OK

metadataobject

Example response

{
  "data": {
    "elements": [
      {
        "userDeviceId": 12345,
        "ipAddress": "192.168.1.1",
        "browserName": "Chrome",
        "osName": "Windows 10",
        "isTrusted": true
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.