Retrieve ProjectKeys

Hey all,

I am using the latest SonarQube release. Has anyone an idea if it is possible to retrieve project KEYS via the api?
I wrote a program that receives a key and prints the results and some more little things via the web api. Now I want to make a shortcut so you do not have to always enter the key instead you only click on the project name and in the background, my program grabs the project key and continues with it.

Tldr; is there a way to retrieve the project KEY via the api? Or another way?


There is certainly a web service to search for projects. The response contains the key. However, SonarQube is oriented key-first, so you’ll find this to be a bit difficult in practice.


Okay I see.
But thanks I added them manually!