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.de/docs/llms.txt
Use this file to discover all available pages before exploring further.
Supported products
Eine vertrauliche Anmeldeinformation, die nur der Anwendung und dem Autorisierungsserver bekannt ist und zur Authentifizierung der Identität des Clients beim Anfragen von Token verwendet wird.
Eine langfristige Berechtigung, die zusammen mit einem Zugriffstoken ausgestellt wird und bei Ablauf des aktuellen Zugriffstokens zusammen mit den Client-Anmeldedaten gegen ein neues Zugriffstoken eingetauscht werden kann, sodass der API-Zugriff ohne erneutes Authentifizieren des Benutzers fortgesetzt werden kann.
successful operation