Check User Email

HTTP Request

POST https://commerce.zoho.com/portaluser/checkSignupUserEmail

 

Form Parameters

ParameterDescription
email*string: Email id for which portal account needs to be created.
resend*string: It is used for token generation. Can be set as 'true' only when same API is used again to generate token

 

Request Example

Copiedcurl -i -X POST \
-H "domain-name:sampledomain.zohocommerce.com" \
-H "Content-Type:multipart/form-data" \
-F "email=commerce@zoho.com" \
-F "resend=false" \
'https://sampledomain.zohocommerce.com/portaluser/checkSignupUserEmail

Success Response

Copied{
"status_code": "0",
"status_message": "success",
"api_kind": "kind#check_signup_mail"
"payload": {
"message": "success",
"status": "0"
}
}

Failure Response

Copied{
"status_code": "1",
"status_message": "failure",
"api_kind": "kind#check_signup_mail",
"error": {
"code": "37005",
"message": "Email already exists"
}
}
Use this API to check whether the given email is allowed to sign up or not.