We are integrating salesforce with a third party customer care IVR application. Once the call is connected I need to get data from salesforce to IVR application. As this should be as quick as possible using each steps of REST API ie Login steps and dataflow steps are time consuming. Is there any way I can authenticate and transfer data in a single call?
The documentation is pretty clear here:
Before making REST API calls, you must authenticate the user using OAuth 2.0.
The SFDC REST protocol requires that the
access_token obtained by the authentication request is passed in as a http header in each REST http request
Why not do the authorization at the beginning of the day when the agent signs into the customer care app, and reuse the
access_token all day long; taking advantage of the refresh_token flow to handle session time outs due to inactivity?