How to authenticate with Mint API
All Mint API endpoints mandate authentication via Bearer tokens, providing secure access for sensitive actions such as account mapping and database management.Obtaining a Key
- Apply for a API Key by opening a Developer Support Ticket inside of the Mint Systems Discord Server.
- Use API Key as your Berear Token for Authentication
Key Types
We offer two types of API Keys that you can apply for.- Guild-Only Key – This key has no request limits and a 2-second rate limit. However, it can only be used in the server where it was registered.
- Global Key – This key has no request limits and no rate limit. It can be used in any server.
Using the API Key
Ensure to include the API Key inside of the Authorization header of your request. Examples can be found below.Error Handling
If your authentication to the API fails, you will receive a 401 Unauthorized response from the API. Example below:We provide a ready-to-use public utility file that makes integrating the Mint API effortless. With this file, you can quickly fetch Roblox and Discord information.