Test Tokens
From now on, the API will need a token retrieve via the Login API.
But for the developers to perform some tests, you might need a way to produce them.
By using a test token, you will receive errors on demands, but also valid answers.
It is to be noted, these answers are fake, they are not live data, but are statics responses only for you to test your integration with our backends.
Here are the test tokens available and what they do :
Description | Token |
---|---|
A token of a FREE user | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXN0IjoidG9rZW4iLCJmb3IiOiJ1c2VyIiwid2l0aCI6ImdyYWRlIiwiZnVsbCI6ZmFsc2V9.ePzQQPaA8INNX7CFR9vOO-SdFHJe-GSuA-enbz76fIQ |
A token of a FULL user | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXN0IjoidG9rZW4iLCJmb3IiOiJ1c2VyIiwid2l0aCI6ImdyYWRlIiwiZnVsbCI6dHJ1ZX0.sWNz-Z0oGGWoSwaVlOGyzCQdYCWJQmKSSFvZIJzchZw |
An expired token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXN0IjoidG9rZW4iLCJidXQiOiJpdCIsImlzIjoiZXhwaXJlZCJ9.AHBn-rdXrvKnLgGSqkHU439KBPUWg61UCwI0k_3cMdc |
Wrong credentials | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXN0IjoidG9rZW4iLCJidXQiOiJ3aXRoIiwiYmFkIjoiY3JlZGVudGlhbHMifQ.PK_Bdek7KJbCu6SQHyKUj25_N_gjITcUoamLOgzqaRg |
User not found | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXN0IjoidG9rZW4iLCJidXQiOiJ1c2VyIiwibm90IjoiZm91bmQifQ.l8HdOhGXKsE1V2fe6_TIdBa6RFbpJhRiaxA7_4jr1n4 |
User not active | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXN0IjoidG9rZW4iLCJidXQiOiJ1c2VyIiwibm90IjoiYWN0aXZlIn0.MHlKnkps_2yX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