curl --request POST \
--url https://api.mijnklantportaal.nl/v1/appointments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Contract extension",
"startsAt": "2025-03-05 14:30:00",
"endsAt": "2025-03-05 16:00:00",
"customerId": "cst_abcde123fgh",
"attendeeName": "John Doe",
"attendeeEmail": "[email protected]"
}
'{
"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"
}Schedule a new appointment
curl --request POST \
--url https://api.mijnklantportaal.nl/v1/appointments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Contract extension",
"startsAt": "2025-03-05 14:30:00",
"endsAt": "2025-03-05 16:00:00",
"customerId": "cst_abcde123fgh",
"attendeeName": "John Doe",
"attendeeEmail": "[email protected]"
}
'{
"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.
Name of the appointment, what will show up in the calendar
"Contract extension"
The date and time the appointment will take place, written in format Y-m-d H:i
"2025-03-05 14:30:00"
The date and time the appointment will ends, written in Y-m-d H:i format
"2025-03-05 16:00:00"
ID of the customer, if the appoinment is with a customer existing in your portal
"cst_abcde123fgh"
Name of the person you will meet with, required when no customerId is provided
"John Doe"
Email of the person you will meet with, required when no customerId is provided
Returning the created 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"