Skip to content
Clinic guideDevelopers
Open app
Overview
Introduction
Core concepts
Website embeds
Embeds overview
Consultation form
International enquiry form
PMS Connect
Overview
Quickstart
Authentication and conventions
Endpoints
Webhooks
Tiers
Testing
FAQ
API
API status and roadmap
Conventions
Security
Security and data handling

PMS Connect

Endpoints

Every PMS Connect operation with request and response examples.

All paths are under {baseUrl} and need the Authorization: Bearer <key> header. Conventions (pagination, errors, idempotency) are on Authentication and conventions. The same contract is available as an OpenAPI document.

Examples abbreviate headers. List responses are always { "data": [...], "nextCursor": "..." | null }.

#Capabilities (mandatory)

#GET /v1/capabilities

Tells Voxlera what you implement. Voxlera calls this first, and again whenever the clinic re-tests the connection.

json
{
  "contractVersion": "1",
  "pmsName": "Example Dental PMS",
  "operations": ["doctors.list", "patients.get", "appointments.list", "treatments.completed", "slots.list", "appointments.create"],
  "timezone": "Europe/Istanbul",
  "webhooks": true
}
FieldMeaning
contractVersionAlways "1".
pmsNameYour product's name, shown to the clinic.
operationsThe operation ids below that you implement. Must include the four required reads.
timezoneThe clinic's IANA time zone, for example Europe/Istanbul.
webhookstrue if you send webhooks.
sandboxOptional boolean used only by Voxlera's own demo. Omit it.

#Required reads

#doctors.list: GET /v1/doctors?cursor=&limit=

json
{
  "data": [{ "id": "d_1", "name": "Dr. Ada Example", "active": true }],
  "nextCursor": null
}

#patients.get: GET /v1/patients/{id}

json
{
  "id": "p_1",
  "firstName": "Demo",
  "lastName": "Patient",
  "phone": "+447700900123",
  "email": null,
  "dateOfBirth": "1988-04-21",
  "language": "en",
  "preferredChannel": "whatsapp",
  "nationality": null
}

id, firstName, lastName, phone (E.164), email (or null) and dateOfBirth (or null) are required. language, preferredChannel (sms or whatsapp) and nationality are optional. Return 404 for an unknown id.

#appointments.list: GET /v1/appointments?from=&to=&doctorId=&cursor=&limit=

from and to are RFC 3339 timestamps with an offset. Return appointments that start within the range.

doctorId is optional. When it is present, return only that doctor's appointments. Voxlera sends it when it reads one doctor's calendar to find free time, so honouring it keeps those reads small and fast. If you ignore it and return every doctor's appointments, Voxlera still works: it filters the list itself. What you must not do is reject the parameter: the conformance checker calls this endpoint once with doctorId and expects 200 with a normal page.

json
{
  "data": [
    {
      "id": "a_1",
      "patientId": "p_1",
      "doctorId": "d_1",
      "doctorName": "Dr. Ada Example",
      "treatmentType": "Checkup",
      "startsAt": "2026-11-12T09:30:00+03:00",
      "endsAt": "2026-11-12T10:00:00+03:00",
      "status": "scheduled"
    }
  ],
  "nextCursor": null
}

status is scheduled, completed, cancelled or no_show. endsAt may be null.

#treatments.completed: GET /v1/treatments/completed?since=&cursor=&limit=

Treatments completed at or after since. Voxlera uses this to send aftercare instructions and to plan recall.

json
{
  "data": [
    {
      "id": "t_9",
      "patientId": "p_1",
      "visitId": "v_4",
      "groupCode": "implant",
      "treatmentType": "Implant placement",
      "performedAt": "2026-11-10T11:00:00+03:00",
      "recallPeriodDays": 180,
      "doctorId": "d_1",
      "notes": null
    }
  ],
  "nextCursor": null
}

groupCode is optional. recallPeriodDays, doctorId and notes may be null. visitId identifies the visit the treatment belongs to.

#Optional reads

#patients.treatments: GET /v1/patients/{id}/treatments?cursor=&limit=

json
{
  "data": [
    {
      "id": "t_3",
      "patientId": "p_1",
      "treatmentType": "Scaling",
      "performedAt": "2026-05-02T10:00:00+03:00",
      "nextSessionDue": "2026-11-02T10:00:00+03:00",
      "notes": null
    }
  ],
  "nextCursor": null
}

#treatmentTypes.list: GET /v1/treatment-types?cursor=&limit=

json
{
  "data": [{ "id": "tt_1", "name": "Scaling", "recallPeriodDays": 180, "durationMin": 30 }],
  "nextCursor": null
}

#slots.list: GET /v1/slots?doctorId=&from=&to=&cursor=&limit=

Free bookable slots for one doctor in the range.

json
{
  "data": [{ "doctorId": "d_1", "startsAt": "2026-11-12T09:30:00+03:00", "endsAt": "2026-11-12T10:00:00+03:00" }],
  "nextCursor": null
}

#Writes

Writes send an Idempotency-Key header; see idempotency. Return 400 for an invalid body, 404 for an unknown id, and 409 when the record's state does not allow the change (for example rescheduling an appointment that is not scheduled).

#appointments.create: POST /v1/appointments → 201

json
{
  "patientId": "p_1",
  "doctorId": "d_1",
  "startsAt": "2026-11-12T09:30:00+03:00",
  "treatmentType": "Checkup",
  "notes": "Booked by phone assistant"
}

Returns 201 and the created appointment (same shape as in appointments.list). notes is optional.

#appointments.cancel: POST /v1/appointments/{id}/cancel

json
{ "reason": "Patient asked to cancel" }

The body and reason are optional. Returns 200 and the updated appointment with "status": "cancelled".

#appointments.reschedule: POST /v1/appointments/{id}/reschedule

json
{ "startsAt": "2026-11-14T15:00:00+03:00", "doctorId": "d_2" }

doctorId is optional and moves the appointment to another doctor in the same system. Returns 200 and the updated appointment. Return 409 if the appointment is not scheduled (for example, already cancelled).

#treatments.complete: POST /v1/treatments/{id}/complete

No body. {id} is the treatment id as returned by treatments.completed or patients.treatments. Marks a treatment completed and returns 200 with the completed treatment (same shape as in treatments.completed).

#patients.externalId: PUT /v1/patients/{id}/external-id

Stores Voxlera's identifier on the patient record so the two can be matched later.

json
{ "externalId": "vx_8f3a21" }

Returns 200 and the patient.

#treatmentTypes.update: PATCH /v1/treatment-types/{id}

A partial update. Send only the fields to change; name, if present, must be non-empty.

json
{ "recallPeriodDays": 365, "durationMin": 45 }

Returns 200 and the full treatment type.

#Next

Webhooks shows how to tell Voxlera about changes as they happen.

PreviousAuthentication and conventionsNextWebhooks