Pular para o conteúdo principal
GET
/
oauth
/
v1
/
refresh-tokens
/
{token}
Get metadata for OAuth 2.0 refresh token
curl --request GET \
  --url https://api.hubapi.com/oauth/v1/refresh-tokens/{token}
{
  "token": "<string>",
  "user": "<string>",
  "hub_domain": "<string>",
  "scopes": [
    "<string>"
  ],
  "hub_id": 123,
  "client_id": "<string>",
  "user_id": 123,
  "token_type": "<string>"
}

Supported products

Parâmetros de caminho

token
string
obrigatório

The refresh token that you want to get the metadata for.

Resposta

Refresh token metadata retrieved successfully

token
string
obrigatório

The refresh token

user
string
obrigatório

Email address of the HubSpot user

hub_domain
string
obrigatório

The hub domain

scopes
string[]
obrigatório

List of scopes granted to the token

hub_id
integer
obrigatório

The Hub ID that the token is associated with

client_id
string
obrigatório

The client ID

user_id
integer
obrigatório

The user ID

token_type
string
obrigatório

The type of token

Last modified on April 13, 2026