Warning: SimpleXMLElement::asXML(E:\phpstudy_pro\zhutiblog\sitemaps\sitemap_190.xml.tmp): failed to open stream: Permission denied in E:\phpstudy_pro\zhutiblog\dd.php on line 1322
How to Create an API Access Token for Brokerage Authentication - Public API - AI智能索引
温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.public.com/api/docs/resources/authorization/create-personal-access-token
点击访问原文链接

How to Create an API Access Token for Brokerage Authentication - Public API

How to Create an API Access Token for Brokerage Authentication - Public APIOpen sidebarHelpFeedbackAuthorizationCreate personal access token

Create API Access Token

Generates a new personal Access Token (JWT) with a specified validity in minutes, using an existing personal Secret Token. The personal Secret Token must be generated from the user's settings page. Secret Tokens are long-lived but revocable, while Access Tokens are short-lived and expire after the specified validity period. The Access Token returned from this operation is required for authorization in all other subsequent API requests.

POST/userapiauthservice/personal/access-tokensParametersReset

No parameters

Request bodyRequired*ExecuteCancelBodyapplication/jsonRequest Bodyapplication/jsonvalidityInMinutesinteger

Validity of the access token to be issued in minutes. Defaults to 15 minutes.

secretstringrequired

A valid personal secret

ResponsesResponse200application/json

Success

No response body defined

Response401application/json

Unauthorized

No response body defined

Response429application/json

Too Many Requests

No response body defined

The Public Individual API is for your own personal, non-commercial use. Unauthorized access is prohibited. You are responsible for all trades made via the API. Learn more200401429
{
"accessToken": "string"
}
The Public Individual API is for your own personal, non-commercial use. Unauthorized access is prohibited. You are responsible for all trades made via the API. Learn more

How to Create an API Access Token for Brokerage Authentication - Public API,AI智能索引,全网链接索引,智能导航,网页索引

    Generate a personal access token to authenticate Public brokerage API requests. Secure OAuth-based authorization for programmatic trading of stocks, options, and crypto.