Zum Hauptinhalt springen
POST
/
oauth
/
v3
/
token
OAuth-Tokenendpunkt
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 'redirect_uri=<string>' \
  --data 'refresh_token=<string>' \
  --data 'scope=<string>'
{
  "access_token": "<string>",
  "expires_in": 123,
  "refresh_token": "<string>",
  "token_type": "<string>",
  "token_use": "access_token",
  "hub_id": 123,
  "id_token": "<string>",
  "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

Body

application/x-www-form-urlencoded
client_id
string
client_secret
string
code
string
code_verifier
string
grant_type
enum<string>
Verfügbare Optionen:
authorization_code,
client_credentials,
refresh_token
redirect_uri
string
refresh_token
string
scope
string

Antwort

successful operation

access_token
string
erforderlich
expires_in
integer<int64>
erforderlich
refresh_token
string
erforderlich
token_type
string
erforderlich
token_use
enum<string>
Standard:access_token
erforderlich
Verfügbare Optionen:
access_token
hub_id
integer<int32>
id_token
string
scopes
string[]
user_id
integer<int32>
Last modified on April 13, 2026