For the complete documentation index, see llms.txt. This page is also available as Markdown.

OTP Login

Validate customer login

post
/api/Public/ValidateOTPLogin/ValidateCustomerLogin
Authorizations
AuthorizationstringRequired

JWT access token from POST /auth/token. Paste the token without the "Bearer " prefix.

Body
emailIdstring · email · max: 100Required
otpstring · min: 4 · max: 10Required
Responses
200

OK

application/json
isSuccessbooleanOptional
messagesstring[] · nullableOptional
errorCodeinteger · int32Optional
errorKeystring · nullableOptional
post/api/Public/ValidateOTPLogin/ValidateCustomerLogin
POST /api/Public/ValidateOTPLogin/ValidateCustomerLogin HTTP/1.1
Host: demoapi-core.emsigner.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 190

{
  "emailId": "name@gmail.com",
  "otp": "text",
  "browserInfo": {
    "browserName": "text",
    "browserVersion": "text",
    "osName": "text",
    "osVersion": "text",
    "device": "text",
    "ipAddress": "text",
    "timeZone": "text"
  }
}
{
  "isSuccess": true,
  "messages": [
    "text"
  ],
  "errorCode": 1,
  "errorKey": "text",
  "response": {
    "authToken": "text",
    "isPasswordUpdated": true,
    "isPasswordCompliant": true,
    "refreshToken": "text",
    "isValid": true,
    "isExpired": true,
    "themeColor": "text",
    "customvalue": "text",
    "companyLogo": "text",
    "last_Login_Date": "2026-01-01T00:00:00.000Z"
  }
}

Last updated