session_id.https://sdk.rsid.uz/?session_id={session_id} (stage: https://sdk.stage.rsid.uz/?session_id={session_id}).user_info — you already know the user's data; the RS-ID page only opens the camera.user_info — the RS-ID page asks the user to enter their data, then opens the camera.client_type must be WEB.ip_address is the user's public IP; the session works only from it (-1028).user_info send either pinfl or id_number, plus birth_date (dd.MM.yyyy). The user must be 16+.additional_params accepts only redirect_url, lang, theme, primary_color.threshold: default 0.5; recommended above 0.5, above 0.7 for strict identification.retry_count attempts.Bearer {access_token}.curl --location --globoff '{{base_url}}/v1/sessions' \
--header 'Content-Type: application/json' \
--data '{
"client_type": "WEB",
"ip_address": "84.54.70.12",
"external_id": "9b1d2c7e-4f3a-4b8e-a1c5-6d2f0e9a7b31",
"retry_count": 3,
"threshold": 0.7,
"locale": "UZ",
"user_info": {
"pinfl": "31205901234567",
"birth_date": "12.05.1990"
},
"additional_params": {
"redirect_url": "https://shop.example.uz/kyc/done?order=ORDER-123",
"lang": "uz",
"theme": "light",
"primary_color": "#1A73E8"
}
}'{
"data": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"code": 0,
"message": "Success"
}