SonarQube Cloud APIs
Using SonarQube Cloud APIs
Guidelines for interacting with the SonarQube Cloud v2 APIs.
Some capabilities are not yet exposed in this version of our APIs. If you can't find an endpoint here, you may find it in the previous version of the API on the SonarQube Cloud Web API v1 page.
Authentication
To authenticate to the APIs, we recommend that you use the bearer authentication scheme. With this scheme, a SonarQube Cloud token is used:
- A token is generated in SonarQube Cloud UI.
See Managing your tokens. - The token is provided through the
Authorization: Bearer <myToken>
header.
See Sample API request below.
Example (cURL):