Zum Hauptinhalt springen
GET
/
oauth
/
v1
/
access-tokens
/
{token}
Retrieve OAuth token metadata
curl --request GET \
  --url https://api.hubapi.com/oauth/v1/access-tokens/{token}
{
  "app_id": 123,
  "expires_in": 123,
  "hub_domain": "<string>",
  "hub_id": 123,
  "is_private_distribution": true,
  "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
  },
  "token": "<string>",
  "token_type": "<string>",
  "user": "<string>",
  "user_id": 123
}
Unterstützte Produkte
Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing HubKostenlos
Sales HubSales HubKostenlos
Service HubService HubKostenlos
Content HubContent HubKostenlos

Path Parameters

token
string
required

The access token that you want to retrieve information about.

Response

successful operation

app_id
integer
required
expires_in
integer
required
hub_id
integer
required
scopes
string[]
required
token
string
required
token_type
string
required
user_id
integer
required
hub_domain
string
is_private_distribution
boolean
signed_access_token
object
user
string