获取/刷新令牌Copy Pagepost https://api.myhostex.com/v3/oauth/authorizations此端点用于使用各种 OAuth 2.0 授权类型获取新的访问令牌或刷新现有令牌。Body Paramsclient_idstringrequired请求令牌的客户端应用程序的唯一标识符。client_secretstringrequired与客户端应用程序关联的密钥,用于身份验证。grant_typestringenumrequiredOAuth 2.0 授权类型。可能的值:“authorization_code”或“refresh_token”。authorization_coderefresh_tokenAllowed:authorization_coderefresh_tokencodestring从授权端点收到的授权码。如果“grant_type”为“authorization_code”,则为必需。refresh_tokenstring用于获取新访问令牌的刷新令牌。如果“grant_type”为“refresh_token”,则为必需。Response 200Updated 19 days ago