{"id":8828,"date":"2024-05-15T14:21:15","date_gmt":"2024-05-15T13:21:15","guid":{"rendered":"https:\/\/www.verificaremails.com\/kb\/migration-of-api-calls-to-verify-emails-to-the-new-platform\/"},"modified":"2024-05-15T14:21:15","modified_gmt":"2024-05-15T13:21:15","slug":"migration-of-api-calls-to-verify-emails-to-the-new-platform","status":"publish","type":"kb","link":"https:\/\/www.verificaremails.com\/en\/kb\/migration-of-api-calls-to-verify-emails-to-the-new-platform\/","title":{"rendered":"Migration of API calls to verify emails to the new platform"},"content":{"rendered":"<p>To migrate the verification service you must modify the call URLs to the new verification platform.<\/p>\n<p>The old platform used<\/p>\n<p>https:\/\/app.verificaremails.com\/api\/verifyEmail?secret=&#8221;.$key.&#8221;&amp;email=&#8221;.$emai<\/p>\n<p>The new URLs for GET requests are:<\/p>\n<p>https:\/\/dashboard.verificaremails.com\/myapi\/email\/validate\/single?auth-token=123456789&#038;term=antxon.pous%40gmail.com<\/p>\n<p>&nbsp;<\/p>\n<p>Call documentation is available. You can test it by adding a token on the test page.<\/p>\n<p>https:\/\/dashboard.verificaremails.com\/documentation\/index.html?v=3<\/p>\n<p>Token: 123456789<\/p>\n<p>&nbsp;<\/p>\n<p>curl -X &#8216;GET&#8217; \\<\/p>\n<p>&#8216;https:\/\/dashboard.verificaremails.com\/myapi\/email\/validate\/single?auth-token=123456789&amp;term=antxon.pous%40gmail.com&#8217; \\<\/p>\n<p>-H &#8216;accept: application\/json&#8217;<\/p>\n<p>The body of the answer is:<\/p>\n<p>{<\/p>\n<p>&#8220;id&#8221;: &#8220;147959&#8221;,<\/p>\n<p>&#8220;term&#8221;: &#8220;antxon.pous@gmail.com&#8221;,<\/p>\n<p>&#8220;request_id&#8221;: &#8220;147959&#8221;,<\/p>\n<p>&#8220;result_code&#8221;: &#8220;112&#8221;,<\/p>\n<p>&#8220;result_type&#8221;: &#8220;Ok&#8221;,<\/p>\n<p>&#8220;result&#8221;: {<\/p>\n<p>&#8220;status&#8221;: &#8220;ok&#8221;<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>&nbsp;<\/p>\n<p>{<\/p>\n<p>&#8220;id&#8221;: &#8220;147960&#8221;,<\/p>\n<p>&#8220;term&#8221;: &#8220;ssssssss@gmail.com&#8221;,<\/p>\n<p>&#8220;request_id&#8221;: &#8220;147960&#8221;,<\/p>\n<p>&#8220;result_code&#8221;: &#8220;113&#8221;,<\/p>\n<p>&#8220;result_type&#8221;: &#8220;Invalid&#8221;,<\/p>\n<p>&#8220;result&#8221;: {<\/p>\n<p>&#8220;status&#8221;: &#8220;email_disabled&#8221;.<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>&nbsp;<\/p>\n<p>The response is returned in JSON format. You must use the &#8220;status&#8221; field. The answer is the same as in the old platform.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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=&#8221;.$key.&#8221;&amp;email=&#8221;.$emai The new URLs for GET requests are: https:\/\/dashboard.verificaremails.com\/myapi\/email\/validate\/single?auth-token=123456789&#038;term=antxon.pous%40gmail.com &nbsp; 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 &nbsp; curl -X &#8216;GET&#8217; \\ &#8216;https:\/\/dashboard.verificaremails.com\/myapi\/email\/validate\/single?auth-token=123456789&amp;term=antxon.pous%40gmail.com&#8217; &#8230; <a title=\"Migration of API calls to verify emails to the new platform\" class=\"read-more\" href=\"https:\/\/www.verificaremails.com\/en\/kb\/migration-of-api-calls-to-verify-emails-to-the-new-platform\/\" aria-label=\"Read more about Migration of API calls to verify emails to the new platform\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"kbtopic":[],"kbtag":[],"class_list":["post-8828","kb","type-kb","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.verificaremails.com\/en\/wp-json\/wp\/v2\/kb\/8828","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.verificaremails.com\/en\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.verificaremails.com\/en\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.verificaremails.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.verificaremails.com\/en\/wp-json\/wp\/v2\/comments?post=8828"}],"version-history":[{"count":0,"href":"https:\/\/www.verificaremails.com\/en\/wp-json\/wp\/v2\/kb\/8828\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.verificaremails.com\/en\/wp-json\/wp\/v2\/media?parent=8828"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.verificaremails.com\/en\/wp-json\/wp\/v2\/kbtopic?post=8828"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.verificaremails.com\/en\/wp-json\/wp\/v2\/kbtag?post=8828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}