We are trying to build integration for multiple PCRecruiter clients.
We have a question regarding SessionID
Our Database ID – vonage.vonage, App id -7635bb09 App Secret
We got the SessionId to make API calls. But SessionID expires every 15 mins. How do we refresh the SessionID? Is there a way to get Offline token/Refresh Token.
The access-token SessionId will expire based on a timeout setting in the database which can vary quite a bit from what one client has set compared to another. In general the best usage for this would be:
1. GET Access-Token
2. Run all necessary requests
3. DELETE Access-token (Logout)
We have a requirement, where we sync all Names with Phone numbers from the PCRecruiter to our Database. These Contact Information is used when the user is making Phone Calls using our Dialer.
This runs as a background/offline process without User Interaction. To achieve this with our other Integrations, we used the Refresh Token Concept to get a new Access Token when the access token expires.
With PCRecruiter, is there a way to refresh Access Token without prompting the user again password.
In cases like that most integration partners collect a username, password and databaseId combination and store it locally to use for a data sync.
Thanks for the response. If the Integration stores the Username, password – In cases where the password changes – How should the Integration handle this?
If authentication fails the integration should prompt to re-enter credentials, re-saving the new information.