Developers · Docs
Keys and security
Preview · the API opens with the first release
Website keys read public information only. Each belongs to one store, works only on the websites you list, and can be revoked at any time.
Make a key
- As the Owner or a Store manager, open Settings, then Website and API, for the store.
- Choose Create key.
- Choose the website it is For, or Add a website….
- Choose the Type: Live for your site, or Test (localhost only) while you build.
- Copy Your new key and choose Done. You can see it again later.
Limit it to your websites
Under Allowed websites, list every address that shows your services, for example with and without “www”. Choose Add website to add one and Remove to take one off. Keys and the widget work only on these sites.
Rotate it
- Make a new key for the same website.
- Put the new key on your site and check the page.
- Revoke the old key.
Revoke it
Under Keys, choose Revoke next to the key. It stops working. The list shows each key’s website, who made it and when, and how much it was used today.
Still stuck?
Tell us what you are trying to do and we will help, in English or Hindi. Or write to info@hactech.in.