GET /appointments to retrieve the structured list of appointments for a document. Use POST /appointments/{appointmentId}/calendar to download an ICS file that your patient can import directly into their calendar app.
GET /appointments
Retrieve all follow-up appointments associated with a processed document.Query parameter
string (UUID)
required
The document identifier returned by
POST /upload. Only appointments that belong to this document and are owned by the authenticated user are returned.Response — 200 OK
Returns an object with adata array of Appointment objects.
Appointment[]
Array of extracted appointment objects.
Appointments where AfterCare could not find a concrete date are still included in the response with an empty
date field. These appointments are listed so your patient is aware of them, but they cannot be exported to a calendar — the /calendar endpoint will return 422 for undated appointments.cURL example
POST /appointments//calendar
Download an ICS calendar file for a specific appointment. The server generates a standard VCALENDAR event and returns it as atext/calendar attachment.
Path parameter
string
required
The
id of the appointment to export. Must belong to the authenticated user, and the appointment’s date field must contain a valid ISO 8601 datetime string (e.g. "2024-10-01T09:00:00.000Z"). Appointments with an empty or unparseable date cannot be exported — the server returns 422.Response — 200 OK
Returns atext/calendar file download (appointment.ics). The ICS file contains a single VEVENT populated with the appointment’s date, specialty, and location.