Activity
Get login activity for a HubSpot account.
Get login activity.
get/account-info/v3/activity/login
Request
- Base URLhttps://api.hubapi.com
- Auth
- OAuth 2Authorization codehttps://app.hubspot.com/oauth/authorizeToken URLhttps://api.hubapi.com/oauth/v1/tokenScopesaccount-info.security.read
- or API key in header private-app-legacy
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
afterstring
The cursor token value to get the next set of results. You can get this from the paging.next.after JSON property of a paged response containing more results.
limitinteger
The maximum number of results to display per page. Max value of limit is 200.
userIdinteger
Identifier of user to retrieve activities for
Response
successful operation
Example response
{
"results": [
{
"id": "5432653",
"loginAt": "2022-04-01T19:36:24.303Z",
"userId": 876,
"email": "person3@testdomain.com",
"countryCode": "ie",
"regionCode": "d",
"ipAddress": "45.56.67.89",
"userAgent": "Mozilla/5.0 (Linux; Android 11; M2101K6G)",
"loginSucceeded": true
}
]
}Changes
No recorded changes to this operation across all 3 revisions of this API.