Make an API call and parse results - set variable

Does anyone know if it is possible to make an API call when an out punt campaign call processes and the script loads for the user? The hope is I can make an api call to another environmennt, parse the result and if result value =complete, then mark contact uncallable and go to the next call.

You can use the standard conversation/participant APIs to assign a wrap-up code and disconnect the call and Dialer will react accordingly. However, this may be challenging from a script because that API is going to require an auth token with a user context, which you can't get unless the user authorizes your integrating using the implicit or auth code OAuth flows. Both require the user to enter their PureCloud credentials. (The SAML grant can be used as well) Let me know if you have questions or need additional explanation to implement such a solution.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.