List appointments
List appointments for the user identified by `X-Doctronic-User-ID` within the authenticated organization.
SDK method: patient.appointments.list() in TypeScript and Python. patient is the user-scoped client, client.forUser(userId) or client.for_user(user_id).
/appointments/List appointments for the user identified by X-Doctronic-User-ID within the authenticated organization.
Use status to filter by appointment status, and page and size to paginate the results. Both authentication credentials are required.
Authorization
HTTPBearer XDoctronicUserID In: header
Doctronic user ID returned as data.id by POST /users/. This value identifies the user in your organization scope; it is not an API token.
In: header
Query Parameters
Page number
1 <= value1Items per page
1 <= value <= 10020Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/appointments/"{ "code": "success", "message": "Request successful", "data": { "items": [ { "id": "string", "createdAt": "2019-08-24T14:15:22Z", "chatId": "string", "status": "booked", "durationMinutes": 0, "location": { "state": "AK" }, "startsAt": "2019-08-24T14:15:22Z", "endsAt": "2019-08-24T14:15:22Z", "waitingRoomUrl": "https://doctronic.doxy.me/example?pid=dc_01K1EXAMPLE00000000000000&autocheckin=true" } ], "total": 0, "page": 0, "size": 0, "pages": 0, "hasNext": true, "hasPrev": true }}