1. Mobile SDK
RSID docs
English
  • English
  • Russian
  • Uzbek
  • Integration Overview
  • Web SDK
    • Usage guide
    • sign-in
      POST
    • refresh
      POST
    • create-session
      POST
    • user-info
      GET
  • Mobile SDK
    • Usage guide
    • sign-in
      POST
    • refresh
      POST
    • create-session
      POST
    • user
      GET
  • Backend with information
    • Usage guide
    • sign-in
      POST
    • refresh
      POST
    • Option 1 — compare photo with passport photo
      POST
    • Option 2 — compare two photos with citizen data
      POST
    • Option 3 — compare two photos without citizen data
      POST
    • Get result
      GET
  • Backend without information
    • Usage guide
    • sign-in
      POST
    • refresh
      POST
    • Option 1 — compare photo with passport photo
      POST
    • Option 2 — compare two photos with citizen data
      POST
    • Option 3 — compare two photos without citizen data
      POST
  • Auth and Qr identification
    • Sign with RS-ID (Oauth2 style)
    • Qr Sign/Identification process
    • Get user info by code
      POST
    • sign-in
      POST
    • refresh
      POST
    • Create a QR token
      POST
    • Get QR token status by qr_id
      GET
    • Get QR token status by external_id
      GET
  • Schemas
    • ErrorResponse
    • AuthCodeRequest
    • ClientCredentials
    • Token
    • UserInfo
    • TokenResponseEnvelope
    • DocumentInfo
    • Signer
    • StringResponseEnvelope
    • ContactInfo
    • CallbackEvent
    • UserProfile
    • QrTokenCreateRequest
    • PhotoItem
    • Address
    • UserProfileResponseEnvelope
    • AdditionalParams
    • WebSessionCreateRequest
    • QrToken
    • UserProfileResponse
    • CompareFaceRequest
    • UserResponseEnvelope
    • CompareImagesWithInfoRequest
    • QrTokenResponseEnvelope
    • CompareImagesRequest
    • SignCallback
    • ComparisonResult
    • MobileSessionCreateRequest
    • ComparisonResultEnvelope
  1. Mobile SDK

create-session

POST
{{base_url}}/v1/sessions
Creates an identification session for one user and returns its session_id.
Call it from the client backend, return session_id to the app and start the RS-ID SDK with it.
Modes
With user_info — the SDK only opens the camera.
Without user_info — the SDK asks the user to enter their data, then opens the camera.
With an earlier session_id — repeat verification with the citizen data of an earlier session of your client; the SDK only opens the camera.
Rules
client_type must be MOBILE; credentials must belong to a Mobile SDK client.
No IP binding and no redirect_url — the result comes back to the app from the SDK.
In user_info send either pinfl or id_number, plus birth_date (dd.MM.yyyy). The user must be 16+.
session_id must be your own client's session; ignored if user_info is sent.
additional_params accepts only lang, theme, primary_color.
threshold: default 0.5; recommended above 0.5, above 0.7 for strict identification.
Authorization: Bearer {access_token}.

Request

Authorization
or
Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Session created.
Bodyapplication/json

🟠400
🟠401
🔴500
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --globoff '{{base_url}}/v1/sessions' \
--header 'Content-Type: application/json' \
--data '{
    "client_type": "MOBILE",
    "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": {
        "lang": "uz",
        "theme": "light",
        "primary_color": "#1A73E8"
    }
}'
Response Response Example
200 - Success
{
    "data": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
    "code": 0,
    "message": "Success"
}
Modified at 2026-11-10 09:18:57
Previous
refresh
Next
user
Built with