Trying to set a connection to Genesys cloud using the API destinations in EventBridge,
keep getting deauthorized status ("The partner request is missing a required parameter or a parameter is invalid").
I'm using the OAuth Client Credentials, setting the following:
Authorization endpoint - https://login.euw2.pure.cloud/oauth/token
HTTP method - POST
Client ID & Client Secret - using the integration values
Hey Tim, I want to call a Genesys Platform API using the API destinations if a specific event occurred (getting it from the events). No issue with getting the event.
I suppose you might be able to do that, but the setup and configuration of general AWS services is outside the scope of this forum. I'd suggest opening a ticket with AWS or posting on an AWS forum for help configuring their service. If you have specific questions about the Genesys Cloud OAuth flow, those can be asked here. https://developer.genesys.cloud/authorization/platform-auth/use-client-credentials
Not that I have tried API Destinations in AWS EventBridge, but reading this blog and Get Access Token, I would try adding the following OAuth Http Body parameter (EventBridge side - defining the connection):
Add an OAuth Body parameter. Key = grant_type and Value = client_credentials
I can't say if it will be enough, but if you were not sending this already, it is necessary to add it.