Skip to main content
OpenAPI

Obtain API Key

Organization administrators can create Teams OpenAPI access keys from the console.

Prerequisites

  • You must have organization administrator privileges.

Steps

  1. Open the organization settings page: https://qoder.com.cn/organizations/{orgid}/settings
  2. Navigate to Settings > Advanced > API Keys
  3. Click Create
  4. Enter a key name and expiration time
  5. 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.
For guidance on secure key storage and leak response, see API Key Security.