Update video call Appointment
- Sandbox: available
- Staging: available
- Production: unknown
Replaces the time, title, description and participants of an existing video call Appointment. Use it to reschedule a call or change who is invited.
Auth: bearer token. The caller must be a Practitioner, an admin or a super admin, or hold the "System Owner" access policy. Scope: the caller's project (from the token).
Behaviour
- The Appointment is identified by the
appointmentIdpath parameter. Anyidin the body is ignored. - The body works like the create route:
endmust be later thanstart, participants are identified by email and deduplicated, and at least one must be a Practitioner. Unknown emails become Patient accounts. - The participant list is replaced by the one you send. Send everyone who should stay.
- The passphrase of the Appointment does not change, so existing join links keep working.
- New TANs are created for all participants on every update.
- If the Appointment already has an access permission, its recipients are replaced by the new participant list. A Patient you add can therefore join without a second call to the active-call notification route.
- The route sends no emails. Use
POST /video-call/livekit/mail/updateto tell participants about the change.
Example
curl -X PUT 'https://api.sandbox.ovok.com/video-call/livekit/appointment/c3499c27-2973-0a7f-807e-fb8676a92dcb' \ -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyNjg4MDAsImV4cCI6MTc2NzI3MjQwMH0.Ql3B_ztDvctlyZ2z0vp4sl3ExXRQGkzmxdmTAqxNzZk' \ -H 'Content-Type: application/json' \ -d '{ "start": "2026-01-01T12:00:00Z", "end": "2026-01-02T12:00:00Z", "comment": "Check-up call", "videoCallParticipants": [{ "email": "max.mustermann@example.com" }] }'bearerAuthorizationBearer <JWT>appointmentId*stringAppointment ID.
uuidapplication/json- body
id?stringAppointment ID.
start*stringStart date-time of the video call appointment. ATTENTION: Start date must be provided in UTC+0 (GMT+0) time.
date-timeend*stringEnd date-time of the video call appointment. ATTENTION: End date must be provided in UTC+0 (GMT+0) time.
date-timecomment*stringTitle of the video call appointment.
1 <= lengthdescription?stringBrief description of the video call appointment.
videoCallParticipants*array<>Video call participants.
1 <= itemsVideo Call Appointment updated.
application/json- response
id*stringAppointment ID.
resourceType?stringAppointment resource type.
"Appointment"status*stringAppointment status.
"proposed""pending""booked""arrived""fulfilled""cancelled""noshow""entered-in-error""checked-in""waitlist"start*stringStart date-time of the video call appointment. ATTENTION: Start date is provided in UTC+0 (GMT+0) time.
date-timeend*stringEnd date-time of the video call appointment. ATTENTION: End date is provided in UTC+0 (GMT+0) time.
date-timecomment*stringTitle of the video call appointment.
1 <= lengthdescription?stringBrief description of the video call appointment.
videoCallParticipants*array<>passphrase*stringPassphrase for the video call appointment.
curl -X PUT 'https://api.sandbox.ovok.com/video-call/livekit/appointment/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{ "start": "2019-08-24T14:15:22Z", "end": "2019-08-24T14:15:22Z", "comment": "string", "videoCallParticipants": [ { "email": "user@example.com" } ]}'{ "id": "string", "resourceType": "Appointment", "status": "proposed", "start": "2019-08-24T14:15:22Z", "end": "2019-08-24T14:15:22Z", "comment": "string", "description": "string", "videoCallParticipants": [ { "email": "user@example.com", "status": "accepted", "profileRef": "string" } ], "passphrase": "string"}Create video call Appointment POST
Creates a video call Appointment with its participants. Use it before you invite participants or create join links. **Auth:** bearer token. The caller must be a Practitioner, an admin or a super admin, or hold the "System Owner" access policy. **Scope:** the caller's project (from the token). Participant accounts are looked up and created in that project. ## Behaviour - `start` and `end` are UTC date-times. `end` must be later than `start`. - Participants are identified by email. Duplicate emails are dropped. - For each email, a Practitioner account in the project is used if one exists. Otherwise a Patient account is used, and one is created if the email has none yet. - The Appointment must have at least one Practitioner participant. - Each participant gets a TAN (a one-time access code), valid from one hour before the request until one day after `end`. Invitation and update emails include it. - The Appointment gets a random passphrase. Join links include it, and you cannot set or change it. - Participants are stored with status `tentative`. The route sends no emails and creates no access permission. Use `POST /video-call/livekit/mail/invite` to email participants and `POST /video-call/livekit/notification/active-call/{appointmentId}` to let them join. ## Example ```bash curl -X POST 'https://api.sandbox.ovok.com/video-call/livekit/appointment' \ -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyNjg4MDAsImV4cCI6MTc2NzI3MjQwMH0.Ql3B_ztDvctlyZ2z0vp4sl3ExXRQGkzmxdmTAqxNzZk' \ -H 'Content-Type: application/json' \ -d '{ "start": "2026-01-01T12:00:00Z", "end": "2026-01-02T12:00:00Z", "comment": "Check-up call", "description": "Follow-up appointment", "videoCallParticipants": [{ "email": "max.mustermann@example.com" }] }' ```
Send emails: video call invitation POST
Sends invitation emails for a video call Appointment to the recipients you list. The route does not change the Appointment. **Auth:** bearer token. The caller must be a Practitioner, an admin or a super admin, or hold the "System Owner" access policy. **Scope:** the caller's project (from the token). ## Behaviour - `emailRecipients` takes 1 to 20 entries. Each has an `email` and a `profileRef` (`Practitioner/<id>` or `Patient/<id>`). Duplicate emails are dropped. - The caller is never emailed, even when listed. If no recipient is left, the route returns an empty `emailRecipientsResult`. - The email contains the recipient's TAN (a one-time access code) and its expiry. A recipient with no TAN gets no email and `isEmailSent` is `false`. - The email includes the Appointment title, the practitioner's name, start and end in CET. The `Origin` header of your request sets the app domain used in the email, and the request language sets its language. - Emails are sent one by one. A failed send does not fail the request. Check `isEmailSent` for each recipient. ## Example ```bash curl -X POST 'https://api.sandbox.ovok.com/video-call/livekit/mail/invite' \ -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyNjg4MDAsImV4cCI6MTc2NzI3MjQwMH0.Ql3B_ztDvctlyZ2z0vp4sl3ExXRQGkzmxdmTAqxNzZk' \ -H 'Content-Type: application/json' \ -d '{ "appointmentId": "c3499c27-2973-0a7f-807e-fb8676a92dcb", "emailRecipients": [{ "email": "max.mustermann@example.com", "profileRef": "Patient/c3499c27-2973-0a7f-807e-fb8676a92dcb" }] }' ```