Base URLhttps://ottla.ai/api/v1

Developers

Build with Ottla

Everything you need to know to add Ottla to your Magento, Adobe Commerce or custom storefront, and pull data from Ottla into your own systems.

On this page
Three routes into Ottla: a Magento store, a custom storefront and your own systems

Ottla adds an AI shopping assistant to your online store. It answers questions using your products, prices, stock and policies, and hands over to your team when appropriate. This is our developer documentation, for developers and agencies that want to add Ottla to their stores. If you are new to Ottla, check out our quick start guide to get your assistant up and running in 4 steps.

If you are on Magento Open Source or Adobe Commerce, you need to install our module and click Connect to Ottla. You do not need to create any API keys. If you have another type of storefront, you need to add our chat widget to your store with two script tags and use our REST API to send us your catalogue. Our API can be used to ask questions, search, get recommendations, hand off conversations to your team and keep your catalogue up to date. We also have signed webhooks that tell your own systems when something happens.

Ottla is hosted in the UK (London). Answers come from our AI service in London; if it is unavailable, the assistant can fall back to Mistral AI in the EU (France). We will be adding EU and US regions in the near future. Check our data residency page for more information.

Choose your path

Ottla console Connections tab with the Magento 2 and Custom / headless setup cards Example data

The API at a glance

Ottla API basics
Item Detail
Base URL https://ottla.ai/api/v1. https://uk.ottla.ai/api/v1 serves the same API; the Magento module uses it.
Format JSON over HTTPS
Authentication Authorization: Bearer with a key from Storefront → API keys
Versioning /api/v1 in the path, and X-Ottla-Platform-Contract: 10 on every response
Request ids X-Ottla-Request-Id on every response. Quote it when you contact us about a request.
Region UK (London). EU and US regions are coming soon.
Status Live service status on the Ottla status page

Check out our Authentication documentation to learn more about keys and scopes, and our API reference to see all of our endpoints.

Check you can reach the API

GET /health needs no key, so it is a quick way to check your network and firewall before anything else.

curl https://ottla.ai/api/v1/health
Response
{"status":"ok","time":"2026-10-21T10:15:00+00:00"}

Reference

Latest developer changes

  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.

See every entry in the developer changelog.

FAQ

Frequently asked questions

Is there an SDK?

No. Our API is JSON over HTTPS, so you can use any HTTP client. Each page has code snippets in curl, JavaScript and PHP that you can copy.

Do I need an API key for a Magento store?

No. When you click Connect to Ottla in your Magento admin, we create any keys that your store needs. You only need to create keys manually if you are using a headless or custom storefront.

Which platforms does Ottla support?

Magento Open Source and Adobe Commerce 2.4.6 to 2.4.9 (PHP 8.2 to 8.5), using our Magento module. Compatible with Luma and Hyvä themes. Any other type of storefront can use our REST API and widget, including PWA Studio and custom headless storefronts. These set-ups are not tested with our module.

Is there a sandbox or test key?

No. All keys are live. You can test using the Playground in the console. Questions asked in the Playground do not use your monthly answered questions. You can also use the widget’s IP allow-list so only your team can see it. Check out Test your integration.

Where does Ottla run?

The UK (London). We will be adding EU and US regions in the near future. Check our data residency page for more information.

In this section

Try Ottla on your own store

Start a 14-day free trial with no card needed. The trial has every Pro feature, with lower limits, so you can install the module or the widget, connect your catalogue and try the assistant on your own products.

14 days free. No card needed.