Authorize an app and prepare to use QwenWork enterprise management APIs.
Prepare an integration
- Create or select an application in the Open platform section of the enterprise console.
- Check the endpoint documentation and grant the required scopes to the application. The available scope types include read, manage, and execute.
- Create the application’s API key and store it securely. The complete key is shown only at creation.
- Use the console URL of your environment as the base URL. Append the endpoint path and send the application key in the
Authorization: Bearer <API_KEY>request header.
Diagnose a failed request
Compare the HTTP status, business error code, and trace ID with the endpoint reference. Verify the application’s authorization scope and the request parameters before retrying.
The endpoint reference specifies the HTTP method, required scope, request fields, and response and pagination rules.