My account

Get trusted devices

Changed on

Retrieve all active trusted devices for the signed-in user. A logto-verification-id in header and the trusted-devices scope are required. Each entry includes isCurrent, which is true only when the browser's trusted-device cookie passes full credential validation for that record.

get/api/my-account/trusted-devices

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/my-account/trusted-devices
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Response

A list of the signed-in user's active trusted devices.

idstring required
userAgentstring nullable required
countrystring nullable required
citystring nullable required
createdAtnumber required
lastUsedAtnumber required
expiresAtnumber required
isCurrentboolean required

Changes