GET
/
oauth
/
v1
/
access-tokens
/
{token}
Get metadata for OAuth 2.0 access token
curl --request GET \
  --url https://api.hubapi.com/oauth/v1/access-tokens/{token}
{
  "token": "<string>",
  "user": "<string>",
  "hub_domain": "<string>",
  "scopes": [
    "<string>"
  ],
  "hub_id": 123,
  "app_id": 123,
  "expires_in": 123,
  "user_id": 123,
  "token_type": "<string>"
}

Path Parameters

token
string
required

The access token that you want to get the information for.

Response

200
application/json

Access token metadata retrieved successfully

The response is of type object.