You can create invitation tokens for each invite in the database. The tokens would be added to the query paramethers like or url path, e.g.
http://www.example.com/register/?token=3sdlfwe
or
http://www.example.com/register/3sdlfwe/
When it is used once, it gets deleted and becomes invalid.