Skip to content
Hypamoon

Start for free. Sign up without a card and connect your chat, or create a test key for the API. Going live with something real asks for a quick check of your company first.

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.