curl --request GET \
--url https://{clinic}.{region}.practicehub.io/v3/api/appointments \
--header 'Authorization: Bearer <token>'import requests
url = "https://{clinic}.{region}.practicehub.io/v3/api/appointments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{clinic}.{region}.practicehub.io/v3/api/appointments', 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://{clinic}.{region}.practicehub.io/v3/api/appointments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://{clinic}.{region}.practicehub.io/v3/api/appointments"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{clinic}.{region}.practicehub.io/v3/api/appointments")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{clinic}.{region}.practicehub.io/v3/api/appointments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 6350,
"appointment_type_id": 1,
"practitioner_id": 109,
"resource_id": 4,
"patient_id": 340,
"location_id": 81,
"starts_at": "2026-09-01T09:00:00",
"ends_at": "2026-09-01T09:30:00",
"status": "pending",
"note": "New patient assessment.",
"is_group": false,
"group_master_id": null,
"group_total_attendees": null,
"cancelled_at": null,
"cancel_note": null,
"columns": 1,
"updated_at": "2026-08-19T14:22:05Z",
"created_at": "2026-01-15T10:30:00Z",
"patient": {
"id": 340,
"first_name": "Augusta",
"last_name": "Lovelace",
"preferred_name": "Ada",
"name": "Ada Lovelace"
}
}
],
"links": {
"first": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"current_page": 123,
"per_page": 123,
"total": 123,
"last_page": 123
}
}{
"message": "<string>",
"code": "<string>",
"errors": {}
}{
"message": "<string>",
"code": "<string>",
"errors": {}
}List appointments
curl --request GET \
--url https://{clinic}.{region}.practicehub.io/v3/api/appointments \
--header 'Authorization: Bearer <token>'import requests
url = "https://{clinic}.{region}.practicehub.io/v3/api/appointments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{clinic}.{region}.practicehub.io/v3/api/appointments', 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://{clinic}.{region}.practicehub.io/v3/api/appointments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://{clinic}.{region}.practicehub.io/v3/api/appointments"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{clinic}.{region}.practicehub.io/v3/api/appointments")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{clinic}.{region}.practicehub.io/v3/api/appointments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 6350,
"appointment_type_id": 1,
"practitioner_id": 109,
"resource_id": 4,
"patient_id": 340,
"location_id": 81,
"starts_at": "2026-09-01T09:00:00",
"ends_at": "2026-09-01T09:30:00",
"status": "pending",
"note": "New patient assessment.",
"is_group": false,
"group_master_id": null,
"group_total_attendees": null,
"cancelled_at": null,
"cancel_note": null,
"columns": 1,
"updated_at": "2026-08-19T14:22:05Z",
"created_at": "2026-01-15T10:30:00Z",
"patient": {
"id": 340,
"first_name": "Augusta",
"last_name": "Lovelace",
"preferred_name": "Ada",
"name": "Ada Lovelace"
}
}
],
"links": {
"first": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"current_page": 123,
"per_page": 123,
"total": 123,
"last_page": 123
}
}{
"message": "<string>",
"code": "<string>",
"errors": {}
}{
"message": "<string>",
"code": "<string>",
"errors": {}
}Authorizations
API key from Developers → API Keys, sent as Authorization: Bearer .
Query Parameters
Offset pagination is bounded at page 10000 (higher values are clamped — meta.current_page reports the page served); use cursor pagination for deeper walks.
1 <= x <= 100001 <= x <= 100Cursor pagination: send empty to start, then the token from links.next. Constant cost per page and stable under concurrent writes; response meta is {per_page, has_more} and links.first/prev are null. Bound to the filters, sort and page_size it was issued for (422 otherwise). Omit to use page/page_size.
attr[,attr]:asc|desc — sortable: id, appointment_type_id, practitioner_id, patient_id, location_id, starts_at, ends_at, status, updated_at, created_at
Filter: operator:value
Filter: operator:value
Filter: operator:value
Filter: operator:value
Filter: operator:value
Filter: operator:value
Filter: operator:value
Filter: operator:value
Filter: operator:value
Filter: operator:value
Filter: operator:value — the value is true or false
Filter: operator:value
Filter: operator:value
Filter: operator:value
Filter: operator:value
Filter: operator:value
Filter: operator:value
Filter: operator:value
Filter by integrator metadata: metadata[key]=operator:value
Show child attributes
Show child attributes
Was this page helpful?