Advanced

OAuth token endpoint

Changed on

Authenticates a client and returns access and refresh tokens.

post/oauth/2026-03/token

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/oauth/2026-03/token
  • Auth
    • HTTP bearer
    • or API key in query parameter hapikey
    • or none

Request body application/x-www-form-urlencoded

client_idstring
client_secretstring
codestring
code_verifierstring
grant_type'authorization_code' | 'client_credentials' | 'refresh_token'
redirect_uristring
refresh_tokenstring
scopestring

Response

successful operation

OR

Changes

    • info

      added the new client_credentials enum value to the request property

    • info

      added the success response with the status

    • info

      api operation id post-/oauth/2026-03/token_/oauth/v3/token removed and replaced with post-/oauth/2026-03/token

Some revisions have not been checked yet.