Sites
Show a public clinician site profile
Resolves the non-deleted account by its public slug. The response preserves the JSON:API root and exposes only the site-profile contract.
GET
/
api
/
v1
/
sites
/
accounts
/
{id}
Show a public clinician site profile
curl --request GET \
--url https://api.example.test/api/v1/sites/accounts/{id}import requests
url = "https://api.example.test/api/v1/sites/accounts/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.test/api/v1/sites/accounts/{id}', 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.example.test/api/v1/sites/accounts/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.test/api/v1/sites/accounts/{id}"
req, _ := http.NewRequest("GET", url, nil)
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.example.test/api/v1/sites/accounts/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.test/api/v1/sites/accounts/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"id": "456",
"type": "account",
"attributes": {
"name": "Demo Doctor",
"slug": "demo-doctor-profile",
"cellphone": "+525550100",
"bio": "Synthetic public profile",
"specialty_names": {
"name_es": "Medicina general",
"name_en": "General medicine"
},
"location": {
"id": 789,
"name": "Main Office",
"organization_id": 123,
"created_at": "2026-01-01T06:00:00.000-06:00",
"updated_at": "2026-01-01T06:00:00.000-06:00",
"office_attributes": {
"office_city": "Test City"
},
"state_id": 321,
"deleted_at": null,
"metadata": {},
"active": true,
"google_booking_enabled": false
},
"avatar_url": "https://synthetic-assets.s3.amazonaws.com/accounts/avatars/000/000/456/original/avatar.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=synthetic-key%2F20261001%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261001T120000Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=0000000000000000000000000000000000000000000000000000000000000000",
"availability": {
"mon": [
"08:00-12:00"
],
"consultation_duration": 30
},
"username": "demo-doctor",
"available_hour": {
"day": "tue",
"hour": "08:00 am"
}
}
}
}{
"error": "Not found"
}⌘I
Show a public clinician site profile
curl --request GET \
--url https://api.example.test/api/v1/sites/accounts/{id}import requests
url = "https://api.example.test/api/v1/sites/accounts/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.test/api/v1/sites/accounts/{id}', 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.example.test/api/v1/sites/accounts/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.test/api/v1/sites/accounts/{id}"
req, _ := http.NewRequest("GET", url, nil)
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.example.test/api/v1/sites/accounts/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.test/api/v1/sites/accounts/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"id": "456",
"type": "account",
"attributes": {
"name": "Demo Doctor",
"slug": "demo-doctor-profile",
"cellphone": "+525550100",
"bio": "Synthetic public profile",
"specialty_names": {
"name_es": "Medicina general",
"name_en": "General medicine"
},
"location": {
"id": 789,
"name": "Main Office",
"organization_id": 123,
"created_at": "2026-01-01T06:00:00.000-06:00",
"updated_at": "2026-01-01T06:00:00.000-06:00",
"office_attributes": {
"office_city": "Test City"
},
"state_id": 321,
"deleted_at": null,
"metadata": {},
"active": true,
"google_booking_enabled": false
},
"avatar_url": "https://synthetic-assets.s3.amazonaws.com/accounts/avatars/000/000/456/original/avatar.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=synthetic-key%2F20261001%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261001T120000Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=0000000000000000000000000000000000000000000000000000000000000000",
"availability": {
"mon": [
"08:00-12:00"
],
"consultation_duration": 30
},
"username": "demo-doctor",
"available_hour": {
"day": "tue",
"hour": "08:00 am"
}
}
}
}{
"error": "Not found"
}