x-api-key: ********************
{ "email": "testuser@example.com" }
curl --location --request POST 'https://testserver.loyi.io/public/api/user' \ --header 'Origin;' \ --header 'x-api-key: <api-key>' \ --header 'Content-Type: application/json' \ --data-raw '{ "email": "testuser@example.com" }'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "email": "testuser@example.com", "wallet": "0x1234567890123456789012345678901234567890", "currentLevel": 30, "pointsCount": 320, "collectiblesCount": 5, "questsCount": 3, "rewardsCount": 2, "createdAt": "2022-01-01T00:00:00.000Z", "updatedAt": "2022-01-01T00:00:00.000Z", "privateKey": "0x664747255fb63a87f89b16042c9bc62166673b371751e0fe6238996b1b0a5b25" }