>>> The short answer is: don't overthink it. Do the simplest thing that will work: use 16+ byte random keys read from /dev/urandom and stored in a database. The cool-kid name for this is "bearer tokens".
Please don't reinvent the wheel and use a guid.
A guid is a random number generator to avoid collisions.