https://docs.pers.ninja/_mock/swagger/
https://explorins-loyalty.ngrok.io/
https://api.pers.ninja/v1.8/
Introducing PERS (Phygital Experience Rewards System) the ultimate SaaS of Loyalty & Reward System. Connect PERS API to your system and get ready to create multi-projects, with your own dashboard and independent database, while ensuring users data confidentiality. This structure enables:
The Claim System Flow in SaaS PERS outlines the process through which rewards and tokens can be claimed by different entities within the system. This flow ensures that the claiming process is secure, efficient, and flexible, catering to various use cases and integration requirements. This flow ensures that the process of claiming rewards is adaptable to various scenarios, making it seamless for system administrators, business partners, and end-users to interact with the reward system efficiently.
https://docs.pers.ninja/_mock/swagger/auth/admin/login
https://explorins-loyalty.ngrok.io/auth/admin/login
https://api.pers.ninja/v1.8/auth/admin/login
curl -i -X POST \
https://docs.pers.ninja/_mock/swagger/auth/admin/login \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Admin successfully logged-in
JWT access token this token is used to authenticate the user, by default it expires in 15 minutes, and it should be sent in the Authorization header as Bearer token.
JWT refresh token this token is used to get a new access token when the current one expires. It is valid for 1 day.
{ "accessToken": "string", "refreshToken": "string", "admin": { "id": "string", "email": "string", "displayName": {}, "type": "SUPER_ADMIN", "tenants": {} } }
https://docs.pers.ninja/_mock/swagger/auth/refresh
https://explorins-loyalty.ngrok.io/auth/refresh
https://api.pers.ninja/v1.8/auth/refresh
curl -i -X POST \
https://docs.pers.ninja/_mock/swagger/auth/refresh \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-project-key: YOUR_API_KEY_HERE' \
-d '{
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRJZCI6IjEiLCJpYXQiOjE2MjYxNzUwNzksImV4cCI6MTYyNjE3NTI3OX0.5w8A6t7b5lBx8D3FmLwJQgJ9z1D9c9Vz7A3f7BvzH2A"
}'
{ "accessToken": "string", "refreshToken": "string" }