logo

Migration of API calls to verify emails to the new platform

Estáss aquí:
  • KB - Inicio
  • Migration of API calls to verify emails to the new platform
Tiempo estimado de lectura: < 1 min

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.

Was this article helpful?
Dislike 0
Visualizaciones: 0

- IMPROVE THE QUALITY OF YOUR DATA IN A SIMPLE WAY -

VERIFY EMAILS
TELEPHONES,
POSTAL ADDRESSES
NAMES AND LAST NAMES...