Below is the English translation of your community doc (structure and wording kept consistent, with light polishing for clarity).
3Chat.AI Open Platform Guide | Create an OAuth Client & Permanent Token
1. Overview
By creating an OAuth Client in the Open Platform and generating a Permanent Token, you can call various APIs under:
https://c2.xinheyun.com/api
2. Create an OAuth Client
-
Go to Open Platform → OAuth Clients → Create
-
Fill in the required information and save.
- Name: Use a naming convention like “Use Case + Environment” (recommended).
3. Create a Permanent Token
-
After creation, the system will automatically redirect you to the client details page.
-
Click Create Permanent Token to generate a token, and store the token value securely.
Note: Keep the token safe and use it only in a secure environment. If it is leaked, revoke it immediately and generate a new one.
4. How to Use the Token
The generated token can be used as an access credential to call APIs under Open Platform → 3Chat Api Doc
5. Security Recommendations
-
Principle of least privilege: Grant only the permissions required to access the necessary APIs.
-
Secure storage: Do not expose the token in frontend code. Store it in backend configuration or a secrets management service.
-
Regular rotation: Rotate the token periodically to ensure account and data security.