Create a session
Please use our Yoti SDKs to automatically build the relevant request.
The Yoti SDKs are available via popular dependency management systems.
Once you have added the Yoti SDK dependency to your project, you can use it to build and send your request. See the code snippets below for examples of how to construct the promise.
Creating Session Object
Below is the full payload example of the request for creating the session.
You will need to specify the identity profile scheme you wish to use:
RTW/RTR
DBS
IDENTITY
CUSTOM
Payload Examples
Example Response
If the request is successful and a session is generated the API will send a response in the form:
Response | Description |
|---|---|
client_session_token_ttl | Time in seconds until the client session expires |
client_session_token | Used to authenticate the session |
session_id | ID of the session |
Got a question? Contact us here.