novuhq / novu

Open-Source Notification Platform. Embeddable Notification Center, E-mail, Push and Slack Integrations.
https://novu.co
Other
33.68k stars 3.46k forks source link

New organization onboarding through api (Getting api key of newly created organization) #5556

Open prathapbelli opened 1 month ago

prathapbelli commented 1 month ago

🔖 Feature description

Currently novu provides api for create organization, get environments , get api keys etc, but it provides all the info related to current organization. https://docs.novu.co/api-reference/organizations/create-organization https://docs.novu.co/api-reference/environments/get-api-keys How we can get api key for new organization created through api instead of copy it from UI, create organization api wont be useful unless respective api key available through api which still create dependency of UI.

🎤 Why is this feature needed ?

Automation of onbaording of new organization through code instead of manual process using UI and copying api key. which enhance the purpose of usage of apis.

✌️ How do you aim to achieve this?

Return api key after creating new organization, or get api key of other organization if current api key has access to.

🔄️ Additional Information

I believe If you allowing to create organization, allowing to make changes to that organization is basic need.

👀 Have you spent some time to check if this feature request has been raised before?

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

None

linear[bot] commented 1 month ago

NV-3790 New organization onboarding through api (Getting api key of newly created organization)

Abobos commented 3 weeks ago

Can I work on this issue?

rifont commented 2 weeks ago

Richard here from the Novu team.

We are reconsidering our domain entities internally and will have a wider project which includes the ability to programatically manage foundational Novu resources like Organizations and Environments.

We will update here as we progress.