メインコンテンツへスキップ
GET
/
oauth
/
v1
/
access-tokens
/
{token}
OAuthトークンのメタデータを取得
curl --request GET \
  --url https://api.hubapi.com/oauth/v1/access-tokens/{token}
{
  "app_id": 123,
  "expires_in": 123,
  "hub_id": 123,
  "scopes": [
    "<string>"
  ],
  "token": "<string>",
  "token_type": "<string>",
  "user_id": 123,
  "hub_domain": "<string>",
  "is_private_distribution": true,
  "signed_access_token": {
    "appId": 123,
    "expiresAt": 123,
    "hubId": 123,
    "hublet": "<string>",
    "installingUserId": 123,
    "isPrivateDistribution": true,
    "isServiceAccount": true,
    "isUserLevel": true,
    "newSignature": "<string>",
    "scopeToScopeGroupPks": "<string>",
    "scopes": "<string>",
    "signature": "<string>",
    "trialScopeToScopeGroupPks": "<string>",
    "trialScopes": "<string>",
    "userId": 123
  },
  "user": "<string>"
}
サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub無料ツール
Sales HubSales Hub無料ツール
Service HubService Hub無料ツール
Content HubContent Hub無料ツール

パスパラメータ

token
string
必須

情報を取得するアクセストークン。

レスポンス

successful operation

app_id
integer<int32>
必須

アクセストークンと関連付けられたアプリケーションのID。

expires_in
integer<int32>
必須

アクセストークンが期限切れになるまでの時間(秒)。

hub_id
integer<int32>
必須

アクセストークンと関連付けられたHubSpotアカウントのID。

scopes
string[]
必須
token
string
必須

API呼び出しを行うために使用されるアクセストークン文字列。

token_type
string
必須

トークンのタイプで、通常は認証スキーマを示します。通常は「ベアラー」です。

user_id
integer<int32>
必須

アクセストークンが作成されたHubSpotユーザーのID。

hub_domain
string

アクセストークンと関連付けられたHubSpotアカウントのドメイン。

is_private_distribution
boolean

トークンが非公開で配信されるアプリケーションのものであるかどうかを示します。falseの場合は、マーケットプレイスで配信されます。

signed_access_token
object
user
string

アクセストークンが作成されたHubSpotユーザーのEメールアドレス。

Last modified on August 31, 2025