We are developing some customizations for Cloud CX. These customization applications will require also a set of permissions associated to the users - not every user can use every feature of this applications.
Is it possible for us to use the existing authorization API to define custom permissions (or permission policies) which are different from the CX standard permission list and which are used only by these customization applications?
If it is possible - how can we do it? The only potentially relevant API call I found was the one used to create a new role (see https://developer.genesys.cloud/authorization/oauth-apis/authorization-apis#post-api-v2-authorization-roles).
Is it possible to use this to create a new role with new, not-already-defined permissions (or permission policies)?
It depends what you are trying to do - not technically but commercially.
If you are building an integration for your own needs, then it is not something you have access to.
If you are building an integration, and planning to sell this integration/use case to Genesys Cloud customers, and want to become an AppFoundry partner and to be listed on our AppFoundry marketplace (https://appfoundry.genesys.com/filter/genesyscloud), then possibly.
But this involves partnership aspects (you must register as an AppFoundry partner) and commercial aspects (revenue share with Genesys).
For an AppFoundry Premium Application we can create from 1 up to 3 custom permissions.
But as said above, the first thing isnot about a technical choice but deciding if your company fits into this and is willing to get this integration via Genesys AppFoundry marketplace. https://appfoundry.genesys.com/docs/about