A key system is a small set of parts that have to work together. Here is what you need, what is easy to get wrong, and the quick route that skips writing it.
Keys that can be guessed, a check that trusts the client, replayed answers, a key page that hands out keys to a script that skips the steps, rate limits that are missing, and no way to see who is sharing a key. Each of these is a few days of work to get right.
Create a project in Lumikey, copy the project id, paste one example into your software and give people your key page link. The check endpoint, device lock, expiry, dashboard, key delivery and signed answers are already there.
If you would rather write your own, the docs describe every answer and field, which also makes a good checklist for what your version needs.
About five minutes: create a project, copy the id, add the check to your code and share the key page link.
No. Lumikey hosts the key page, the API and the dashboard. You only need your software to make an HTTPS request.
Yes. Keys can be exported from the dashboard and the API is documented in full.