To integrate the plug-in within your website or mobile app, you will need a temporary authenticated URL.
Examplehttps://plugin.intelliprove.com?action_token=<action_token>&patient=<patient>
Validity
The action token embedded in the URL has a fixed expiry time. Currently, this is set to 6 hours, meaning the URL will no longer be valid after that. A new temporary URL should be requested after expiring.
Prerequisites
Section titled “Prerequisites”If you haven’t already, go through our product documentation to get a clear understanding of the plug-in flow and its features.
Request URL
Section titled “Request URL”Requesting a temporary web plug-in URL can be done with a simple HTTP GET call to the IntelliProve API.
Get temporary plug-in URL
GEThttps://engine.intelliprove.com/v1/plugin/make
Query parameters
apikeystring | optional | Customer API key |
languagestring | optional | Set a language for the plug-in. Default is English when not given. |
performer-refstring | optional | Performer reference for the measurement |
patient-refstring | optional | Patient reference for the measurement |
Request
curl 'https://engine.intelliprove.com/v1/plugin/make?apikey=<YOUR_API_KEY>'Response
"https://plugin.intelliprove.com?action_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImVtYWlsIjoiIiwiY3VzdG9tZXIiOiJ0ZXN0aW5nLWFwaS1rZXkiLCJncm91cCI6InN1cGVyLWFkbWluIiwibWF4X21lYXN1cmVtZW50X2NvdZ50IjoxMDAwMH0sIm1ldGEiOnt9LCJleHAiOjE3MDE4MjA4MDB9.CMVqCq2yFufk6oVnLbMqCW6eOc3CNjLTyR4oUyGdvdE&language=en"{ "reason": "Missing or invalid authentication credentials."}Additional Query Parameters
Section titled “Additional Query Parameters”The web plug-in URL allows adding additional session parameters via query parameters. These parameters are not mandatory but are recommended for enhanced functionality.
Language
Specify the language to allow the web plug-in to default to your preferred locale. The language code should consist of a two-letter language code.
The currently supported languages are “en” (English, default) and “nl” (Dutch). Please contact us if other languages should be supported.
Patient-ref - Recommended
Add a unique reference to track which user (‘patient’) was been measured. This allows us to keep track of previous health scans of the patient and use these for long-term health trends. Take into account that this is required to obtain an outcome for the Mental Health Risk parameter. Make sure the ‘patient reference’ is a hashed, pseudonymized reference!
An example is provided here:
hash_patient_ref.htmlPerformer-ref
Add a unique reference to track who performed each measurement. This allows you to group measurements performed by a specific health professional or at a specific location on your website.
When to request the URL?
Section titled “When to request the URL?”It’s a good practice to request a new URL for every new session initiated, i.e., every new end-user logging into your platform. For each new session, ensure to request a new URL via our API, and include the user’s ID in the patient-ref query parameter. Once generated, the same URL can be used for the same user for up to 6 hours, after which a new request will be necessary.
You can paste the obtained URL in your browser to play with the health scan and show off a first POC!
Next steps
Section titled “Next steps”Now, that you understand how to request the plug-in URL, it’s time to embed the plug-in component in your app. Continue with the Embed plug-in documentation.

