Send email verification
Send email verification email
POST
/{apiBasePath}/{tenantId}/user/email/verify/tokenAuthorization
AuthorizationBearer token · headerrequiredReturned as the "st-access-token" header from sign-in and refresh endpoints and present on requests that update the access token payload
or
sAccessTokenAPI key · cookierequiredThis is an HTTPOnly cookie, set by sign-in and refresh endpoints and present on requests that update the access token
Path parameters
apiBasePathstringrequiredIts value depends on the apiBasePath set by the user
tenantIdstringThe tenant against which the request is made. If left empty, the default tenant will be used.
Header parameters
ridstringThe email verification recipe ID
anti-csrftokenThis will only be here if enabled by the user.
Responses
200Send email verification email
One of:
object
statusstringAllowed:
OKEMAIL_ALREADY_VERIFIED_ERRORgeneralErrorResponse
statusstringError status code
Allowed:
GENERAL_ERRORmessagestringError message
404Resource not found error
string500Internal server error
stringTry it
Server
Authorization
Parameters
Request
curl -X POST "/auth/public/user/email/verify/token" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("/auth/public/user/email/verify/token", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.post(
"/auth/public/user/email/verify/token",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"status": "OK"
}"Not Found""Internal Error"