Check WebAuthn email exists
Check if a WebAuthn email exists
GET
/{apiBasePath}/{tenantId}/webauthn/email/existsPath 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.
Query parameters
emailstringrequiredThe email address to check
Header parameters
ridstringThe WebAuthn recipe ID
Responses
200Email existence check response
One of:
object
statusstatusOKSuccess status indicator
Allowed:
OKexistsbooleangeneralErrorResponse
statusstringError status code
Allowed:
GENERAL_ERRORmessagestringError message
404Resource not found error
string500Internal server error
stringTry it
Server
Parameters
Request
curl -X GET "/auth/public/webauthn/email/exists?email=johndoe%40gmail.com"const response = await fetch("/auth/public/webauthn/email/exists?email=johndoe%40gmail.com", {
method: "GET"
});import requests
response = requests.get(
"/auth/public/webauthn/email/exists?email=johndoe%40gmail.com",
)Response
{
"status": "OK",
"exists": true
}"Not Found""Internal Error"