---
title: "List the caller's known devices"
method: GET
path: "/v1/known_devices"
tags: ["login-history"]
---

# List the caller's known devices

`GET /v1/known_devices`

## Request

- Base URL: `https://identity-api.paymongo.com`
- URL: `https://identity-api.paymongo.com/v1/known_devices`
- Auth: HTTP bearer

Returns the devices the caller has signed in from and not revoked, most recently seen first. `trusted` means a second factor or passkey succeeded on it; `current` marks the device making this request (matched by X-Device-Id, or the User-Agent when no device id is sent).

## Headers

- `X-Device-Id` string

## Response `200`

OK

- object: Standard response containing data and its metadata if any
  - `data` object[]
    - `attributes` DeviceKnownDeviceAttributesDTO
      - `current` boolean
      - `first_seen_at` string
      - `label` string
      - `last_country_code` string
      - `last_ip` string
      - `last_seen_at` string
      - `trusted` boolean
    - `id` string
    - `type` string
  - `has_more` boolean

## Other responses

- `401`: Unauthorized
- `500`: Internal Server Error

---

[API](https://skmtc.dev/paymongo/apis/identity.md) - [All operations](https://skmtc.dev/paymongo/apis/identity/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/identity/revisions/cc3056164874?raw)
