08-07-2025 11:35 PM
I am working on a widget based on the Webex CC JavaScript SDK (headless widget).
Now there is a requirement to, at the end of an interaction, retrieve the transcript or recording of that interaction (using Webex CC Capture APIs).
Is there a way to get the transcript or recording directly via the JavaScript SDK?
If not, what is the recommended way to do this?
Since Webex CC provides OAuth 2.0 for API access tokens, is it possible to obtain an access token from within the SDK for making native API calls?
08-08-2025 03:51 AM - edited 08-10-2025 09:27 PM
Hello!
The Webex CC JavaScript SDK doesn’t support fetching transcripts or recordings directly. To access these, you’ll need to use the Webex CC Capture APIs separately and authenticate using OAuth 2.0. The SDK doesn’t provide access tokens for general API use, so you’ll need to implement your own OAuth flow (e.g., client credentials) to obtain an access token and call the Capture APIs from your backend at the end of an interaction. peryourhealth com
08-10-2025 10:22 PM
That means the agent will need to log in twice — once for their regular desktop login, and another time for the OAuth 2.0 authentication to access the Capture APIs.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide