Check phone exists (deprecated)
Check if a phone number exists
GET
/{apiBasePath}/{tenantId}/signup/phoneNumber/existsdeprecatedPath 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
phoneNumberstringrequiredThe phone number to check
Header parameters
ridstringThe passwordless recipe ID
Responses
200Checks if a phone number exists
One of:
object
statusstatusOKSuccess status indicator
Allowed:
OKexistsexistsWhether the resource exists
generalErrorResponse
statusstringError status code
Allowed:
GENERAL_ERRORmessagestringError message
404Resource not found error
string500Internal server error
stringTry it
Server
Parameters
Request
curl -X GET "/auth/public/signup/phoneNumber/exists?phoneNumber=0036701234567"const response = await fetch("/auth/public/signup/phoneNumber/exists?phoneNumber=0036701234567", {
method: "GET"
});import requests
response = requests.get(
"/auth/public/signup/phoneNumber/exists?phoneNumber=0036701234567",
)Response
{
"status": "OK",
"exists": true
}"Not Found""Internal Error"