curl --request PATCH \
--url https://api.mijnklantportaal.nl/v1/appointments/{appointmentId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "scheduled"
}
'{
"id": "apt_abc12346def678",
"customerId": "cst_abc12345def678",
"attendeeName": "John Doe",
"attendeeEmail": "[email protected]",
"startsAt": "2025-03-05T16:00:00+02:00",
"endsAt": "2025-03-05T16:30:00+02:00",
"status": "scheduled",
"onlineMeetingLink": "https://meet.google.com/abc-123",
"createdAt": "2025-03-04T17:23:14+02:00"
}Confirm or cancel a pending appointment
curl --request PATCH \
--url https://api.mijnklantportaal.nl/v1/appointments/{appointmentId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "scheduled"
}
'{
"id": "apt_abc12346def678",
"customerId": "cst_abc12345def678",
"attendeeName": "John Doe",
"attendeeEmail": "[email protected]",
"startsAt": "2025-03-05T16:00:00+02:00",
"endsAt": "2025-03-05T16:30:00+02:00",
"status": "scheduled",
"onlineMeetingLink": "https://meet.google.com/abc-123",
"createdAt": "2025-03-04T17:23:14+02:00"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the appointment to change
The new status for the appointment. Can be scheduled or canceled.
"scheduled"
The changed appointment
Appointment
ID of the appointment, always starting with apt_.
"apt_abc12346def678"
ID of the Customer involved in this appointment, when the case
"cst_abc12345def678"
Name of the attendee of the meeting
"John Doe"
Emailaddress of the attendee of the meeting
Date and time when the appointment starts, written in ATOM format.
"2025-03-05T16:00:00+02:00"
Date and time when the appointment ends, written in ATOM format.
"2025-03-05T16:30:00+02:00"
Current status of the appointment. Possible values are scheduled, canceled, and pending.
"scheduled"
Link to the online meeting of the connected integration, when available
"https://meet.google.com/abc-123"
Date and time when the appointment is added to MijnKlantportaal, not matter of the status. Written in ATOM format.
"2025-03-04T17:23:14+02:00"