When you click on System / Configuration in the top right of the menu bar in mailcow UI, you will be on the Access / Administrators tab in the main part of the page.
If you scroll down a bit, there will be a “+ API” headline which acts as a button, just below the “Login with FIDO2” part.
Clicking on “+ API” should reveal the API settings you’re looking for.