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

Quickstart

Create a demo sandbox, connect it to Voxlera and watch a reminder appear, in about 15 minutes.

This walks through the clinic side of a connection using Voxlera's hosted demo PMS, so you see what a working integration looks like before you build one. You need a Voxlera clinic account (use a separate, test clinic: the demo cannot be connected to a clinic that already has patients from a real PMS).

Warning

The demo is for fake data only. Never enter real patient information.

#1. Create a sandbox

A sandbox is your own private fake clinic with doctors, patients, appointments and an API key.

bash
curl -X POST https://pms-demo.voxlera.co/sandboxes \
  -H 'content-type: application/json' \
  -d '{"mode":"api_only","preset":"full"}'

The response contains everything you need:

json
{
  "id": "sb_abc123",
  "apiKey": "pmsk_demo_…",
  "webhookSecretSet": false,
  "baseUrl": "https://pms-demo.voxlera.co/s/sb_abc123"
}
OptionValues
modeapi_only (Voxlera polls) or webhook (the sandbox also sends signed webhooks).
presetfull (all operations), read_only (reads only) or minimal (the four required reads).

The sandbox has no webhook signing secret yet (webhookSecretSet is false). Voxlera creates the secret when you connect, and you paste it into the sandbox in step 2.

Check it works:

bash
curl https://pms-demo.voxlera.co/s/sb_abc123/v1/capabilities \
  -H 'Authorization: Bearer pmsk_demo_…'

#2. Connect it in Voxlera

  1. In the Voxlera dashboard, open Integrations and choose PMS Connect (there is also a Try our demo PMS shortcut).
  2. Paste the baseUrl into Base URL and the key into API key.
  3. Choose a Mode: API only, or Webhook + API if you made a webhook sandbox.
  4. Select Test connection. Voxlera checks every operation your PMS offers. Connect unlocks once every required check passes.
  5. Select Connect. In webhook mode Voxlera now shows a Webhook URL and a Signing secret. The secret is shown once, so copy both.
  6. Open the sandbox's control page (<baseUrl>/control?key=<apiKey>) and paste both: the URL under Webhook URL, and the secret under Signing secret (paste the one Voxlera shows after connecting). The page then shows the secret masked. Until both are set the sandbox sends no webhooks; its delivery log shows refused with the reason no_signing_secret.

While connected to a demo PMS, Voxlera only calls or texts numbers on the Test phone numbers list. Nobody is contacted until you add one.

#3. See a reminder appear

  1. Add your own phone number (international format, for example +905551234567) under Test phone numbers.
  2. Open the sandbox's control page (<baseUrl>/control?key=<apiKey>), choose Edit a patient and give a demo patient your number. It stays only in that sandbox and disappears when the sandbox is purged.
  3. On the control page, create or move an appointment for that patient into the next day.
  4. In Voxlera, the appointment is picked up on the next sync (within 15 minutes; immediately in webhook mode) and an appointment reminder is queued for that patient.

The demo's doctors are added to Voxlera when you connect, and demo patients arrive ready to contact, so there is nothing else to set up. Your clinic's own settings still apply (automatic calling, active hours, calling hours).

Every other demo patient's outreach ends with Not on the sandbox tester allowlist, and a refused call also shows Not placed — not on the sandbox tester allowlist on the call itself. That is expected: only numbers on your list are ever contacted.

Aftercare messages are your own: write an aftercare message first (there is no default one). Without one, a completed treatment's aftercare is skipped with No aftercare message set, and nothing is sent.

A few things to know:

  • To change a demo patient's number, edit the patient on the control page. A phone correction in Voxlera is refused for demo patients.
  • A number that has opted out (for example by replying STOP) stays opted out: giving it to another demo patient, or syncing again, does not make it contactable. This holds however the number is written (spaces, brackets, a 00 prefix), as long as every copy of it includes the country code.
  • Saving your list of test phone numbers re-checks every demo patient that holds one of those numbers. If the number has opted out, that patient's demo consent is closed, even when the opt-out arrived while the number was off your list.
  • After an opt-out test, do not give that demo patient a new number: the patient stays closed, and the new number is recorded as opted out when the demo data is deleted. Use another demo patient instead.

The control page also lets you inject faults (slow responses, errors, 429s, malformed pages) to see how your own implementation should behave.

#4. Clean up

In Voxlera, select Delete demo data on the PMS Connect page before connecting a real system.

#Map your PMS (no code)

If your PMS already has a read API of its own and does not speak PMS Connect, you can still connect it without writing code: describe the API on a screen. The demo sandbox has a deliberately different "legacy" API (Turkish field names, dd.MM.yyyy HH:mm dates, status words) so you can practise on it.

A mapped connection is read-only (doctors, a patient by id, appointments, completed treatments, and a patient's treatments and treatment types if you map them) and is always polled. Nothing is written back to the PMS.

  1. Create a sandbox as in step 1 above.
  2. Read the legacy address and key header. Open the sandbox's control page (<baseUrl>/control?key=<apiKey>). It shows a Legacy base URL (<baseUrl>/legacy) and a Legacy key header (X-Api-Anahtari, which takes your sandbox key).
  3. Open Map your PMS. In Voxlera, go to Settings, then Integrations, then PMS Connect, and select Map your PMS (no code). In Connection, enter the API address (the legacy base URL), choose to send the key in a header named X-Api-Anahtari, paste <your sandbox key>, give the PMS a name and pick its time zone.
  4. Map each list. In Lists, for each list (the legacy endpoints are /hekimler, /hastalar/{no}, /randevular, /tamamlanan-tedaviler and /tedavi-turleri): fetch a sample reply, click the list or record in it, then pick a field for each of our fields. Add a conversion where the value needs one: a date format (dd.MM.yyyy HH:mm), a value table for status words, a phone number with a default country, a join, a split name or yes/no. The first sample of a list may say "click the list in the reply": that is normal until you pick where the items are (the legacy lists sit under sonuc.kayitlar, a single patient under sonuc.kayit). A sample shows at most 20 records.
  5. Run Test. The Test step runs the same checklist as a standard connection. If a field cannot be converted, that record shows a reason and the test fails until you fix it.
  6. Connect. Select Connect. The panel then shows "Mapped PMS: {name}" and an Edit mapping button. Every save is a new version; in edit mode the last step is Save new version. To see patients and appointments right away, book a demo appointment for about 24 hours from now on the demo control page, then refresh.

Your key is sent only to the API address you entered and is never shown again after saving. A sample never stores the patient values in the reply: the audit log notes only the list, its request path, how many records came back and, for a patient sample, the patient id you entered. Read more in the FAQ.

#Next

Build your own: Authentication and conventions and Endpoints.

PreviousOverviewNextAuthentication and conventions