We would like to create an application that would run various scheduled services that will need to make API calls across multiple organizations in Genesys Cloud. We will be using the Genesys .NET SDK to facilitate our API calls.
Can anyone please confirm the best practice for how the services should be configured in terms of OAuth? If each organization has a set of OAuth Client Credentials configured, would the services need to call PostToken each time an API call is made to a different organization?
For a headless operation such as this, you must use client credentials since no user will be present to complete an oauth flow in a browser. Client credentials only grant access to the org in which they were created. For a multi-org operation, you will have to manage credentials, and the resulting auth tokens, for each org.