Home404 Page not foundin-branch-verification-legacyAge Verification HeadlessAI Services for TerminalsAge Estimation VerifyStay updatedSupportTrust APIIdentity Verification LivenessDigital ID v2Digital ID MigrationIdentity verificationDBS/RTW portalDigital IDDBS RTWeSignaturesAge verificationAge estimationHealthIn Branch VerificationYoti Identity Verification Public APITrust API
Identity verification
v8.0
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Create a session
AI Tools
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Once you have added the Yoti SDK dependency to your project, you can use it to build and send your session as shown in the code snippet below:
Javascript
Java
PHP
Python
C#
Go
JSON
x
const path = require('path');const fs = require("fs");const { IDVClient, SessionSpecificationBuilder, RequestedDocumentAuthenticityCheckBuilder, RequestedLivenessCheckBuilder, RequestedTextExtractionTaskBuilder, RequestedFaceMatchCheckBuilder, SdkConfigBuilder, NotificationConfigBuilder,} = require('yoti');const CLIENT_SDK_ID = 'YOTI_CLIENT_SDK_ID'const PEM_PATH = 'YOTI_KEY_FILE_PATH'const PEM_KEY = fs.readFileSync(path.join(__dirname, PEM_PATH));const idvClient = new IDVClient( CLIENT_SDK_ID, PEM_KEY ); idvClient .createSession(sessionSpec) .then((session) => { const sessionId = session.getSessionId(); const clientSessionToken = session.getClientSessionToken(); const clientSessionTokenTtl = session.getClientSessionTokenTtl(); console.log(sessionId); }) .catch((err) => { console.log(err) });Your session is configured to with the following:
- Preferences
- Each check and task
- Notifications
We go into more details over the next few pages on granular detail for creating a session.
Recommendation
Yoti strongly recommends you use notifications for each session status.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
System preferencesGot a question? Contact us here.
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message