Verify email address
Verify an email
POST
/{apiBasePath}/{tenantId}/user/email/verifyPath parameters
apiBasePathstringrequiredIts value depends on the apiBasePath set by the user
Header parameters
ridstringThe email verification recipe ID
Request body
application/jsonmethodmethodThe method to use for the operation
tokentokenA security token used for authentication
Responses
200Verify an email
One of:
object
statusstringAllowed:
OKEMAIL_VERIFICATION_INVALID_TOKEN_ERRORgeneralErrorResponse
statusstringError status code
Allowed:
GENERAL_ERRORmessagestringError message
404Resource not found error
string500Internal server error
stringTry it
Server
Parameters
Bodyapplication/json
Request
curl -X POST "/auth/{tenantId}/user/email/verify" \
-H "Content-Type: application/json" \
-d '{
"method": "token",
"token": "ZTRiOTBjNz...jI5MTZlODkxw"
}'const response = await fetch("/auth/{tenantId}/user/email/verify", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"method": "token",
"token": "ZTRiOTBjNz...jI5MTZlODkxw"
})
});import requests
response = requests.post(
"/auth/{tenantId}/user/email/verify",
headers={
"Content-Type": "application/json"
},
json={
"method": "token",
"token": "ZTRiOTBjNz...jI5MTZlODkxw"
},
)Response
{
"status": "OK"
}"Not Found""Internal Error"