Chat widget

The bot check page for the widget (public)

An HTML page with the bot check, which the chat widget shows in a frame; the widget handles this for you. It sends the bot-check token with postMessage only to origin, which must be an allowed origin of the token, and only that origin may frame it. Query: token (the public chat token), origin (the origin of the page with the widget) and lang (en, nl, de, fr or es). An unknown or revoked token returns a plain 404, and an origin that is not allowed returns a plain 403.

get/public/challenge

Request

  • Base URL: https://api.hypamoon.com/api/v1
  • URL: https://api.hypamoon.com/api/v1/public/challenge
  • Auth: API key in query parameter token

Query parameters

originstring required

The origin of the page with the widget, like https://www.example.com.

lang'en' | 'nl' | 'de' | 'fr' | 'es'

The language of the check. Without it, the browser language.

Response

The page with the check.

Changes

No recorded changes to this operation across all 1 revision of this API.