---
title: "Retrieve login activity"
method: GET
path: "/account-info/2026-09/activity/login"
tags: ["Basic"]
---

# Retrieve login activity

`GET /account-info/2026-09/activity/login`

Retrieve logs of user actions related to [login activity](https://knowledge.hubspot.com/account-management/view-and-export-account-activity-history#account-login-history).

## Query parameters

- `after` string
- `limit` integer
- `userId` integer

## Response `200`

successful operation

- CollectionResponsePublicLoginAuditForwardPaging
  - `paging` ForwardPaging
    - `next` NextPage — Specifies the paging information needed to retrieve the next set of results in a paginated API response
      - `after` string, required — A paging cursor token for retrieving subsequent pages.
      - `link` string — A URL that can be used to retrieve the next page results.
  - `results` PublicLoginAudit[], required
    - `countryCode` string — The approximate country code of the login.
    - `email` string — Email address of the user associated with the login.
    - `id` string, required — The login activity's unique ID.
    - `ipAddress` string — IP address where the activity originated.
    - `location` string — The approximate location where the login activity originated.
    - `loginAt` string, date-time, required — The time the login took place.
    - `loginSucceeded` boolean, required — Whether the login was successful or not.
    - `regionCode` string — The approximate region code of the login.
    - `userAgent` string — Information about the device used for logging in.
    - `userId` integer — The user's unique ID.

## Other responses

- `default` — An error occurred.

---

[API](https://skmtc.net/hubspot/apis/account-audit-logs.md) · [All operations](https://skmtc.net/hubspot/apis/account-audit-logs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hubspot/account-audit-logs/revisions/b9a54ac4372a/schema)
