Glossary
Terms that mean something specific on this platform.
Access token — The bearer token you present on every Partner API request, obtained by exchanging your client credentials with Auth0. Server-side only. It lives 24 hours; cache and reuse one rather than minting per request.
Appointment — A scheduled meeting linking a practitioner and a patient inside one clinic. All three must belong to the same clinic. It appears on the practitioner's calendar in the dashboard, where the session is started. Cancelling is a PATCH setting status to cancelled, not a DELETE.
Audit log — The tamper-evident record PlaySpace writes for every authenticated Partner API request, each row hash-chained to the previous one in your organisation's chain. It holds identifiers, statuses and counts, never patient data. It is what an X-Request-Id resolves against when you quote one to support.
Client credentials — Your organisation's client identifier and secret, issued once on approval. They are exchanged for an access token; they are never sent to the API itself, and never reach a browser.
Clinic — The top of the resource model and the container for everything else. Create one before creating practitioners or patients. Its name is unique within your organisation, case-insensitively.
Cursor — An opaque position marker used for pagination. Read meta.pagination.next_cursor, pass it back as cursor, and repeat until it is null. Never construct one by hand.
Event — A record of a change in your organisation: a patient or appointment created, updated or removed, a session started or ended, a note signed, a form completed. It carries ids, a sequence and a version, never clinical content. Delivered by webhook and listed by GET /v1/partner/events for 30 days.
Feature area — A part of the dashboard, such as clinical notes, forms or the assistant, keyed by name in enabled_features. Partner clinics start with every area on; setting a key to false hides that area from your clinicians.
Frame origin — An https origin allowed to frame PlaySpace for your clinicians, listed in frame_origins. It becomes the frame-ancestors policy of every PlaySpace page in the frame. No sign-in code can be minted until at least one is set.
Framed session — The PlaySpace session a sign-in code starts inside your frame. It is an ordinary clinician session with the same permissions and limits as a direct one, 24 hours from sign-in and 1 hour idle, held in a partitioned cookie scoped to your site.
Idempotency key — A caller-chosen opaque string, required on every POST, PATCH and DELETE except minting a sign-in code, creating a webhook endpoint and rotating its secret. A repeat with the same key and payload within 24 hours replays the original response rather than performing the work twice. A missing key is a 422.
Organisation token — The access token every Partner API call uses. It sees every clinic, practitioner, patient and appointment your organisation owns, and nothing of anyone else's.
Partner organisation — Your tenant. Derived from your token on every request, never sent in one. Another organisation's data is unreachable and unaddressable; its identifiers behave exactly like identifiers that never existed.
Patient — The identity resource for a person receiving care. PlaySpace uses "patient" on the wire and "client" in the dashboard, following how clinicians in this field usually speak. No PlaySpace account or login is created for one.
Patient contact — Whether PlaySpace emails your patients, set with patient_contact_enabled. Off by default, and while it is off PlaySpace sends them nothing.
Patient link — The link a patient joins one appointment's session with, returned as patient_url by POST /v1/partner/appointments/{id}/session-links. A short https://<host>/join/<code> address that is itself a credential: deliver it to the patient only, and keep it out of your logs.
Practitioner — The identity resource for a clinician, and the person a sign-in code signs in. No PlaySpace password is created for one. Carries a status of active or disabled; disabling ends their framed session and refuses new sign-in codes until they are active again.
Problem document — An RFC 9457 error body, served as application/problem+json. Branch on type, which is a stable identifier; never on title or detail, which are prose.
Rate limit — Requests per unit time, two windows per organisation, per minute and per hour. The more restrictive window wins. Clears in seconds; honour Retry-After. A request that fails authentication does not consume budget.
Reconnect — What the frame does when a session reaches a limit: it asks your page for a fresh sign-in code with playspace:session-code-needed, redeems it, and carries on, without a page load where it can.
Role — A practitioner's role in their clinic: member, admin or owner. It sets their permissions in the PlaySpace dashboard when they sign in through your frame, and gates no Partner API call.
Sandtray — One of the two live game surfaces, alongside the dollhouse. A tray with a categorised figure library, synchronised between two participants. Sand tray work is an established modality in child and family therapy; this is the remote form of it.
Scope — A resource:verb permission string carried inside your token, covering clinics, practitioners, patients and appointments, plus sessions:write for sign-in codes. Fixed on the credential at approval, and changed by asking PlaySpace rather than per call.
Settings — Your organisation's one settings object, read and changed at /v1/partner/settings: frame origins, feature areas, patient contact, recording and supplied video.
Sign-in code — The one credential that reaches a browser. Minted for one practitioner by POST /v1/partner/practitioners/{id}/sign-in-codes, it works once, lasts 60 seconds, and opens PlaySpace only inside your frame origins.
Soft delete — The only kind of delete this API performs. A deleted resource is de-listed rather than destroyed: it returns 404 and drops out of lists, unless the list supports include_deleted=true, in which case it returns carrying deleted_at.
Supplied video — Your own video provider's rooms used in place of PlaySpace's, enabled in settings with the origins your rooms are served from and sent per appointment. Shown inside PlaySpace's session page.
Version — A number on a patient or appointment that rises with every change to it, returned as version on reads and data.version on events. Keep the highest you have applied.
Webhook endpoint — An HTTPS URL you register with POST /v1/partner/webhook-endpoints to receive events. Each delivery is signed with the endpoint's secret, which is shown once and can be rotated. Webhooks and events covers delivery.
Window fallback — What PlaySpace offers when a browser will not keep the framed session: the same clinician, signed in to PlaySpace in its own window. Your page hears onFrameUnsupported('cookie').