Hello,
We have an application that integrates with Genesys Cloud with 2 oauths:
- One "Client credentials" used by backend for "general" api call (not related to conversations)
- One "Code authorization / PKCE" fetched by frontend that allows us to act on conversations (mute, hold etc.)
We want to use the notification API on the v2.users.{id}.conversations channel to be notified when something happens during call, and we see 2 different solutions:
- Use the "Client credentials" to open one websocket and subscribe each user on this websocket. So the channel contains many subscriptions
- Use the "Code authorization / PKCE" to open a websocket per user and subscribe this user on this websocket. So the channel contains only one subscription
Can you confirm that both solutions are valid ? And can you give advice on the good pattern here (and why) ?
Thanks,
Nicolas
#PlatformAPI#WebMessaging------------------------------
Nicolas
------------------------------