Skip to content
IntelliProve
You're viewing a deprecated version of this documentation. Go to the latest version

Request plug-in URL

To integrate the plug-in within your website or mobile app, you will need a temporary authenticated URL.

Example
https://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.

If you haven’t already, go through our product documentation to get a clear understanding of the plug-in flow and its features.

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

apikeystringoptionalCustomer API key
languagestringoptionalSet a language for the plug-in. Default is English when not given.
performer-refstringoptionalPerformer reference for the measurement
patient-refstringoptionalPatient reference for the measurement

Request

Terminal window
curl 'https://engine.intelliprove.com/v1/plugin/make?apikey=<YOUR_API_KEY>'

Response

"https://plugin.intelliprove.com?action_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImVtYWlsIjoiIiwiY3VzdG9tZXIiOiJ0ZXN0aW5nLWFwaS1rZXkiLCJncm91cCI6InN1cGVyLWFkbWluIiwibWF4X21lYXN1cmVtZW50X2NvdZ50IjoxMDAwMH0sIm1ldGEiOnt9LCJleHAiOjE3MDE4MjA4MDB9.CMVqCq2yFufk6oVnLbMqCW6eOc3CNjLTyR4oUyGdvdE&language=en"

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.html

Performer-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.

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!

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.