Check email verification
Check if an email is verified
GET
/appid-{appId}/recipe/user/email/verifyAuthorization
api-keyAPI key · headerrequiredThe core service API token. If you are using a self-hosted core service and you have not generated a token, you can omit the header.
Query parameters
userIdstringemailstringHeader parameters
ridstringcdi-versionstringX.Y of the X.Y.Z CDI version.
Responses
200Verify an email
statusstatusOKAllowed:
OKisVerifiedisVerified400error code 400
string401error code 401
string404error code 404
string500error code 500
stringTry it
Server
Authorization
Parameters
Request
curl -X GET "/appid-{appId}/recipe/user/email/verify" \
-H "api-key: YOUR_API_KEY"const response = await fetch("/appid-{appId}/recipe/user/email/verify", {
method: "GET",
headers: {
"api-key": "YOUR_API_KEY"
}
});import requests
response = requests.get(
"/appid-{appId}/recipe/user/email/verify",
headers={
"api-key": "YOUR_API_KEY"
},
)Response
{
"status": "OK",
"isVerified": true
}"string""Invalid API key""Not Found""Internal Error"