API Keys and credits
const BASE_URL = 'https://api.conblox.xyz/';
const endpoint = 'checkKey';
const API_KEY = "YOUR_API_KEY";
const response = await fetch(BASE_URL + endpoint, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({ 'apiKey': API_KEY }),
});
const data = await response.json();{
"apiKeyValid": true,
"data": {
"credits": 503
}
}Last updated