Resend account verification email
curl --request POST \
--url https://api.sitespy.app/api/v1/auth/resend-verification \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sitespy.app/api/v1/auth/resend-verification"
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sitespy.app/api/v1/auth/resend-verification', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "Verification email sent",
"expires_in_hours": 24
}{
"error": "Email already verified"
}{
"error": "API key is required"
}{
"error": "Please wait before requesting another verification email"
}Authentication
Resend account verification email
Resend the account verification email. Requires authentication. Rate limited to one request per 60 seconds.
POST
/
auth
/
resend-verification
Resend account verification email
curl --request POST \
--url https://api.sitespy.app/api/v1/auth/resend-verification \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sitespy.app/api/v1/auth/resend-verification"
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sitespy.app/api/v1/auth/resend-verification', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "Verification email sent",
"expires_in_hours": 24
}{
"error": "Email already verified"
}{
"error": "API key is required"
}{
"error": "Please wait before requesting another verification email"
}
