Search + K

Command Palette

Search for a command to run...

Sign In

Retrieve security history

GET /account-info/v3/activity/security
Copy endpoint
https://api.hubapi.com

Retrieve logs of user actions related to security activity.

Parameters

query Query Parameters

Name Type
after

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.

string
fromTimestamp

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

number
limit

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

number
toTimestamp

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

number
userId

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

number

Responses

200 application/json

successful operation

interface CollectionResponseHydratedCriticalActionForwardPaging {
paging?: ForwardPaging
interface ForwardPaging {
next?: NextPage35;
}
;
results: HydratedCriticalAction

Details about the a particular security activity for a HubSpot account.

interface HydratedCriticalAction {
actingUser?: string;
countryCode?: string;
createdAt: string;
id: string;
infoUrl?: string;
ipAddress?: string;
location?: string;
objectId?: string;
regionCode?: string;
type: string;
userId: number;
}
[]
;
}
default */*

An error occurred.

interface Error1 {
category: string;
context?: { };
correlationId: string;
errors?: ErrorDetail1
interface ErrorDetail1 {
code?: string;
context?: { };
in?: string;
message: string;
subCategory?: string;
}
[]
;
links?: { };
message: string;
subCategory?: string;
}