Each listed server and each listed bot can have one API key. Make it on your server's API & webhooks page in the dashboard. Nunu List keeps only a hash of the key, so it cannot show it to you again; make a new one if you lose it. A new key replaces the old one at once.
Authorization: nl_your_key
Bearer nl_your_key works too. A key that is wrong or revoked gets 401.
What a key adds
- 60 requests a minute for the key instead of 30 per IP address.
GET /servers/{id}/voted/{userId}for your own server.POST /bots/{id}/stats,GET /bots/{id}/votesandGET /bots/{id}/voted/{userId}for your own bot.
Keep it safe
Use the key only on your own server or bot, never in a web page or an app people can download: anyone with the key can call the API as your server. Revoke it in the dashboard if it leaks.