OTP Generation
Authorizations
AuthorizationstringRequired
JWT access token from POST /auth/token. Paste the token without the "Bearer " prefix.
Query parameters
emailIdstringOptional
Responses
200
OK
application/json
isSuccessbooleanOptional
messagesstring[] · nullableOptional
errorCodeinteger · int32Optional
errorKeystring · nullableOptional
400
Bad Request
application/json
429
Too Many Requests
application/json
500
Internal Server Error
application/json
get/api/Public/GenerateOtp/GenerateCustomerOtp
GET /api/Public/GenerateOtp/GenerateCustomerOtp HTTP/1.1
Host: demoapi-core.emsigner.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"isSuccess": true,
"messages": [
"text"
],
"errorCode": 1,
"errorKey": "text",
"response": {
"isOtpSent": true,
"message": "text",
"subscriberId": 1,
"otpGeneratedDateTime": "2026-01-01T00:00:00.000Z",
"remainingAttempts": 1,
"nextAttemptTime": "2026-01-01T00:00:00.000Z",
"maskedEmail": "text",
"maskedMobile": "text"
}
}Authorizations
AuthorizationstringRequired
JWT access token from POST /auth/token. Paste the token without the "Bearer " prefix.
Body
emailIdstring · email · min: 1Required
Responses
200
OK
application/json
isSuccessbooleanOptional
messagesstring[] · nullableOptional
errorCodeinteger · int32Optional
errorKeystring · nullableOptional
400
Bad Request
application/json
404
Not Found
application/json
429
Too Many Requests
application/json
500
Internal Server Error
application/json
post/api/Public/GenerateOtp/GenerateOtp
POST /api/Public/GenerateOtp/GenerateOtp HTTP/1.1
Host: demoapi-core.emsigner.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 177
{
"emailId": "name@gmail.com",
"browserInfo": {
"browserName": "text",
"browserVersion": "text",
"osName": "text",
"osVersion": "text",
"device": "text",
"ipAddress": "text",
"timeZone": "text"
}
}{
"isSuccess": true,
"messages": [
"text"
],
"errorCode": 1,
"errorKey": "text",
"response": {
"isOtpSent": true,
"message": "text",
"subscriberId": 1,
"otpGeneratedDateTime": "2026-01-01T00:00:00.000Z",
"remainingAttempts": 1,
"nextAttemptTime": "2026-01-01T00:00:00.000Z",
"maskedEmail": "text",
"maskedMobile": "text"
}
}Last updated
