Propagator Appointments API
Individual appointments. Searches need a `from` and `to` range.
Individual appointments. Searches need a `from` and `to` range.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/propagator-health:propagator-health-appointments-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Propagator Unified Health Appointments API
description: 'A unified health API that acts as an abstraction layer between API consumers and various Practice Management Systems (PMS) and health systems. It provides a standardized interface for health-related operations across different backend systems. | | |
|---|---|
| API | `https://propagator.health/v1` |
| FHIR R4 | `https://propagator.health/v1/fhir/r4` |
| OpenID Connect issuer | `https://propagator.health` |
| Vendor sandbox | `https://sandbox.propagator.health` |
Start with Authentication, then build against the vendor sandbox before you call a clinic''s live system. FHIR describes the same data as HL7 FHIR R4. # Authentication
The API is protected by OpenID Connect. The issuer is `https://propagator.health`, and everything a client needs is in its discovery document:
```bash
curl -s https://propagator.health/.well-known/openid-configuration
```
| Endpoint | URL |
|---|---|
| Discovery | `https://propagator.health/.well-known/openid-configuration` |
| Authorization | `https://propagator.health/api/oidc/auth` |
| Token | `https://propagator.health/api/oidc/token` |
| Pushed authorization requests | `https://propagator.health/api/oidc/par` |
| JSON Web Key Set | `https://propagator.health/api/oidc/jwks` |
| UserInfo | `https://propagator.health/api/oidc/userinfo` |
Read endpoint URLs from discovery rather than hard-coding them. Access tokens are JWTs that live for ten minutes; mint a new one when it expires. ## OIDC clients
Every client is created in Propagator, for one of your applications:
| Client | Grants | Authentication | Use it for |
|---|---|---|---|
| **Application client** | `client_credentials`, `authorization_code` | `client_secret_basic` or `client_secret_post`; `private_key_jwt` when you register a JWKS URI | Your servers: reading and writing data for the clinics that installed your application |
| **Sandbox client** | `client_credentials` | as above | Building and testing against the vendor sandbox. Created on the sandbox''s own API access page, and valid only there |
Create the application client from your application''s API access page in Propagator. The secret is shown once; keep it on your servers and never ship it to a browser or a mobile app. Each client can be granted at most the scopes your application declares. Prefer `private_key_jwt`: register a JWKS URI and sign a client assertion with your own key, so no shared secret exists to leak. ## Client credentials for an install
When a clinic installs your application, the install gets an identifier: an opaque value starting `ext_in_`. Propagator holds the clinic''s practice system credentials; you never see them and there is nothing for you to configure. You find the identifier
- on the clinic''s install page in Propagator, reached from your application''s list of clinic installs, and
- in every webhook event about the install, as `installIdentifier`. Name the install in the token request, as an RFC 9396 authorization detail of type `install`:
```bash
curl -s -X POST https://propagator.health/api/oidc/token \
-u "$OPENID_CLIENT_ID:$OPENID_CLIENT_SECRET" \
-d grant_type=client_credentials \
-d scope="patients:read appointments:read" \
-d resource=https://propagator.health \
--data-urlencode ''authorization_details=[{"type":"install","identifier":"ext_in_...","actions":["read"]}]''
```
```json
{
"access_token": "eyJhbGciOiJ...",
"token_type": "Bearer",
"expires_in": 600,
"scope": "patients:read appointments:read"
}
```
The token reads that clinic''s data and nothing else:
- the install travels inside the token, so the API knows which clinic and which practice system to use without any further header;
- the scopes are capped by what the clinic approved when it installed your application, and by your client''s own scopes;
- the install must be live: once the clinic uninstalls, new tokens are refused with `invalid_authorization_details`, and tokens already issued stop working. Mint one token per install.'
version: 1.1.0
servers:
- url: https://propagator.health/v1
description: API (v1)
- url: https://sandbox.propagator.health/v1
description: Vendor sandbox (v1)
security:
- oauth2: []
- openId:
- openid
- authorizationHeader: []
tags:
- name: Appointments
description: Individual appointments. Searches need a `from` and `to` range.
paths:
/appointments:
get:
summary: Search appointments
description: Searches for appointments based on various criteria including location, practitioner, patient, and date range
operationId: searchAppointments
security:
- oauth2:
- appointments:read
- openId:
- appointments:read
parameters:
- name: from
in: query
required: true
description: Start date for appointment search (ISO 8601 format)
schema:
type: string
format: date-time
- name: to
in: query
required: true
description: End date for appointment search (ISO 8601 format)
schema:
type: string
format: date-time
- name: patientId
in: query
description: Filter by patient ID
schema:
type: string
- name: practitionerId
in: query
description: Filter by practitioner ID
schema:
type: string
- name: locationId
in: query
description: Filter by location ID
schema:
type: string
- name: nhi
in: query
description: 'Medtech only: National Health Index number. Can be used in place of patientId'
schema:
type: string
maxLength: 7
- name: surname
in: query
description: 'Medtech only: Patient surname. Can be used in place of patientId'
schema:
type: string
- name: appointmentTypeId
in: query
description: Filter by appointment type ID
schema:
type: string
- name: providerId
in: query
deprecated: true
description: Use `practitionerId` instead. Filter by practitioner ID.
schema:
type: string
- name: clientId
in: query
deprecated: true
description: Use `patientId` instead. Filter by patient ID.
schema:
type: string
- name: serviceId
in: query
deprecated: true
description: Use `appointmentTypeId` instead. Filter by appointment type ID.
schema:
type: string
- name: aptTypeId
in: query
deprecated: true
description: Use `appointmentTypeId` instead. Filter by appointment type ID.
schema:
type: string
- name: cancelled
in: query
description: 'Nookal only: Filter by cancelled status'
schema:
type: boolean
- name: sort
in: query
description: 'Sort field(s) with optional direction. Format: field1:order,field2:order. Order is ''asc'' or ''desc'', defaults to ''asc''. Allowed fields: id, start, end. Default: start:desc'
schema:
type: string
responses:
'200':
description: Appointments retrieved successfully
content:
application/json:
schema:
$ref: '#/components/schemas/AppointmentsResponse'
example:
data:
- id: apt-2001
patientId: pat-1001
practitionerId: prac-3
locationId: loc-1
appointmentTypeId: type-standard
time: '2026-11-05T09:00:00+13:00'
startTime: '2026-11-05T09:00:00+13:00'
endTime: '2026-11-05T09:30:00+13:00'
duration: 30
status: booked
reasonForVisit: Annual review
createdAt: '2026-10-28T02:41:00Z'
updatedAt: '2026-10-28T02:41:00Z'
'400':
description: Bad request - missing required parameters
'401':
description: Unauthorized
'500':
description: Internal server error
'502':
$ref: '#/components/responses/UpstreamFailure'
tags:
- Appointments
post:
summary: Create appointment
description: Creates a new appointment in the target Practice Management System
operationId: createAppointment
security:
- oauth2:
- appointments:create
- openId:
- appointments:create
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AppointmentRequest'
responses:
'201':
description: Appointment created successfully
content:
application/json:
schema:
$ref: '#/components/schemas/AppointmentResponse'
'400':
description: Bad request
'401':
description: Unauthorized
'500':
description: Internal server error
'502':
$ref: '#/components/responses/UpstreamFailure'
tags:
- Appointments
/appointments/{id}:
get:
summary: Get appointment by ID
description: Retrieves a specific appointment by its ID
operationId: getAppointmentById
security:
- oauth2:
- appointments:read
- openId:
- appointments:read
parameters:
- name: id
in: path
required: true
description: The appointment ID
schema:
type: string
responses:
'200':
description: Appointment retrieved successfully
content:
application/json:
schema:
$ref: '#/components/schemas/AppointmentRecordResponse'
example:
data:
id: apt-2001
patientId: pat-1001
practitionerId: prac-3
locationId: loc-1
appointmentTypeId: type-standard
time: '2026-11-05T09:00:00+13:00'
startTime: '2026-11-05T09:00:00+13:00'
endTime: '2026-11-05T09:30:00+13:00'
duration: 30
status: booked
reasonForVisit: Annual review
createdAt: '2026-10-28T02:41:00Z'
updatedAt: '2026-10-28T02:41:00Z'
'401':
description: Unauthorized
'404':
description: Appointment not found
'500':
description: Internal server error
'502':
$ref: '#/components/responses/UpstreamFailure'
tags:
- Appointments
delete:
summary: Cancel appointment
description: Cancels an existing appointment by its ID
operationId: cancelAppointment
security:
- oauth2:
- appointments:delete
- openId:
- appointments:delete
parameters:
- name: id
in: path
required: true
description: The appointment ID
schema:
type: string
responses:
'200':
description: Appointment cancelled successfully
content:
application/json:
schema:
$ref: '#/components/schemas/AppointmentRecordResponse'
'401':
description: Unauthorized
'404':
description: Appointment not found
'500':
description: Internal server error
'502':
$ref: '#/components/responses/UpstreamFailure'
tags:
- Appointments
patch:
summary: Update appointment
description: 'Updates an existing appointment. For Gensolve: updates start time, duration, and provider ID. For Medtech: cancels and recreates the appointment with updated values.'
operationId: updateAppointment
security:
- oauth2:
- appointments:update
- openId:
- appointments:update
parameters:
- name: id
in: path
required: true
description: The appointment ID
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateAppointmentRequest'
responses:
'200':
description: Appointment updated successfully
content:
application/json:
schema:
$ref: '#/components/schemas/AppointmentResponse'
'401':
description: Unauthorized
'404':
description: Appointment not found
'500':
description: Internal server error
'501':
description: Not implemented for this system
'502':
$ref: '#/components/responses/UpstreamFailure'
tags:
- Appointments
/appointments/{id}/conflicts:
get:
summary: Check an appointment for conflicts
description: Asks the PMS whether an appointment clashes with anything. The PMS owns the rules that decide what a clash is, so nothing is recomputed here and only its verdict is reported. `exist` is null when the PMS answered without one - a caller must be able to tell that from a confirmed clear.
operationId: getAppointmentConflicts
security:
- oauth2:
- appointment-conflicts:read
- openId:
- appointment-conflicts:read
parameters:
- name: id
in: path
required: true
description: Appointment ID
schema:
type: string
responses:
'200':
description: The PMS conflict verdict
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
appointmentId:
type: string
exist:
type:
- boolean
- 'null'
description: True when the PMS reports a clash, null when it gave no verdict
'401':
description: Unauthorized
'404':
description: Appointment not found
'501':
description: Not supported by this PMS
'502':
$ref: '#/components/responses/UpstreamFailure'
tags:
- Appointments
components:
schemas:
AppointmentRecordResponse:
type: object
description: 'Single appointment wrapped in a data envelope. This document declared the BARE record until 16/09/2026, and had never described what the service served: measured against the pinned production image, all 12 customer/target cells whose GET or DELETE /v1/appointments/{id} was answered returned the envelope, with no counter-example. The document was corrected to the contract callers have actually been relying on.'
properties:
data:
$ref: '#/components/schemas/AppointmentResponse'
required:
- data
AppointmentRequest:
allOf:
- $ref: '#/components/schemas/AppointmentRequestBase'
- oneOf:
- $ref: '#/components/schemas/ClinikoAppointmentExtensions'
- $ref: '#/components/schemas/ElixirAppointmentExtensions'
- $ref: '#/components/schemas/GensolveAppointmentExtensions'
- $ref: '#/components/schemas/HalaxyAppointmentExtensions'
- $ref: '#/components/schemas/MedtechAppointmentExtensions'
- $ref: '#/components/schemas/NookalAppointmentExtensions'
- $ref: '#/components/schemas/SploseAppointmentExtensions'
SploseAppointmentExtensions:
type: object
properties:
practiceId:
type: string
description: Practice ID
appointmentReason:
type: string
description: Appointment reason
AppointmentResponse:
type: object
properties:
id:
type: string
description: Appointment ID
patientId:
type: string
description: Patient ID
practitionerId:
type: string
description: Practitioner ID
time:
type: string
format: date-time
description: Appointment start time
duration:
type: integer
description: Duration in minutes
status:
type: string
description: 'Appointment status: one of proposed, booked, confirmed, arrived, completed, cancelled, noshow, on every target. Each target maps its practice-management system''s own codes into this set; a code is never relayed.'
enum:
- proposed
- booked
- confirmed
- arrived
- completed
- cancelled
- noshow
reasonForVisit:
type: string
description: Reason for visit
locationId:
type: string
description: Appointment location
appointmentTypeId:
type: string
description: Appointment type
startTime:
type: string
format: date-time
endTime:
type: string
format: date-time
notes:
type: string
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
ClinikoAppointmentExtensions:
type: object
properties:
notes:
type: string
description: Appointment notes
patientCaseId:
type: string
description: Patient case ID for linking appointment to a specific case
repeatRule:
type: object
description: Rules for recurring appointments
properties:
numberOfRepeats:
type: integer
description: Number of times to repeat the appointment
repeatType:
type: string
description: Type of recurrence (e.g., daily, weekly, monthly)
repeatingInterval:
type: integer
description: Interval between repeats
AppointmentRequestBase:
type: object
required:
- appointmentTypeId
- practitionerId
- startTime
properties:
slotId:
type: string
description: Slot ID for the appointment
clientId:
type: string
description: Client/Patient ID
appointmentTypeId:
type: string
description: Appointment type ID
locationId:
type: string
description: Location ID
practitionerId:
type: string
description: Provider/Practitioner ID
startTime:
type: string
format: date-time
description: Appointment start time
endTime:
type: string
format: date-time
description: Appointment end time
HalaxyAppointmentExtensions:
type: object
properties:
tenantId:
type: string
description: Tenant ID
appointmentStatus:
type: string
enum:
- confirmed
- tentative
- arrived
description: Appointment status
MedtechAppointmentExtensions:
type: object
properties:
facilityCode:
type: string
description: Facility code
appointmentClass:
type: string
description: Appointment class
referralId:
type: string
description: Referral ID
displayName:
type: string
description: 'Medtech only: Patient display name. Can be used instead of clientId to create an appointment without linking to an existing patient record'
reasonForVisit:
type: string
description: Reason for the appointment visit
UpdateAppointmentRequest:
type: object
properties:
startTime:
type: string
format: date-time
description: Updated appointment start time
duration:
type: integer
description: Updated duration in minutes
practitionerId:
type: string
description: Updated practitioner ID
locationId:
type: string
description: Updated location ID. Used by Elixir, Halaxy, and Nookal.
status:
type: string
description: 'Updated appointment status: one of proposed, booked, confirmed, arrived, completed, cancelled, noshow. A target writes the values its system can record.'
enum:
- proposed
- booked
- confirmed
- arrived
- completed
- cancelled
- noshow
notes:
type: string
description: Appointment note.
reasonForVisit:
type: string
description: The reason for the visit, served as the appointment's note by targets that model only one.
note:
type: string
deprecated: true
description: Use `notes` instead. Appointment note.
providerId:
type: string
deprecated: true
description: Use `practitionerId` instead. Updated practitioner ID.
aptTypeId:
type: string
deprecated: true
description: Use `appointmentTypeId` instead. The kind of appointment.
appointmentTypeId:
type: string
description: The kind of appointment.
slotId:
type: string
description: The slot id for the appointment. Elixir only.
description: Request body for updating an appointment. All fields are optional - only provide fields that need to be updated.
NookalAppointmentExtensions:
type: object
properties:
apptId:
type: integer
description: Appointment ID for updates
clientName:
type: string
description: Client name
providerName:
type: string
description: Provider name
caseId:
type: integer
description: Case ID
caseName:
type: string
description: Case name
isNewClient:
type: integer
description: Flag indicating if this is a new client
isNewCase:
type: integer
description: Flag indicating if this is a new case
apptType:
type: string
description: Appointment type
typeName:
type: string
description: Appointment type name
appointmentDate:
type: string
description: Appointment date
startDateTimeUTC:
type: string
description: Start date/time in UTC
endDateTimeUTC:
type: string
description: End date/time in UTC
dateAdded:
type: string
description: Date appointment was added
cancellationDate:
type: string
description: Cancellation date if appointment was cancelled
status:
type: string
description: Nookal native appointment status, passed through unmapped. NOT the canonical status vocabulary — see AppointmentResponse.status for that.
notes:
type: string
description: Appointment notes
locationName:
type: string
description: Location name
lastModified:
type: string
description: Last modified timestamp
dna:
type: integer
description: DNA (Did Not Attend) flag
timeZone:
type: string
description: Time zone
allowOverlap:
type: boolean
description: Allow overlapping appointments
cancelFirst:
type: integer
description: Cancel first flag
addedBy:
type: integer
description: ID of user who added the appointment
addedByName:
type: string
description: Name of user who added the appointment
metadata:
type: string
description: Additional metadata
response:
type: string
description: Response field
ElixirAppointmentExtensions:
type: object
properties:
clinicId:
type: string
description: Clinic ID
appointmentCategory:
type: string
description: Appointment category
GensolveAppointmentExtensions:
type: object
properties:
clientName:
type: string
description: Client name for quick appointments (serviceId/appointmentType = 4)
clientPhone:
type: string
description: Client phone for quick appointments (serviceId/appointmentType = 4)
contractId:
type: integer
description: Contract ID (required for contract appointments, serviceId/appointmentType = 100)
description:
type: string
description: Appointment description
providerAppointmentTypeId:
type: integer
description: 'Provider appointment type ID for Gensolve provider appointments (AppointmentType 2). If omitted, appointmentTypeId (or serviceId) is used. Maps to Gensolve ProviderApptTypeId.
'
telehealth:
type: boolean
description: Is this a telehealth appointment
inService:
type: boolean
description: In service flag (required for provider appointments, default true)
forceSave:
type: boolean
description: Force save flag
conditionId:
type: integer
description: Condition ID (only for client appointments, serviceId/appointmentType = 1)
sendReminders:
type: boolean
description: Send reminders flag (only for contract appointments, default true)
notes:
type: string
description: Additional notes
AppointmentsResponse:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/AppointmentResponse'
responses:
UpstreamFailure:
description: 'Bad gateway. The practice management system failed (it answered a 5xx or timed out), or answered something this API cannot faithfully serve. The fault is upstream, not in the request: a read may be retried later. A write may or may not have been applied, so read the record back before retrying one.'
securitySchemes:
openId:
type: openIdConnect
openIdConnectUrl: https://propagator.health/.well-known/openid-configuration
authorizationHeader:
type: apiKey
in: header
name: Authorization
description: "JWT signed with HS256 algorithm using a shared secret.\n\n## JWT Structure\n\n### Header\nThe JWT header must contain:\n- `alg`: \"HS256\" (signing algorithm)\n- `kid`: Customer key ID - identifies the API consumer for secret lookup (provided during onboarding)\n\n### Example Header\n```json\n{\n \"alg\": \"HS256\",\n \"typ\": \"JWT\",\n \"kid\": \"customer123\"\n}\n```\n\n### Payload\nThe JWT payload must contain:\n- `iat`: Issued at timestamp (Unix epoch)\n- `exp`: Expiration timestamp (Unix epoch)\n- `auth`: Object containing target system and credentials (see Auth Schemas below)\n\n### Signing\nThe JWT must be signed using the shared secret provided during customer onboarding (along with the `kid`). The signature is verified on each request.\n\n## Example JWT Payload\n```json\n{\n \"iat\": 1699900000,\n \"exp\": 1699903600,\n \"auth\": {\n \"target\": \"gensolve\",\n \"username\": \"api_user\",\n \"password\": \"api_password\",\n \"vendorId\": \"vendor123\",\n \"secretKey\": \"secret123\",\n \"organisationName\": \"My Practice\"\n }\n}\n```\n\n## Usage\nPass the signed JWT directly in the Authorization header:\n```\nAuthorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImN1c3RvbWVyMTIzIn0...\n```\n\nSee the Auth schemas (GensolveAuth, MedtechAuth, ClinikoAuth, SploseAuth, ElixirAuth, HalaxyAuth, NookalAuth, PracsuiteAuth) for target-specific credential requirements.\n"
oauth2:
type: oauth2
description: OpenID Connect at this exchange's issuer. Client credentials for your servers (name the install in `authorization_details`, see Authentication), or authorization code with PKCE when a person at the clinic approves your application.
flows:
clientCredentials:
tokenUrl: https://propagator.health/api/oidc/token
scopes:
appointment-conflicts:read: ''
appointment-type-billable-items:read: ''
appointment-type-practitioners:read: ''
appointment-type-products:read: ''
appointment-types:read: ''
appointments:create: ''
appointments:delete: ''
appointments:read: ''
appointments:update: ''
availabilities:read: ''
billable-items:read: ''
communications:create: ''
communications:read: ''
concession-prices:read: ''
concession-types:read: ''
group-appointment-attendees:read: ''
group-appointment-availabilities:get: ''
group-appointment-participants:create: ''
group-appointment-participants:delete: ''
group-appointment-participants:read: ''
group-appointment-types:read: ''
group-appointments:create: ''
group-appointments:read: ''
invoices:read: ''
locations:read: ''
notes:create: ''
notes:read: ''
patients:create: ''
patients:delete: ''
patients:read: ''
patients:update: ''
payments:create: ''
payments:delete: ''
payments:read: ''
practitioners:read: ''
products:create: ''
products:read: ''
products:update: ''
taxes:read: ''
vendors:read: ''
authorizationCode:
authorizationUrl: https://propagator.health/api/oidc/auth
tokenUrl: https://propagator.health/api/oidc/token
x-usePkce: SHA-256
scopes:
openid: ''
profile: ''
organisation: ''
appointment-conflicts:read: ''
appointment-type-billable-items:read: ''
appointment-type-practitioners:read: ''
appointment-type-products:read: ''
appointment-types:read: ''
appointments:create: ''
appointments:delete: ''
appointments:read: ''
appointments:update: ''
availabilities:read: ''
billable-items:read: ''
communications:create: ''
communications:read: ''
concession-prices:read: ''
concession-types:read: ''
group-appointment-attendees:read: ''
group-appointment-availabilities:get: ''
group-appointment-participants:create: ''
group-appointment-participants:delete: ''
group-appointment-participants:read: ''
group-appointment-types:read: ''
group-appointments:create: ''
group-appointments:read: ''
invoices:read: ''
locations:read: ''
notes:create: ''
notes:read: ''
patients:create: ''
patients:delete: ''
patients:read: ''
patients:update: ''
payments:create: ''
payments:delete: ''
payments:read: ''
practitioners:read: ''
products:create: ''
products:read: ''
products:update: ''
taxes:read: ''
vendors:read: ''
x-tagGroups:
- name: Patients and records
tags:
- Patients
- Notes
- Communications
- Conditions
- Assessments
- Events
- Contracts
- Fundings
- name: Scheduling
tags:
- Appointments
- Appointment types
- Availabilities
- Group appointments
- Group appointment types
- name: Practice
tags:
- Practitioners
- Locations
- name: Billing
tags:
# --- truncated at 32 KB (32 KB total) ---
# Full source: https://artifacts.apis.io/propagator-health/openapi/propagator-health-appointments-api-openapi.yml