Team Apps
Returns other users' applications you moderate, with your permissions on each one
Applications returned successfully
Authentication error
You are not a moderator of any application
GET /v2/team HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "ok",
"apps": [
{
"id": "1745287471226",
"name": "Temp1 - JS",
"type": 0,
"online": true,
"ram": 100,
"ramKilled": false,
"exitCode": 0,
"lang": "javascript",
"owner": {
"name": "exemplo",
"avatar": "https://cdn.discordapp.com/embed/avatars/0.png"
},
"perms": [
"start_app",
"stop_app",
"restart_app",
"logs_app",
"status_app"
]
}
]
}Returns the status of an application you moderate. Requires the status_app permission.
ID of the application
Application status retrieved successfully
Authentication error
Application not found
GET /v2/team/{appID}/status HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "text",
"message": "text",
"apps": {
"id": "text",
"container": "text",
"cpu": "text",
"memory": "text",
"ssd": "text",
"netIO": {
"down": "text",
"up": "text"
},
"last_restart": "text",
"startedAt": "2026-01-01T00:00:00.000Z"
}
}Returns the logs of an application you moderate, or of all of them with "all". Requires the logs_app permission.
ID of the application or "all" for all team apps
Logs retrieved successfully
Authentication error
GET /v2/team/{appID}/logs HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "text",
"message": "text",
"apps": {
"id": "text",
"terminal": {
"big": "text",
"small": "text",
"url": "text"
}
}
}Generates and returns the backup of an application you moderate, or of all of them with "all". Requires the backup_app permission.
ID of the application or "all" for all team apps
Backup generated successfully
Authentication error
GET /v2/team/{appID}/backup HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "text",
"message": "text",
"backups": {
"id": "text",
"url": "text",
"status": "text"
}
}Starts an application you moderate, or all of them with "all". Requires the start_app permission.
ID of the application or "all" for all team apps
Application start response
Authentication error
PUT /v2/team/{appID}/start HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "text",
"message": "text",
"appStatus": {
"online": true,
"ramKilled": true,
"exitCode": 1
},
"apps": {
"started": [
"text"
],
"alreadyOnline": [
"text"
],
"alreadyInProcess": [
"text"
]
}
}Restarts an application you moderate, or all of them with "all". Requires the restart_app permission.
ID of the application or "all" for all team apps
Application restart response
Authentication error
PUT /v2/team/{appID}/restart HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "text",
"message": "text",
"apps": {
"restarted": [
"text"
],
"alreadyOffline": [
"text"
],
"alreadyInProcess": [
"text"
]
}
}Stops an application you moderate, or all of them with "all". Requires the stop_app permission.
ID of the application or "all" for all team apps
Application stop response
Authentication error
PUT /v2/team/{appID}/stop HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "text",
"message": "text",
"apps": {
"stoped": [
"text"
],
"alreadyOffline": [
"text"
],
"alreadyInProcess": [
"text"
]
}
}Updates the RAM of an application you moderate. Requires the edit_ram permission.
ID of the application
The amount of RAM in MB to allocate to the application. Minimum of 100 MB for bots and 512 MB for sites.
200RAM update response
Authentication error
PUT /v2/team/{appID}/ram HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"ramMB": 200
}{
"status": "text",
"statusCode": 1,
"message": "text"
}Uploads a new version of the code of an application you moderate. Requires the commit_app permission.
ID of the application
Application file to upload (.ZIP format)
Commit response
Application logs, if it fails to start
Authentication error
PUT /v2/team/{appID}/commit HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17
{
"file": "binary"
}{
"status": "text",
"statusCode": 1,
"message": "text",
"logs": "text"
}