Validates any provided link. Use this method when you want to check whether the link complies with the abuse rules and can be used in a campaign.
If you provide a link as a placeholder, it's returned in a response as valid.
You can only call this method when authenticated as a Wix app or Wix user identity.
URL to validate.
Whether the link is valid.
curl -X POST 'https://www.wixapis.com/email-marketing/v1/campaign-validation/validate-link' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>'
-d '{
"url": "http://paypal-security-alert.com/login"
}' \
{
"valid": false
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.