login-history

List the caller's known devices

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).

get/v1/known_devices

Request

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

Headers

X-Device-Idstring

Client's per-install device id

Response

OK

has_moreboolean

Example response

{
  "data": [
    {
      "attributes": {
        "current": true,
        "first_seen_at": "2026-09-01 02:00:00+00:00",
        "label": "Chrome on macOS",
        "last_country_code": "PH",
        "last_ip": "49.150.111.43",
        "last_seen_at": "2026-10-16 02:00:00+00:00",
        "trusted": true
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.