These changes to the API make keys safer and handoffs easier to follow from your own systems.
- Orders need a server key.
POST /attribution/ingestnow accepts only a key your server holds: a Storefront widget key marked Used by a store connector or another server and limited to your servers’ IP addresses. The key in your web pages gets403 server_key_required, because anyone can read it and could report made-up orders. Keys made by Connect to Ottla in the Magento module are not affected. A store connected by hand needs its key marked in the same way, and the module keeps its orders until it is. - A key limited to one website writes only there. On the ingestion endpoints, such a key that names another website, or a store view of another website, gets
403 website_not_allowedand nothing is written. Leavewebsite_idout, or name the key’s own website. - Handoff webhooks. The
escalation.*events go only to the webhook selected under Webhook handoff in Support settings.escalation.resolvednow also fires when your team closes a live chat in the Support inbox, or when one closes after the shopper left (statusis thenabandoned). The newescalation.ratedcarries the shopper’s rating, which arrives after the close. - Live chat limits. The
escalation_messagegroup now counts each conversation on its own, so many chats at once no longer use up one allowance. - Smaller fixes. A widget on a headless storefront can load its settings and chat history from the browser. Browser code can read
X-Ottla-Request-Id. A503 feature_disablednamesassistantoringestioninfeature. Starter questions, handoffs and the chat list use the key’s own website.