Get Token Info
POST /public/get-token-info/
ℹ️
Running this command doesn’t affect the uses of the API Key
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
| API_Token | <API_Token> |
Response
200 OK
{
"data": {
"Created_By": "string", // DiscordID of the creator
"Plan": "string", // Returns Free/Pro key status
"Remaining_Uses": 1000 // Returns the amount of uses left today
},
"error": false
}Example Usage
JavaScript
fetch('https://api.mylumen.dev/public/get-token-info/', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
API_Token: 'YOUR_API_TOKEN'
}
})Last updated on