Quick Start

You will need to have a registered account (Free Trial available) and your <SiteKey> to use MTCaptcha on your own website.

The best place to start and find out how to embed MTCaptcha captcha JavaScript plugin in to your website is to use our MTCaptcha CODE GENERATOR.



Embed Code Snippet

You can copy the javascript code snippet below. Please make sure to replace the <SiteKey> with your sitekey from the Admin Portal.


    <!-- MTCaptcha configuration and import -->
    var mtcaptchaConfig = {
      "sitekey": "<SiteKey>"
   (function(){var mt_service = document.createElement('script');mt_service.async = true;mt_service.src = 'https://service.mtcaptcha.com/mtcv1/client/mtcaptcha.min.js';(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(mt_service);
   var mt_service2 = document.createElement('script');mt_service2.async = true;mt_service2.src = 'https://service2.mtcaptcha.com/mtcv1/client/mtcaptcha2.min.js';(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(mt_service2);}) ();
    <!-- MTCaptcha Anchor DOM -->
    <div class="mtcaptcha"></div>

Verified Token

On successful captcha verification, a token will be created and held in a HTML hidden input

<input type=’hidden’ name=’mtcaptcha-verifiedtoken’ value=’<token>’ />

CHECK Token (Server Side) API

To check the token is actually valid, use the HTTP API below

URL: https://service.mtcaptcha.com/mtcv1/api/checktoken?privatekey=<privatekey>&token=<token>



  • privatekey : The PrivateKey secret (Required)

  • token : The verified token string. (Required)