Skip to content
Hypamoon
API docs

Start for free. Sign up without a card and you'll get a test project and a test key right away. Once your company (or, for a personal account, you) is verified, you can create a live key in the portal.

Errors

origin_not_allowed

Status
403
Type
https://hypamoon.com/docs/errors/origin_not_allowed

The page that called a /api/v1/public route is not on the list of allowed origins of the public chat token, or the request had no Origin header. The origin must match exactly: scheme and host, like https://www.example.com. https://example.com does not cover https://www.example.com; list both if your site answers on both. Add it with PATCH /api/v1/chat-tokens/{id} or in the portal. A test token (hm_pubtest_) also works from localhost. A request from a server without an Origin header is not what these routes are for: from your backend, use your API key with /api/v1/conversations.