curl --request POST \
--url https://api.hubapi.com/oauth/v1/token \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'client_id=<string>' \
--data 'client_secret=<string>' \
--data 'code=<string>' \
--data 'code_verifier=<string>' \
--data grant_type=authorization_code \
--data 'redirect_uri=<string>' \
--data 'refresh_token=<string>' \
--data 'scope=<string>'{
"token_use": "access_token",
"token_type": "<string>",
"refresh_token": "<string>",
"access_token": "<string>",
"expires_in": 123,
"id_token": "<string>",
"hub_id": 123,
"scopes": [
"<string>"
],
"user_id": 123
}curl --request POST \
--url https://api.hubapi.com/oauth/v1/token \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'client_id=<string>' \
--data 'client_secret=<string>' \
--data 'code=<string>' \
--data 'code_verifier=<string>' \
--data grant_type=authorization_code \
--data 'redirect_uri=<string>' \
--data 'refresh_token=<string>' \
--data 'scope=<string>'{
"token_use": "access_token",
"token_type": "<string>",
"refresh_token": "<string>",
"access_token": "<string>",
"expires_in": 123,
"id_token": "<string>",
"hub_id": 123,
"scopes": [
"<string>"
],
"user_id": 123
}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
Identifiant confidentiel connu uniquement de l'application et du serveur d'autorisation, utilisé pour authentifier l'identité du client lors des demandes de jetons.
Un identifiant à longue durée de vie émis avec un jeton d'accès qui peut être échangé contre un nouveau jeton d'accès avec les identifiants client lorsque le jeton d'accès actuel expire, permettant ainsi un accès continu à l'API sans que l'utilisateur ait à se réauthentifier.
successful operation