Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get the project ID based on the name #2594

Open
russellseymour opened this issue Oct 16, 2024 · 1 comment
Open

Get the project ID based on the name #2594

russellseymour opened this issue Oct 16, 2024 · 1 comment

Comments

@russellseymour
Copy link

Feature description

When working with the API, it requires the ID of the project to work with.

This is a GUID so is not easy to remember. So this request to add an endpoint that returns the ID of a valid project based on the name.

Why would it be useful?

When wokring with the API, people will remember the name of the project over the ID. I am looking to build an automated system that interacts with Infisical and I need to be able to allow the project name to be specified, however I then need to translate this into the project id,

Additional context

The only way I can see to get the ID at the moment is to look at the UI and see the ID in the URL. This means people have to log into the UI to get the ID before they can run the automated process using the API

@akhilmhdh
Copy link
Member

Agreed. This what we are also planning to do. All endpoints will move to id based and then there will slug to id converter endpoints.

For now you can use project list api to filter out and find the id but the endpoint for project will be published soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants