Atchoo SDK

Current version: 0.1.1

Available Bundles

Latest (stable alias)

Pinned version

Legacy paths (/v1/achooo.min.js etc.) remain available for existing integrations.

Documentation

Quick Start

Add this universal snippet to every page — hotel website and booking engine. The Avvio adapter auto-detects when present; on non-Avvio pages it's a no-op.

<script src="https://cdn.atchoo.io/v1/atchoo.min.js"></script>
<script>
  (function() {
    var atchoo = Atchoo.createAtchoo({
      hotelId: 'YOUR_HOTEL_ID',
      apiKey: 'YOUR_API_KEY',
      ingestEndpoint: 'https://api.atchoo.io',
      handoffEndpoint: 'https://handoff.atchoo.io',
      adapterAutoDetect: true
    });
    atchoo.init();
    window.atchoo = atchoo;
    window.achooo = window.achooo || atchoo; // legacy add-on snippet compatibility
  })();
</script>