Hi,
You probably noticed that you didn't get much response to your question. I just wanted to explain that this forum is actually for supporting the (soon to be discontinued) PureConnect product line. You are likely to get more answers (and faster!) to future questions if you post them in the Genesys Cloud - Main community.
HTH
------------------------------
Paul Simpson
Views expressed are my own and do not necessarily reflect those of my employer.
------------------------------
Original Message:
Sent: 03-03-2025 00:17
From: Dimple Saggi
Subject: From desktop script need to call Conversation API to hold call with button
Now I am trying to access API from widget and using attached HTML to get token but getting warning : Loading failed for the <script> with source "https://sdk-cdn.mypurecloud.com.au/javascript-client-apps/latest/client-apps.min.js"
And error: Uncaught TypeError: window.purecloud is undefined
------------------------------
Dimple Saggi
Original Message:
Sent: 03-02-2025 19:29
From: Dimple Saggi
Subject: From desktop script need to call Conversation API to hold call with button
From User desktop need we call Conversation API to hold a call
API : https://api.mypurecloud.com.au/api/v2/conversations/calls/{conversationsID}/participants/{ParticipantID}
Above API only accept Authorization_code Token. So is there any Genesys feature available to get Token as User already logged in at desktop & cookies holding that token?
Please help here?

#Integrations
#Omni-ChannelDesktop/UserInterface
------------------------------
Dimple Saggi
------------------------------