# service-start

Start the process for a video identification. It can be a live session with an operator or a self process, or a combination of both (in this case, a selection method should be discussed in advance with Namirial).\
At the end of the process, or in case of errors, the page will be redirected to the redirectUrl (if specified) passing a LiveIDPlusResult POST parameter, containing the JSON result message in the same format specified in the Call closing section.

There are two ways to integrate LiveID+:
- standalone mode: the call is launched in a new browser tab and provides a server-side callback and a rediderct URL for client-side callbacks;
- embedded mode: the call is launched within an HTML iframe directly in the client procedure, allowing for client-side callbacks (in form of window.postMessage) as described in the network and media test and call status check [Client side events section and Call closing section).

In case of embedded mode, the iframe must have allow property set to include geolocation, camera, and microphone access, as following:

allow="geolocation; camera; microphone"

If this API is used to start a single video identification process, the id_process parameter is mandatory.\
If LiveID+ should automatically perform a check to decide whether to use a live process or a self process, the id_process_live and id_process_self are mandatory. The procedure to determine which process to choose has to be discussed with Namirial in the set up phase.\
The id_process parameter and id_process_self, id_process_live couple are mutually exclusive.

Endpoint: POST /app/service-start
Version: 2.1.0


