Create an auth session
Creates a server-side session token for a user. Pass the token to the Vlens iframe or WebView to embed the full verification and contracting UX without exposing your API key to the client. Requires only ApiKey — no admin token.
Authentication
ApiKeystring
Static API key issued to your tenant. Required on every request.
Request
This endpoint expects an object.
phoneNumber
The user's registered phone number.
sessionPermissions
Controls what the user is allowed to do in the session.
Response
Session created. Use data.token to load the Vlens iframe.
data
error_code
error_message
error_descriptions

