curl --request POST \
--url https://api.sitespy.app/api/v1/email \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"email": "user@example.com"
}
'{
"message": "Verification email sent",
"email": "user@example.com",
"email_sent": true,
"expires_in_hours": 24
}Email Verification
Set, update, or disable email address
Set or update the email address for your API key. A verification email will be sent to the provided address. The email must be verified before notifications can be sent.
To disable email notifications, send an empty string for the email field.
POST
/
email
curl --request POST \
--url https://api.sitespy.app/api/v1/email \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"email": "user@example.com"
}
'{
"message": "Verification email sent",
"email": "user@example.com",
"email_sent": true,
"expires_in_hours": 24
}Authorizations
API key for authentication. You can find your API key in the Site Spy dashboard under Settings → API.
Body
application/json

