curl --request POST \
--url https://api.hubapi.com/oauth/v3/token/introspect \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'client_id=<string>' \
--data 'client_secret=<string>' \
--data 'token=<string>' \
--data 'token_type_hint=<string>'{
"token_use": "access_token",
"active": true,
"token": "<string>",
"hub_id": 123,
"user_id": 123,
"client_id": "<string>",
"app_id": 123,
"scopes": [
"<string>"
],
"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
},
"expires_in": 123,
"is_private_distribution": true,
"token_type": "<string>",
"user": "<string>",
"hub_domain": "<string>"
}Renvoie la validité et les métadonnées pour les jetons d’accès et d’actualisation.
curl --request POST \
--url https://api.hubapi.com/oauth/v3/token/introspect \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'client_id=<string>' \
--data 'client_secret=<string>' \
--data 'token=<string>' \
--data 'token_type_hint=<string>'{
"token_use": "access_token",
"active": true,
"token": "<string>",
"hub_id": 123,
"user_id": 123,
"client_id": "<string>",
"app_id": 123,
"scopes": [
"<string>"
],
"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
},
"expires_in": 123,
"is_private_distribution": true,
"token_type": "<string>",
"user": "<string>",
"hub_domain": "<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
successful operation
access_token Show child attributes