Get sessions
curl --request GET \
--url https://app.hipp.health/api/v1/sessions \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.hipp.health/api/v1/sessions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.hipp.health/api/v1/sessions', 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://app.hipp.health/api/v1/sessions",
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://app.hipp.health/api/v1/sessions"
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://app.hipp.health/api/v1/sessions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.hipp.health/api/v1/sessions")
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": [
{
"publicId": "apt_1a2b3c4d5e",
"title": "John Doe — Adaptive behavior treatment",
"status": "CONFIRMED",
"startTime": "2026-01-05T14:00:00.000Z",
"endTime": "2026-01-05T15:00:00.000Z",
"isSupervision": false,
"isClientPresent": true,
"placeOfService": "TELEHEALTH_PROVIDED_ELSEWHERE",
"locationId": "loc_1a2b3c",
"technicianId": "usr_tech123",
"clientId": "usr_client789",
"isBillable": true,
"isTelehealth": false,
"clinicianId": "usr_clin456",
"providerLocationId": "loc_9f8e7d",
"services": "svc_1a2b3c"
}
],
"pagination": {
"page": 123,
"pageSize": 123,
"totalCount": 123,
"totalPages": 123
}
}{
"message": "Validation Error",
"statusCode": 400,
"validationErrors": [
{
"code": "invalid_type",
"message": "Required",
"path": [
"email"
]
}
]
}{
"error": "API key required",
"statusCode": 401
}{
"error": "Access denied",
"statusCode": 403
}{
"error": "Method not allowed",
"statusCode": 405
}{
"error": "An unexpected error occurred",
"statusCode": 500
}Sessions
Get All Sessions
Get a paginated list of sessions (appointments) with optional filtering by client, staff member, and date range.
GET
/
v1
/
sessions
Get sessions
curl --request GET \
--url https://app.hipp.health/api/v1/sessions \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.hipp.health/api/v1/sessions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.hipp.health/api/v1/sessions', 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://app.hipp.health/api/v1/sessions",
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://app.hipp.health/api/v1/sessions"
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://app.hipp.health/api/v1/sessions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.hipp.health/api/v1/sessions")
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": [
{
"publicId": "apt_1a2b3c4d5e",
"title": "John Doe — Adaptive behavior treatment",
"status": "CONFIRMED",
"startTime": "2026-01-05T14:00:00.000Z",
"endTime": "2026-01-05T15:00:00.000Z",
"isSupervision": false,
"isClientPresent": true,
"placeOfService": "TELEHEALTH_PROVIDED_ELSEWHERE",
"locationId": "loc_1a2b3c",
"technicianId": "usr_tech123",
"clientId": "usr_client789",
"isBillable": true,
"isTelehealth": false,
"clinicianId": "usr_clin456",
"providerLocationId": "loc_9f8e7d",
"services": "svc_1a2b3c"
}
],
"pagination": {
"page": 123,
"pageSize": 123,
"totalCount": 123,
"totalPages": 123
}
}{
"message": "Validation Error",
"statusCode": 400,
"validationErrors": [
{
"code": "invalid_type",
"message": "Required",
"path": [
"email"
]
}
]
}{
"error": "API key required",
"statusCode": 401
}{
"error": "Access denied",
"statusCode": 403
}{
"error": "Method not allowed",
"statusCode": 405
}{
"error": "An unexpected error occurred",
"statusCode": 500
}Get All Sessions
Retrieve a paginated list of sessions (appointments) with optional filtering by client, staff member, and date range. Results are scoped to the organization that owns the API key.Headers
Authorization: Bearer <your-api-key>
Query Parameters
page(optional): Page number (1-indexed). Default:1. Minimum:1, Maximum:1000000pageSize(optional): Number of items per page. Default:25. Minimum:1, Maximum:100clientId(optional): Filter by client public idtechnicianId(optional): Filter by staff member (technician) public idclinicianId(optional): Filter by clinician public idstartDate(optional): Only sessions on or after this calendar date (YYYY-MM-DD). Must be on or beforeendDateendDate(optional): Only sessions on or before this calendar date (YYYY-MM-DD)
Session Model
Each item indata has the following shape:
publicId: Session public idtitle: Human-readable session titlestatus: Current scheduling statusstartTime/endTime: Session instants in UTC (ISO-8601). Naivedate+startTime/endTimesupplied at creation are resolved to instants server-side using the request timezoneisSupervision: Session flagisClientPresent: Whether the client is present for the sessionplaceOfService: CMS place-of-service enumlocationId: Public id of the session locationtechnicianId/clientId: Public ids of the related resources, ornullisBillable: Discriminates the response shape. Billable (true) sessions addisTelehealth,clinicianId,providerLocationIdandservices; non-billable (false) sessions addnonBillableCodeinstead
isBillable is true):
isTelehealth: Whether the session is delivered via telehealthclinicianId: Public id of the assigned clinician, ornullproviderLocationId: Public id of the provider location the care was delivered from, ornullservices: Public id of the billable service line rendered
isBillable is false):
nonBillableCode: Public id of the non-billable code
Success Response (200)
{
"data": [
{
"publicId": "apt_1a2b3c4d5e",
"title": "John Doe — Adaptive behavior treatment",
"status": "CONFIRMED",
"startTime": "2026-01-05T14:00:00.000Z",
"endTime": "2026-01-05T15:00:00.000Z",
"isSupervision": false,
"isClientPresent": true,
"placeOfService": "HOME",
"locationId": "loc_1a2b3c",
"technicianId": "usr_tech123",
"clientId": "usr_client789",
"isBillable": true,
"isTelehealth": false,
"clinicianId": "usr_clin456",
"providerLocationId": "loc_9f8e7d",
"services": "svc_1a2b3c"
},
{
"publicId": "apt_9z8y7x",
"title": "Travel",
"status": "CONFIRMED",
"startTime": "2026-01-05T12:00:00.000Z",
"endTime": "2026-01-05T12:30:00.000Z",
"isSupervision": false,
"isClientPresent": false,
"placeOfService": "OTHER",
"locationId": "loc_1a2b3c",
"technicianId": "usr_tech123",
"clientId": null,
"isBillable": false,
"nonBillableCode": "nbc_1a2b3c"
}
],
"pagination": {
"page": 1,
"pageSize": 25,
"totalCount": 100,
"totalPages": 4
}
}
Error Responses
400 - Validation Error
{
"message": "Validation Error",
"statusCode": 400,
"validationErrors": [
{
"code": "custom",
"message": "startDate must be on or before endDate.",
"path": ["startDate"]
}
]
}
401 - Unauthorized
{
"error": "API key required",
"statusCode": 401
}
403 - Forbidden
{
"error": "Access denied",
"statusCode": 403
}
Examples
cURL Example
# Get all sessions with pagination
curl -X GET "https://app.hipp.health/api/v1/sessions?page=1&pageSize=25" \
-H "Authorization: Bearer your-api-key"
# Filter by client and date range
curl -X GET "https://app.hipp.health/api/v1/sessions?clientId=usr_client789&startDate=2026-01-01&endDate=2026-01-31" \
-H "Authorization: Bearer your-api-key"
JavaScript Example
const getSessions = async (params = {}) => {
const queryParams = new URLSearchParams(params);
const response = await fetch(
`https://app.hipp.health/api/v1/sessions?${queryParams}`,
{
method: "GET",
headers: {
Authorization: "Bearer your-api-key",
},
}
);
if (!response.ok) {
const error = await response.json();
throw new Error(error.message || error.error || "Failed to fetch sessions");
}
return response.json();
};
// Usage
try {
const result = await getSessions({
page: 1,
pageSize: 25,
technicianId: "usr_tech123",
});
console.log("Sessions:", result.data);
console.log("Pagination:", result.pagination);
} catch (error) {
console.error("Error fetching sessions:", error.message);
}
Authorizations
API key authentication. Include your API key in the Authorization header as 'Bearer '
Query Parameters
Page number (1-indexed)
Required range:
1 <= x <= 1000000Number of items per page
Required range:
1 <= x <= 100Filter by client public id
Filter by staff member (technician) public id
Filter by clinician public id
Only sessions on or after this calendar date (YYYY-MM-DD). Must be on or before endDate.
Example:
"2026-01-01"
Only sessions on or before this calendar date (YYYY-MM-DD).
Example:
"2026-12-31"
Response
Successful response