Activity Tracker APIs
Get server information
POST
/
activity
/
getServer
Get server information
curl --request POST \
--url https://api.readmin.app/activity/getServer \
--header 'Content-Type: application/json' \
--header 'loader-id: <api-key>' \
--data '
{
"internalGameId": "<string>"
}
'import requests
url = "https://api.readmin.app/activity/getServer"
payload = { "internalGameId": "<string>" }
headers = {
"loader-id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'loader-id': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({internalGameId: '<string>'})
};
fetch('https://api.readmin.app/activity/getServer', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.readmin.app/activity/getServer",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'internalGameId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"loader-id: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.readmin.app/activity/getServer"
payload := strings.NewReader("{\n \"internalGameId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("loader-id", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.readmin.app/activity/getServer")
.header("loader-id", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"internalGameId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.readmin.app/activity/getServer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["loader-id"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"internalGameId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"workspace": {
"groupId": "<string>",
"owner": {
"reAdminId": "<string>",
"robloxId": "<string>"
},
"minSyncRole": 123,
"loaderId": "<string>",
"currentDistribution": 123,
"distributionDMs": true,
"premium": {
"is": true,
"subscriptionId": "<string>",
"managedBy": {
"robloxId": "<string>",
"customerId": "<string>"
}
},
"tags": [],
"created": "2023-11-07T05:31:56Z",
"groupName": "<string>",
"syncing": true,
"lastSynced": "2023-11-07T05:31:56Z",
"trackedStaff": 123,
"overrideRoleMaximumSize": 123,
"banStatus": {
"is": true,
"reason": "<string>",
"bannedBy": "<string>"
}
},
"game": {
"_id": "<string>",
"version": "<string>",
"groupId": "<string>",
"internalGameId": "<string>",
"gameId": 123,
"placeId": 123,
"jobId": "<string>",
"privateServerId": "<string>",
"privateServerOwnerId": 123,
"placeVersion": "<string>",
"players": [
"<string>"
],
"lastPing": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z"
}
}⌘I
Get server information
curl --request POST \
--url https://api.readmin.app/activity/getServer \
--header 'Content-Type: application/json' \
--header 'loader-id: <api-key>' \
--data '
{
"internalGameId": "<string>"
}
'import requests
url = "https://api.readmin.app/activity/getServer"
payload = { "internalGameId": "<string>" }
headers = {
"loader-id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'loader-id': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({internalGameId: '<string>'})
};
fetch('https://api.readmin.app/activity/getServer', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.readmin.app/activity/getServer",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'internalGameId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"loader-id: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.readmin.app/activity/getServer"
payload := strings.NewReader("{\n \"internalGameId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("loader-id", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.readmin.app/activity/getServer")
.header("loader-id", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"internalGameId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.readmin.app/activity/getServer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["loader-id"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"internalGameId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"workspace": {
"groupId": "<string>",
"owner": {
"reAdminId": "<string>",
"robloxId": "<string>"
},
"minSyncRole": 123,
"loaderId": "<string>",
"currentDistribution": 123,
"distributionDMs": true,
"premium": {
"is": true,
"subscriptionId": "<string>",
"managedBy": {
"robloxId": "<string>",
"customerId": "<string>"
}
},
"tags": [],
"created": "2023-11-07T05:31:56Z",
"groupName": "<string>",
"syncing": true,
"lastSynced": "2023-11-07T05:31:56Z",
"trackedStaff": 123,
"overrideRoleMaximumSize": 123,
"banStatus": {
"is": true,
"reason": "<string>",
"bannedBy": "<string>"
}
},
"game": {
"_id": "<string>",
"version": "<string>",
"groupId": "<string>",
"internalGameId": "<string>",
"gameId": 123,
"placeId": 123,
"jobId": "<string>",
"privateServerId": "<string>",
"privateServerOwnerId": 123,
"placeVersion": "<string>",
"players": [
"<string>"
],
"lastPing": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z"
}
}