Organization administrators can create Teams OpenAPI access keys from the console.
The maximum key expiration is approximately 1 year. We recommend setting a shorter validity period based on your actual needs and rotating keys regularly.
Prerequisites
- You must have organization administrator privileges.
Steps
- Open the organization settings page:
https://qoder.com.cn/organizations/{orgid}/settings - Navigate to Settings > Advanced > API Keys
- Click Create
- Enter a key name and expiration time
- After confirming, copy the key immediately
Important: The full key is displayed only once at creation time. After closing the dialog, you cannot retrieve it again. Always copy and store the key immediately after creation.
Expiration
The maximum key expiration is approximately 1 year. We recommend setting a shorter validity period based on your actual needs and rotating keys regularly.
Best practices
- Store keys in environment variables rather than hardcoding them in source code or config files.
- Create separate keys for each environment (development, staging, production) for easier management and rotation.