Verify account email
curl --request POST \
--url https://api.sitespy.app/api/v1/auth/verify-email \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'token=<string>'import requests
url = "https://api.sitespy.app/api/v1/auth/verify-email"
payload = { "token": "<string>" }
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({token: '<string>'})
};
fetch('https://api.sitespy.app/api/v1/auth/verify-email', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<string><string>Authentication
Verify account email
Marks the account email verified. Sent by the form on the confirm page. Returns an HTML page with the verification result.
POST
/
auth
/
verify-email
Verify account email
curl --request POST \
--url https://api.sitespy.app/api/v1/auth/verify-email \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'token=<string>'import requests
url = "https://api.sitespy.app/api/v1/auth/verify-email"
payload = { "token": "<string>" }
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({token: '<string>'})
};
fetch('https://api.sitespy.app/api/v1/auth/verify-email', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<string><string>Body
application/x-www-form-urlencoded
Verification token from the email link
Response
Email verified successfully (HTML response)
The response is of type string.

