The Fera Public API allows you to access a store/business's reviews and customer data from a client-side applications.
Use the Public API for things such as:
- Displaying customer reviews, photos and videos in a custom way
- Receiving customer review, photo and video submissions
Here are the main differences between the 2 APIs:
|Public API||Private API|
|Requires Public API Key||Requires Private API Key OR App Auth Token (for Partner apps)|
|Non-public customer details are hidden||Non-public customer details are available|
|Prioritizes fast responses (more caching)||Prioritizes up-to-date responses (less caching)|
|Customers interact with it in your storefront directly||Customers can only interact with it through a server-side application|
|API key visible to all your site visitors||API key hidden from site visitors|
You can find your public API key in your account from here. Just include it in the
Public-Key header or
public_key query param and you should be good to go!
Learn more about API Key Authentication here.
Your public API key is safe to include on your site
Unlike the Private API key, your Public API key is safe to include in your storefront. Visitors to your site can't use it to harm your business.