Passer au contenu principal
GET
/
oauth
/
v1
/
access-tokens
/
{token}
Récupérer les métadonnées du jeton 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>"
}

Documentation Index

Fetch the complete documentation index at: https://developers.hubspot.fr/docs/llms.txt

Use this file to discover all available pages before exploring further.

Supported products

Paramètres de chemin

token
string
requis

Le jeton d'accès pour lequel vous souhaitez obtenir des informations.

Réponse

successful operation

app_id
integer<int32>
requis

L'ID de l'application associée au jeton d'accès.

expires_in
integer<int64>
requis

Le temps en secondes jusqu'à l'expiration du jeton d'accès.

hub_id
integer<int32>
requis

L'ID du compte HubSpot associé au jeton d'accès.

scopes
string[]
requis

Un tableau de chaînes indiquant les champs d'application

token
string
requis

La chaîne du jeton d'accès utilisée pour effectuer des appels API.

token_type
string
requis

Le type de jeton, indiquant généralement le schéma d'authentification. Généralement « titulaire ».

user_id
integer<int32>
requis

L'ID de l'utilisateur HubSpot pour lequel le jeton d'accès a été créé.

hub_domain
string

Le domaine du compte HubSpot associé au jeton d'accès.

is_private_distribution
boolean

Indique si le jeton est destiné à une application distribuée de manière privée. Si la valeur est "false", il est distribué sur le marché.

signed_access_token
object
user
string

L'adresse e-mail de l'utilisateur HubSpot pour lequel le jeton d'accès a été créé.

Last modified on May 12, 2026