login-history

List the caller's login history

Returns the caller's sign-ins from the last 180 days, newest first, with cursor pagination via after (the id of the last event on the previous page). flagged is true when login risk assessment found something unusual, such as a new device or impossible travel.

get/v1/login_history

Request

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

Query parameters

limitinteger

Page size (1-100, default 10)

afterstring

Login event id — return the page after (older than) this event

Response

OK

has_moreboolean

Example response

{
  "data": [
    {
      "attributes": {
        "auth_method": "password",
        "created_at": "2026-10-16 02:00:00+00:00",
        "device": "Chrome on macOS",
        "device_id": "kdev_1f2e3d4c5b6a7980a1b2c3d4",
        "factor": "email",
        "ip_address": "49.150.111.43",
        "location": {
          "city": "Manila",
          "country_code": "PH",
          "country_name": "Philippines",
          "region": "Metro Manila"
        },
        "outcome": "succeeded"
      }
    }
  ]
}

Changes

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