Get academy
curl --request GET \
--url https://api.gymdesk.com/academies/{academyId} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.gymdesk.com/academies/{academyId}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.gymdesk.com/academies/{academyId}', 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.gymdesk.com/academies/{academyId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"data": {
"id": 999,
"name": "Acme Gym",
"currency": "USD",
"email": "hello@acme.gym",
"phone": "+14155552671",
"address": {
"line1": "123 Main Street",
"city": "San Francisco",
"postalCode": "<string>",
"country": "<string>",
"line2": "<string>",
"state": "<string>"
},
"coordinates": {
"lat": 37.7749,
"lng": -122.4194
},
"franchiseId": 42,
"logoUrl": "https://acme.gymdesk.com/999/logo.png",
"createdAt": "2026-01-15T08:30:00Z"
}
}{
"message": "Unauthorized",
"correlationId": "01890c1a-9b2d-7c3e-8f12-3456789abcde"
}{
"message": "Resource not found",
"correlationId": "01890c1a-9b2d-7c3e-8f12-3456789abcde"
}Academies
Get academy
Retrieve a single academy by ID.
GET
/
academies
/
{academyId}
Get academy
curl --request GET \
--url https://api.gymdesk.com/academies/{academyId} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.gymdesk.com/academies/{academyId}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.gymdesk.com/academies/{academyId}', 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.gymdesk.com/academies/{academyId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"data": {
"id": 999,
"name": "Acme Gym",
"currency": "USD",
"email": "hello@acme.gym",
"phone": "+14155552671",
"address": {
"line1": "123 Main Street",
"city": "San Francisco",
"postalCode": "<string>",
"country": "<string>",
"line2": "<string>",
"state": "<string>"
},
"coordinates": {
"lat": 37.7749,
"lng": -122.4194
},
"franchiseId": 42,
"logoUrl": "https://acme.gymdesk.com/999/logo.png",
"createdAt": "2026-01-15T08:30:00Z"
}
}{
"message": "Unauthorized",
"correlationId": "01890c1a-9b2d-7c3e-8f12-3456789abcde"
}{
"message": "Resource not found",
"correlationId": "01890c1a-9b2d-7c3e-8f12-3456789abcde"
}⌘I
