Creating an Appointment
To create an appointment, send a POST request to/appointments with the required X-Qminder-API-Version header:
lineId- ID of the line to create the appointment infirstName- Visitor’s first name (2-50 characters)startTime- Appointment start time in ISO 8601 formatendTime- Appointment end time in ISO 8601 formatassigneeId- ID of the user to assign the appointment to
lastName- Visitor’s last name (max 50 characters)phoneNumber- Phone number with optional + prefix (5-20 digits)email- Visitor’s email addresslanguageCode- Language code (default: “en”)fields- Array of custom input fields withinputFieldId(UUID) andvalueoroptionIdslabels- Array of labels withvalue
Input Fields
To use thefields parameter, you first need to discover the available input field IDs for the location. See the Input Fields query for details.
Auto-Assigning Appointments
For appointments that should be automatically assigned to an available user, use the/appointments/auto-assign endpoint. This endpoint does not require an assigneeId - the system will automatically find an available user based on their availability.
Appointment Lifecycle
Appointments go through the following states:- Scheduled - The appointment is created and waiting for the visitor
- Checked-in - The visitor has arrived and checked in (moves to queue)
- Served - The appointment has been completed
- Cancelled - The appointment was cancelled
- No-show - The visitor did not arrive