🔐 Authentication
This API uses Basic Authentication for securing endpoints. All requests to protected endpoints must include an Authorization header with valid credentials.
How to authenticate:
URL API: https://api.robotproject.com.br
**example: ** https://api.robotproject.com.br/games
- Combine your username and password in the format
username:password - Encode this string using Base64 encoding
Example in JavaScript/TypeScript:
const username = 'your_username';
const password = 'your_password';
const token = Buffer.from(`${username}:${password}`).toString('base64');
// Result: 'eW91cl91c2VybmFtZTp5b3VyX3Bhc3N3b3Jk'
Example Authorization Header:
Authorization: Basic eW91cl91c2VybmFtZTp5b3VyX3Bhc3N3b3Jk
Note: Replace the example credentials with your actual username and password.
Get My Loader Templates
/loaders/templatesAuth requiredLists templates belonging to the authenticated account. Use the same Basic Authentication (username:password) as purchases; the server resolves the reseller from those credentials. Do not send a separate username or owner ID. Existing Discord HMAC authentication also resolves the linked account. Select only templates with active: true and archived: false. IDs identify saved loader configurations, not a plan or a visual style. The site default is always a selectable option.
Request Details
Responses
{
"success": true,
"data": {
"siteDefault": {
"loaderChoice": "SITE_DEFAULT",
"customLoaderId": null
},
"templates": [
{
"id": 159,
"internalName": "Brand A",
"displayName": "Brand A",
"iconUrl": null,
"mainColor": "#a848db",
"secondColor": "#1a1a1a",
"isPrimary": true,
"active": true,
"archived": false,
"slotType": "INCLUDED",
"loaderChoice": "CUSTOM",
"customLoaderId": 159
}
]
}
}{
"status": "error",
"message": "Invalid credentials"
}