To migrate the verification service you must modify the call URLs to the new verification platform.
The old platform used
https://app.verificaremails.com/api/verifyEmail?secret=”.$key.”&email=”.$emai
The new URLs for GET requests are:
https://dashboard.verificaremails.com/myapi/email/validate/single?auth-token=123456789&term=antxon.pous%40gmail.com
Call documentation is available. You can test it by adding a token on the test page.
https://dashboard.verificaremails.com/documentation/index.html?v=3
Token: 123456789
curl -X ‘GET’ \
‘https://dashboard.verificaremails.com/myapi/email/validate/single?auth-token=123456789&term=antxon.pous%40gmail.com’ \
-H ‘accept: application/json’
The body of the answer is:
{
“id”: “147959”,
“term”: “[email protected]”,
“request_id”: “147959”,
“result_code”: “112”,
“result_type”: “Ok”,
“result”: {
“status”: “ok”
}
}
{
“id”: “147960”,
“term”: “[email protected]”,
“request_id”: “147960”,
“result_code”: “113”,
“result_type”: “Invalid”,
“result”: {
“status”: “email_disabled”.
}
}
The response is returned in JSON format. You must use the “status” field. The answer is the same as in the old platform.