How I can dynamically get the Namespace ID and Module ID

Question on messaging by Akshay, on 14/2/21:
Hi, I’m new to Corteza, I installed the latest version following the documentation. I was wondering how I can dynamically get the Namespace ID and Module ID whenever a new namespace or module is created?. For now I’m just getting the Namespace ID and Module ID from the network tab in the browser. Any advice would be extremely helpful.

I’m working on a project where we are creating our own frontend but using corteza server as a backend. Whenever I create new module, the engine creates an ID for that module, and I need to use that ID to make API calls to store new records. Please let me know if I can phrase my question better.

you can always access list of modules and find ID from there.
Modules can also have an unique handle (a short string, like a variable name) that can help you navigate
hope that solves your problem