Developer

Allowed origins: local development addresses and stricter keys

API keys now allow http:// as an allowed origin for local development. All new keys that can ask or submit feedback require at least one allowed origin.

  • Allowed origins accept http:// for local development: localhost, 127.0.0.1, [::1] and names ending in .test or .localhost, with any port. Every other origin needs https://.
  • All new keys that can ask questions or submit feedback require at least one allowed origin, including if the key is being used by a server. Existing keys continue to work and show a warning on their form.
  • If a key has no allowed origins, it now shows None. Browsers are not able to use this key until an allowed origin is added.
  • A wildcard in front of a shared ending is refused (for example https://*.co.uk or https://*.gitlab.io). A wildcard in front of your own domain, such as https://*.shop.co.uk, is fine.
  • If a key was created by a store connector, the allowed origins are managed by that connector and shown as read-only.

More changes

Developer changelog
  1. Developer

    Platform contract 10: reviews, FAQ and product page tools

    The Ottla platform has incremented its version (“contract”) to 10, required by the Magento module for FAQ page integration, product page tools and review display. Additional webhook events are introduced for reviews, questions and product page content suggestions.

  2. Developer

    Developer documentation rebuilt

    Reference pages for all public endpoints and webhook events. Code snippets for curl, PHP and Node.js. Webhook verification for Node.js and PHP that we have tested.