Find all Organization Projects via the CircleCI API

Overview

We do not have a direct endpoint for collecting this information, but you can often derive it from the `me` endpoint:

https://circleci.com/api/v1.1/me

This shows data from the currently logged-in user, or simply the user of the `circle-token` provided. If you use a token, be sure to make use of a Personal API Token as opposed to a Project Token.

Within that API response, you will find the `projects` property. This will be a list of projects. The JSON object key will be the VCS URL. You can use that to filter to projects specifically within the desired organization.

Was this article helpful?
3 out of 17 found this helpful

Comments

0 comments

Article is closed for comments.