Loyi is a Gamification Engine that allows the users to easily create or amplify loyalty solutions. This API covers all aspects of the Loyi Gamification Engine, such as user, rewards, quests, collections and leaderboard management.Blockchain Support#
Loyi offers optional blockchain support. This allows rewarding participants with unique tokens.Security Model#
To make calls to the Loyi API, you will need to generate an API key and whitelist your domains on the Loyi dashboard. Use the API key in the x-api-key
header of your requests and the whitelisted domains in the origin
header. Any requests made from an origin
which has not been whitelisted will be rejected with a 401
status code. The API Key is a secret.All endpoints require:#
x-api-key
header with valid API key
origin
header matching whitelisted domains
Response Codes:#
401 Unauthorized
for invalid/missing credentials
404 Not Found
for invalid resource IDs
400 Bad Request
for validation errors
Try It#
To try out the endpoints in the interactive API client, you might have to disable the default agent configuration. Follow these steps to do that:1.
Click on the agent options at the bottom-right corner.
3.
Select cloud agent
as the agent.
Modified at 2025-03-27 16:37:31