Manage and poll multiple Tokens
mainYou can manage a pool of tokens for multi-account rotation and polling:
- Set Authorization Key: Configure the
AUTHORIZATIONenvironment variable with one or more authorization codes (comma-separated). This acts as your personal API key. - Upload Tokens: Access the
/tokensor/{api_prefix}/tokensendpoint to upload newAccessTokenorRefreshTokenvalues, view the current count, or clear the pool. - Requesting: When making API calls, pass the value configured in
AUTHORIZATIONas theBearertoken in theAuthorizationheader. The system will automatically rotate through the available tokens on request failure.