Basic

Retrieve API usage

Changed on

Retrieve the daily API usage for privately distributed apps in the account. This endpoint provides information about the current API usage, usage limits, and usage breakdown by app type. It is useful for monitoring and managing API consumption within your HubSpot account.

get/account-info/2027-03-beta/api-usage/daily/privately-distributed

Request

  • Base URL: https://api.hubapi.com
  • URL: https://api.hubapi.com/account-info/2027-03-beta/api-usage/daily/privately-distributed
  • Auth: OAuth 2 (authorization code, authorization URL https://app.hubspot.com/oauth/authorize, token URL https://api.hubapi.com/oauth/v1/token, scopes: account_info.api_usage.read)

Response

successful operation

collectedAtstring date-time required

The date and time when the API usage data was collected, in ISO 8601 format.

currentUsageinteger required

An integer indicating the current amount of API usage.

resetsAtstring date-time

The date and time when the API usage limits will reset, in ISO 8601 format.

usageLimitinteger required

An integer representing the maximum allowed API usage.

Changes