how to genarate API key from cyberpanel


We have developed a new website for our business, what we need is to create subdomains in the cyber panel via API from our website, while researching on the same, we couldn’t find more documentation on this, only found the below one

It looks like to create a module by using Python,

Is there any option in the cyber panel to create an API key like, in the cPanel, I can only find the option to enable API access to each user?

Anyone can give a brief idea about how is the API function working with the cyber panel

Thank you