Articles on: Public API

Authentication

The BLOY Public API lets you integrate your app or service with BLOY Loyalty: programmatically access customer data, loyalty points, rewards, ways to earn, VIP tiers, and referrals.

Authentication

Get your API Key

  1. From the Navigation Tab, click on Settings.
  2. Scroll down to the Public API section.
  3. Locate your API key and click Copy to save it to your clipboard.

⚠️ Note: Keep your API key secure. Do not share it publicly or expose it in client-side code.


Using the API Key

Attach the API Key to the Authorization header of every request as a Bearer token:

curl --request GET \
--url https://api.bloy.io/rest-api/v1/customers \
--header 'Authorization: Bearer YourApiKeyGoesHere'


If the header is missing, the API Key is invalid, or the shop's plan is not eligible, the API returns:

{
"statusCode": 403,
"message": "Forbidden"
}

Updated on: 11/06/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!