Basic

Retrieve security history

Changed on

Retrieve logs of user actions related to security activity.

get/account-info/2026-09/activity/security

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/account-info/2026-09/activity/security
  • Auth
    OAuth 2
    Authorization code: https://app.hubspot.com/oauth/authorize
    Token URL: https://api.hubapi.com/oauth/v1/token scopes: account-info.security.read

Query parameters

afterstring

The paging cursor token of the last successfully read resource will be returned as the paging.next.after JSON property of a paged response containing more results.

fromTimestampinteger

The start of the time range for the security activity in Unix timestamp format.

limitinteger

The maximum number of results to display per page.

toTimestampinteger

The end of the time range for the security activity in Unix timestamp format.

userIdinteger

The unique identifier of the user whose security activity you want to retrieve.

Response

successful operation

Changes

    • warning

      added the new CHANNEL_SENSITIVE_DATA_DISABLED enum value to the // response property for the response status

    • warning

      added the new CHANNEL_SENSITIVE_DATA_ENABLED enum value to the // response property for the response status

    • warning

      added the new CONTACT_OWNER_AUTO_ASSIGN_DISABLED enum value to the // response property for the response status

    • warning

      added the new CONTACT_OWNER_AUTO_ASSIGN_ENABLED enum value to the // response property for the response status

    • warning

      added the new EMAIL_LOGGING_SYNC_SET_ALL enum value to the // response property for the response status

    • warning

      added the new EMAIL_LOGGING_SYNC_SET_CONTACTS enum value to the // response property for the response status

    • warning

      added the new EMAIL_LOGGING_SYNC_SET_REPLIES enum value to the // response property for the response status

    • warning

      added the new SERVICE_KEY_AUTO_ROTATE enum value to the // response property for the response status

    • warning

      added the new SERVICE_KEY_ROTATION_SCHEDULE_REMOVED enum value to the // response property for the response status

    • warning

      added the new SERVICE_KEY_ROTATION_SCHEDULE_SET enum value to the // response property for the response status

    • warning

      added the new SERVICE_KEY_ROTATION_SCHEDULE_UPDATED enum value to the // response property for the response status

    • warning

      added the new TEMPLATE_DELETED enum value to the // response property for the response status

    • warning

      added the new TWO_FACTOR_PROTECTED_ENDPOINT_BLOCKED enum value to the // response property for the response status

    • warning

      added the new TWO_FACTOR_PROTECTED_ENDPOINT_SUCCEEDED enum value to the // response property for the response status

    • info

      api operation id get-/account-info/2026-09/activity/security_/account-info/2026-03/activity/security removed and replaced with get-/account-info/2026-09/activity/security

    • info

      the endpoint scheme security private_apps was removed from the API