I am trying to use the Conversations API to send an SMS message. When I login using a non user account, the message indicates:
PureCloudPlatformClientV2.ConversationsApi(apiclient)
"This request requires a user context. Client credentials cannot be used for requests to this resource."
I have a user account which works using the SDK directly from the UI. I don't know how to login using these credentials. I believe I need to do this:
We don't use SSO, thus no SAML Assertion. Each user has their own login credentials that are set outside the company login. What do I use for the samlAssertion? Is there a different way I need to login or a different user type that can access the Conversations API without SSO.
Because Python isn't a web-based language, you will have to embed a browser in your application or a local web server to pop the page open in a browser to handle the OAuth flow. Users can only authorize using the Genesys Cloud login page in a browser or SAML.