GET
/
account-info
/
v3
/
activity
/
security
Retrieve security history
curl --request GET \
  --url https://api.hubapi.com/account-info/v3/activity/security \
  --header 'Authorization: Bearer <token>'
{
  "paging": {
    "next": {
      "link": "",
      "after": ""
    }
  },
  "results": [
    {
      "actingUser": "person3@testdomain.com",
      "countryCode": "ie",
      "createdAt": "2022-04-01T19:36:24.303Z",
      "id": "5432653",
      "infoUrl": "app.hubspot.com/settings/123/users",
      "ipAddress": "45.56.67.89",
      "objectId": "7654",
      "regionCode": "d",
      "type": "ADD_USER",
      "userId": 876
    }
  ]
}
Supported products
Requires one of the following products or higher.
Marketing HubMarketing HubFree
Sales HubSales HubFree
Service HubService HubFree
Content HubContent HubFree

Required Scopes

This API requires one of the following scopes:
  • account-info.security.read

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

after
string

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.

limit
integer

The maximum number of results to display per page. Max value of limit is 200.

userId
integer

The ID of a user, for retrieving user-specific logs.

fromTimestamp
integer

The start time, for retrieving logs within a specific timeframe.

toTimestamp
integer

The end time, for retrieving logs within a specific timeframe.

Response

200
application/json

successful operation

The response is of type object.