otp). After calling the passwordless authentication endpoint, users receive an OTP code via email along with an otp_session_id in the API response. Submit both here to obtain access tokens.otp)/v2/users/passwordless-auth endpoint first{
"success": true,
"message": "Login email sent",
"data": {
"created": false,
"otp_session_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}otp_session_id along with the OTP code from the email.otp_session_id (UUID): The session ID returned from the passwordless authentication API responsecode (string): The 6-character alphanumeric OTP code from the emailcurl --location -g --request POST 'https:///auth-service/api/v2/users/verify-otp' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "AB2CD3",
"otp_session_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}'{
"success": true,
"message": "OTP verified successfully",
"data": {
"access_token": "<jwt-access-token>",
"ejento_access_token": "<ejento-token>",
"token_type": "bearer"
}
}