We would like to create applications programmatically, when a user signs up on our site.
Essentially, the goal is to provide this user a clientId/secret, so that they can use it in their application to connect to our APIs.
Is there documentation on how to create Applications and setup it up programmatically?