Get your API key
Your API key authenticates every request between your site and Wearo. Each account can have multiple keys (e.g., one for production, one for staging).Get your first key
1
Sign in to your Wearo dashboard
Go to wearo.io/dashboard.
2
Navigate to API keys
In the sidebar, click API Keys.
3
Create a new key
Click Create new key. Give it a name like
Production or Kookai prod,
and optionally the domains it is allowed on.4
Copy the key
The key starts with
wearo_. Copy it and store it securely
(1Password, AWS Secrets Manager, etc.). The creation dialog asks you to save
it right away; the key also stays listed on the API Keys page, where
you can Show and Copy it.Restrict your key to specific domains
To prevent abuse if your key leaks (e.g., scraped from your front-end), restrict it to your domains:- In API Keys, click Security on the key.
- Under Allowed domains, add your root domain:
kookai.fr. - All subdomains are automatically included —
www.kookai.fr,shop.kookai.fr, etc. don’t need a separate entry.
403 Domain not authorized for this API key error. See Domain whitelist for the matching rules.
Rotate or revoke a key
If a key is compromised:- Create a new key.
- Update your snippets.
- Delete the old key.
401 Invalid API key. Deleting a key cannot be undone.