Skip to main content
POST
Create Session

Headers

Authorization
string
required

JWT access token. For token-generation steps, refer to the Quickstart Guide.

x-api-key
string
required

API key used to identify and authenticate the client.

x-api-version
string

Specifies the API version for the request.

Content-Type
enum<string>

Media type of the request body.

Available options:
application/json

Body

application/json
@entity
enum<string>
required
Available options:
in.co.sandbox.kyc.entitylocker.sdk.session.request
flow
enum<string>
required

EntityLocker authentication flow to initiate for the user. Use signin for existing EntityLocker users or signup to create a new account.

Available options:
signin,
signup
doc_types
enum<string>[]
required

List of EntityLocker document types for which user consent is being requested.

Minimum array length: 1
Available options:
company_master_details,
gstn_details,
udhyam_certificate

Response

200 - application/json
timestamp
integer
required
transaction_id
string
required
data
object
required
code
integer
required