SDK Mode
1. Activate SDK Mode by adding &mode=sdk at the end of i.src.
&mode=sdk at the end of i.src.<!-- Re:catch embedding code -->
<script>
(function (r, e, c, a, t, ch) {
var h=r.getElementsByTagName(e)[0],i=r.createElement(c);
i.async=true;
i.id='recatch-embed-script';
i.src='<https://cdn.recatch.cc/recatch-embed.iife.js?t='+a[0]+'&b='+a[1]+'&c='+t+'&th='+ch+**'&mode=sdk>';**
h.appendChild(i);
})(document,'head','script',['<<Team Subdomain>>','<<Booking Page or Router ID>>'],'','<<Theme>>');
</script>
<!-- End Re:catch embedding code -->2. Once the SDK mode is successfully activated, you should be able to check window.recatch object in your console. Within the object, the open function will be available for use.
window.recatch object in your console. Within the object, the open function will be available for use.3. The open method’s signature looks like the following (in Typescript), and these values can be customized like the following:
open method’s signature looks like the following (in Typescript), and these values can be customized like the following:4. Here is the final sample of how your customized code will look like:

Last updated