cURL
curl --request GET \ --url https://api.splose.com/v1/appointments/{id} \ --header 'Authorization: Bearer <token>'
{ "id": 1, "start": "2023-07-30T09:00:00.000Z", "end": "2023-07-30T09:00:00.000Z", "isUnavailableBlock": false, "serviceId": 1, "locationId": 1, "practitionerId": 1, "maxPatients": 1, "appointmentPatients": [ { "appointmentId": 1, "patientId": 1, "caseId": 1, "status": "Arrived", "note": "Some notes", "doNotInvoice": false, "invoiceId": 1, "cancellationReason": "Other", "cancellationRate": 30, "cancellationNote": "Some notes", "statusUpdatedAt": "2023-07-30T09:00:00.000Z" } ], "repeatId": "12345678-abcd-4321-dcba-12a34b56c78d", "recurringRule": "DTSTART:2023080T010000ZRRULE:FREQ=WEEKLY;INTERVAL=2;COUNT=6", "unit": "Hour", "pricing": 193.99, "total": 193.99, "taxType": "STANDARD", "supportItemIds": [ 1 ], "note": "Some notes", "archived": false, "createdAt": "2023-07-30T09:00:00.000Z", "updatedAt": "2023-07-30T09:00:00.000Z", "deletedAt": "2023-07-30T09:00:00.000Z" }
Get appointment data by id
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
x > 0
1
Object with appointment data.
The response is of type object.
object