connectivity
biometrics
enrollment-session
Create Enrollment Session
This function is used to initiate a session. It is the very first step for Enrollment application.
post/biometrics/1/enrollment/sessions
Request
- Base URLhttps://api.infobip.com (the document declares no server; this is the origin it was published from)
- Auth
- API key in header Authorization
- or API key in header Authorization
- or HTTP basic
- or OAuth 2Client credentialsToken URL: https://api.infobip.com/auth/1/oauth2/token
Request body
Example request
{
"scenarioName": "FACE_ENROLLMENT",
"locationInfo": {
"country": "HRV",
"language": "en-US"
},
"partnerReference": "MyRef-jqhof",
"webhook": {
"url": "https://example.com/webhook",
"type": "ON_END"
},
"successUrl": "https://example.com/success",
"cancelUrl": "https://example.com/cancel",
"retainData": true
}Response
OK
Example response
{
"sessionId": "efc373be-ab6d-4c63-b798-1f65b7b4b2b3",
"redirectUrl": "https://example.com/web/?sessionId=efc373be-ab6d-4c63-b798-1f65b7b4b2b3"
}Changes
No recorded changes to this operation across all 1 revision of this API.