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

Supported products

Requires one of the following products or higher.
Marketing HubMarketing Hub -Free
Sales HubSales Hub -Free
Service HubService Hub -Free
Content HubContent Hub -Free

Path Parameters

token
string
required

The access token that you want to retrieve information about.

Response

successful operation

hub_id
integer
required
user_id
integer
required
scopes
string[]
required
token_type
string
required
app_id
integer
required
expires_in
integer
required
token
string
required
user
string
hub_domain
string