Using CogniFit’s API you can integrate with our assessments, training sessions and cognitive games. This flow assume you’ve already created CogniFit accounts for the set of users that will user our platform (https://cognifitapiv2.docs.apiary.io/#reference/0/user-registration/create-new-user-account).
In a nutshell the journey is:
1. at your site there’s a specific action or button that kickstarts the process;
2. your backend requests a SSO authentication token and you redirect the user to our site (https://cognifitapiv2.docs.apiary.io/#reference/0/user-authentication/issue-user-access-token ); the redirect URL contains the authentication token and sets which activity will be presented to the user;
3. the user is automatically signed in into their CogniFit account and performs the designated activity; they might also cancel; in either case the user proceeds to the next step;
4. your user is redirected by to your site to one of the pre-registered URLs;
5. optionally you request information about the user’s progress and update your site. For example, with the latest cognitive score or game’s progress (https://cognifitapiv2.docs.apiary.io/#reference/0/activity-and-evolution-report/get-historical-skills);
