Calls
Get a call
Returns a single call with its running game metadata and full message transcript.
GET
/
calls
/
{callId}
Get a call
curl --request GET \
--url https://api.readmin.app/calls/{callId} \
--header 'loader-id: <api-key>'import requests
url = "https://api.readmin.app/calls/{callId}"
headers = {"loader-id": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'loader-id': '<api-key>'}};
fetch('https://api.readmin.app/calls/{callId}', 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/calls/{callId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.readmin.app/calls/{callId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("loader-id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.readmin.app/calls/{callId}")
.header("loader-id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.readmin.app/calls/{callId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["loader-id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"call": {
"_id": "<string>",
"groupId": "<string>",
"runningGameId": "<string>",
"gameId": 123,
"placeId": 123,
"discordChannelId": "<string>",
"claimedBy": 123,
"callerId": 123,
"reportedUser": "<string>",
"reason": "<string>",
"messages": [
{
"username": "<string>",
"userId": 123,
"message": "<string>",
"id": "<string>",
"created": "2023-11-07T05:31:56Z"
}
],
"closed": true,
"created": "2023-11-07T05:31:56Z"
},
"server": {
"_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"
}
}{
"success": false,
"reason": "<string>"
}{
"success": false,
"reason": "<string>"
}Previous
Read call messagesReturns just the message transcript for a call. Use to poll an in-progress chat.
Next
⌘I
Get a call
curl --request GET \
--url https://api.readmin.app/calls/{callId} \
--header 'loader-id: <api-key>'import requests
url = "https://api.readmin.app/calls/{callId}"
headers = {"loader-id": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'loader-id': '<api-key>'}};
fetch('https://api.readmin.app/calls/{callId}', 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/calls/{callId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.readmin.app/calls/{callId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("loader-id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.readmin.app/calls/{callId}")
.header("loader-id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.readmin.app/calls/{callId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["loader-id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"call": {
"_id": "<string>",
"groupId": "<string>",
"runningGameId": "<string>",
"gameId": 123,
"placeId": 123,
"discordChannelId": "<string>",
"claimedBy": 123,
"callerId": 123,
"reportedUser": "<string>",
"reason": "<string>",
"messages": [
{
"username": "<string>",
"userId": 123,
"message": "<string>",
"id": "<string>",
"created": "2023-11-07T05:31:56Z"
}
],
"closed": true,
"created": "2023-11-07T05:31:56Z"
},
"server": {
"_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"
}
}{
"success": false,
"reason": "<string>"
}{
"success": false,
"reason": "<string>"
}