Complete API reference for LetOn token management
All API requests require an API key. Get your key from the dashboard → API Keys tab.
Include the key in the Authorization header:
Authorization: Bearer YOUR_API_KEY100
Requests per minute
1000
Requests per hour
10000
Requests per day
/api/v1/tokens Requires API KeyGet all tokens for the authenticated user
Response:
{
"tokens": [
{
"id": "token_id",
"username": "user_name",
"status": "online",
"activity_name": "Minecraft",
"created_at": "2024-01-01T00:00:00Z"
}
]
}/api/v1/tokens Requires API KeyAdd a new token
Parameters:
token(string)requiredDiscord tokenusername(string)Username overrideResponse:
{
"token": {
"id": "token_id",
"username": "user_name",
"status": "offline",
"created_at": "2024-01-01T00:00:00Z"
}
}/api/v1/tokens/:id/connect Requires API KeyConnect a token (make it online)
Response:
{
"success": true,
"message": "Token connected"
}/api/v1/tokens/:id/disconnect Requires API KeyDisconnect a token
Response:
{
"success": true,
"message": "Token disconnected"
}/api/v1/tokens/:id Requires API KeyDelete a token
Response:
{
"success": true
}/api/v1/user Requires API KeyGet current user info
Response:
{
"user": {
"id": "user_id",
"username": "user_name",
"discord_id": "discord_id"
}
}/api/v1/settings Requires API KeyGet user settings
Response:
{
"settings": {
"auto_rotate": true,
"rotate_interval": 30
}
}/api/v1/settings Requires API KeyUpdate user settings
Parameters:
auto_rotate(boolean)Enable auto rotationrotate_interval(number)Rotation interval in secondsResponse:
{
"settings": {
"auto_rotate": true,
"rotate_interval": 60
}
}Bad Request - Invalid parameters
Unauthorized - Invalid or missing API key
Forbidden - No permission
Not Found - Resource not found
Too Many Requests - Rate limit exceeded
Internal Server Error
# Get all tokens
curl -H "Authorization: Bearer YOUR_API_KEY" \
http://api.zeapxonliner.bond/api/v1/tokens
# Add a token
curl -X POST \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"token": "your_discord_token"}' \
http://api.zeapxonliner.bond/api/v1/tokens
# Connect a token
curl -X POST \
-H "Authorization: Bearer YOUR_API_KEY" \
http://api.zeapxonliner.bond/api/v1/tokens/TOKEN_ID/connectconst API_KEY = 'your_api_key';
const BASE_URL = 'http://api.zeapxonliner.bond/api/v1';
// Get tokens
const tokens = await fetch(`${BASE_URL}/tokens`, {
headers: { 'Authorization': `Bearer ${API_KEY}` }
}).then(res => res.json());
// Add token
const newToken = await fetch(`${BASE_URL}/tokens`, {
method: 'POST',
headers: {
'Authorization': `Bearer ${API_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({ token: 'your_discord_token' })
}).then(res => res.json());import requests
API_KEY = 'your_api_key'
BASE_URL = 'http://api.zeapxonliner.bond/api/v1'
HEADERS = {'Authorization': f'Bearer {API_KEY}'}
# Get tokens
response = requests.get(f'{BASE_URL}/tokens', headers=HEADERS)
tokens = response.json()
# Add token
response = requests.post(
f'{BASE_URL}/tokens',
headers={**HEADERS, 'Content-Type': 'application/json'},
json={'token': 'your_discord_token'}
)
new_token = response.json()