constthx=newTHXIdentityClient({ clientId:'<CREATE_IN_DASHBOARD>', clientSecret:'<CREATE_IN_DASHBOARD>',});// Authenticate a specific user using his identity codethx.setIdentity('e7f32a71-33ea-418e-9d80-32b6bf6405f0');// List available daily quests for your campaign // and get the ID of the first questconst { daily } =awaitthx.quests.list();constquestId= daily[0].id;awaitthx.quests.daily.entry.create(questId);// Get campaign participation info for authenticated user // and show point balanceconst { balance } =awaitthx.request.get('/v1/participants');// Balance: 10 points