curl --request POST \
--url https://api.hubapi.com/oauth/v3/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>'{
"message": "Invalid input (details will vary based on the error)",
"correlationId": "aeb5f871-7f07-4993-9211-075dc63e7cbf",
"category": "VALIDATION_ERROR",
"links": {
"knowledge-base": "https://www.hubspot.com/products/service/knowledge-base"
}
}Authentifie un client et renvoie des jetons d’accès et d’actualisation.
curl --request POST \
--url https://api.hubapi.com/oauth/v3/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>'{
"message": "Invalid input (details will vary based on the error)",
"correlationId": "aeb5f871-7f07-4993-9211-075dc63e7cbf",
"category": "VALIDATION_ERROR",
"links": {
"knowledge-base": "https://www.hubspot.com/products/service/knowledge-base"
}
}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
La catégorie d'erreur
Un identifiant unique pour la demande. Incluez cette valeur dans tous les rapports d'erreur ou tickets d'assistance
"aeb5f871-7f07-4993-9211-075dc63e7cbf"
Un message lisible par la personne décrivant l'erreur ainsi que les étapes de remédiation appropriées, le cas échéant
"An error occurred"
Contexte concernant la condition d'erreur
Show child attributes
"{invalidPropertyName=[propertyValue], missingScopes=[scope1, scope2]}"
informations supplémentaires sur l'erreur
Show child attributes
Une carte des noms de liens vers les URI associés contenant la documentation sur l'erreur ou les étapes de remédiation recommandées
Show child attributes
Une catégorie spécifique qui contient des détails plus précis sur l'erreur