# Gain Rewards

Only the access levels `admin` or `server` can give rewards. In the base template there are only XP and coins values as example. But by editing the code you could add any data you like to the users schema.

```
POST http://127.0.0.1/users/rewards/gain/:userId
```

Replace `:userId` by the ID of a user like `63cf123e98f493e8c`

```
{
    "refreshToken": "OGhueE8zRlcySlZRUHZkbG1U"
}
```

Header `authorization` `access_token`

