Appointments are booked on a representative’s time for an end user, usually from a ticket: a phone call, a visit on site or an online Teams meeting. You ask for free times, hold one, and confirm it; AnswerPal then writes the appointment to the representative’s Microsoft 365 calendar (when it is linked) and informs the end user. These endpoints also manage appointment types and their notification texts, bookable hours, the calendar link status, and the answer to meeting invitations received in a ticket.
GET /api/Appointments/availability gives the free start times, POST /api/Appointments/hold reserves one for a few minutes, POST /api/Appointments/{id}/confirm books it. After that the appointment can be rescheduled, reassigned to another representative or cancelled.Utc are UTC with a Z. Fields ending in Local are the representative’s wall-clock time without offset. Input with an offset is converted to UTC; input without one is read as UTC. Bookable hours are in the representative’s time zone (a Windows time zone ID such as Romance Standard Time)./api/Appointments/availabilityappointmentTypeId, from and to (required, at most 62 days apart), and optionally ticketId, topicId, customerRepId, appointmentId, endUserId, locationAddress, shownFrom, shownTo./api/Appointments/holdHeld./api/Appointments/{id}/confirmConfirmed./api/Appointments/{id}/releaseCancelled with reason Hold released./api/Appointments/{id}/reschedule/api/Appointments/{id}/reassign/api/Appointments/{id}/cancel/api/Appointments/{id}/api/AppointmentsticketId (required). Holds that were never confirmed are left out./api/Appointments/typesappointmentTypeId (optional: that one type, also when inactive)./api/Appointments/needs-reassignment/api/Appointments/requeststicketId (required)./api/Appointments/requests/api/Appointments/requests/{id}/dismissDismissed./api/AppointmentTypessortOrder and name./api/AppointmentTypes/api/AppointmentTypes/{id}/api/AppointmentTypes/{id}/api/AppointmentTypes/{id}/api/AppointmentTypes/{appointmentTypeId}/notification-templates/api/AppointmentTypes/{appointmentTypeId}/notification-templates/api/AppointmentTypes/{appointmentTypeId}/notification-templates/defaults/api/Appointments/{appointmentId}/notifications/api/CustomerReps/{customerRepId}/bookable-hours/api/CustomerReps/{customerRepId}/bookable-hours/api/CustomerReps/{customerRepId}/outlook-working-hours/api/CustomerReps/{customerRepId}/calendar-status/api/CustomerReps/{customerRepId}/agendafrom and to (required, at most 31 days apart) and appointmentTypeId. Administrator only; other users get 403./api/Tickets/{id}/appointment-contacts/api/ticketmessages/{id}/meeting/api/ticketmessages/{id}/meeting/respondappointmentTypeId (required); from, to (required; to after from, at most 62 days); ticketId (brings the ticket’s representative and detected topics into the choice); topicId (instead of the ticket’s topics); customerRepId (only this representative; must be in the type’s pool); appointmentId (free times for moving that appointment, with its own duration); endUserId and locationAddress (on-site types at the end user’s address); shownFrom, shownTo (dates yyyy-MM-dd, both or neither).appointmentTypeID, appointmentTypeName, kind, durationMinutes, prepMinutes, postMinutes; fromUtc, toUtc (the part of the period that can be booked, after lead time and horizon); ticketID, ticketCustomerRepID, topicIDs; reps; cascade; warnings; location (on-site types: mode, address, problem); travelTimeEnabled.repscustomerRepID, name, timeZone, calendarEnabled, inPool, unavailableReason (OutsidePool, NotBookable, CalendarError, NoLinkedCalendar, Inactive, OutsideWindow, NoAddress or TravelUnavailable), calendarError, confirmedAppointmentsNext14Days, slots (startUtc, endUtc, startLocal, endLocal and travel minutes) and travelProblem.cascadechosenCustomerRepID and step (TicketRep: the ticket’s representative, TopicRep, Pool, Explicit or None), preferredRepMaxWaitDays and the candidates with their reason.travelTimeEnabled tells whether travel time between on-site appointments is taken into account. When it is false, slots ignore travel, the travel minutes are 0 and on-site types add a warning. An on-site type at the end user’s address still needs a complete address (a street plus a postal code or city).appointmentTypeID (integer, required)customerRepID (integer, required)startUtc (date-time, required)ticketID (integer)endUserID (integer)contactPhone: one match is used, several give 400 (pass endUserID), none creates a new end user with newEndUserName.newEndUserName (string)contactPhone (string)proposeOnly (boolean)proposeOnlyHoldMinutes instead of 5 minutes, for example while the end user decides.appointmentRequestID (integer)Booked.locationAddress (string, max 400)A hold lasts 5 minutes (or the propose-only time), never past the start. It informs nobody and writes nothing to the calendar. An expired hold becomes Cancelled with reason Hold expired. confirm, release and cancel take no body.
appointmentID, appointmentTypeID, customerRepID, endUserID, ticketIDstartUtc, endUtc (without buffers), prepMinutes, postMinutesstatus, operation (Confirm, Reschedule, Reassign or Cancel while it runs), targetStartUtc, targetEndUtc, targetCustomerRepID, scheduleVersion (raised by every move), statusChangedUtcholdExpiresUtc, holdSecondsLeftcontactPhone, direction (phone types: RepCalls or EndUserCalls), onlineMeetingUrl (online types, after confirm), locationAddresscreatedByCustomerRepID, createdBySource (Rep or Ai), cancelledReason, warningtravelToMinutes, travelFromMinutes, travelToEstimated, travelFromEstimated, travelFromDestination, travelNoteappointmentTypeName, appointmentTypeKind, customerRepName, customerRepTimeZone, targetCustomerRepName, endUserNameeventsrole (Prep, Main, Post, TravelTo, TravelFrom), mailbox, state, appliedStartUtc, appliedEndUtc, attemptCount and related fields.GET /api/Appointments/availability?appointmentTypeId=12&from=2026-12-07T00:00:00Z&to=2026-12-12T00:00:00Z&ticketId=48213
Authorization: Bearer <token>
200 OK
{
"appointmentTypeID": 12,
"appointmentTypeName": "Intake call",
"kind": "Phone",
"durationMinutes": 30,
"prepMinutes": 5,
"postMinutes": 10,
"fromUtc": "2026-12-07T00:00:00Z",
"toUtc": "2026-12-12T00:00:00Z",
"ticketID": 48213,
"ticketCustomerRepID": 7,
"topicIDs": [31],
"reps": [
{
"customerRepID": 7, "name": "Sam Peeters", "timeZone": "Romance Standard Time",
"calendarEnabled": true, "inPool": true, "unavailableReason": null, "calendarError": null,
"confirmedAppointmentsNext14Days": 3,
"slots": [
{ "startUtc": "2026-12-08T09:00:00Z", "endUtc": "2026-12-08T09:30:00Z", "startLocal": "2026-12-08T10:00:00", "endLocal": "2026-12-08T10:30:00", "travelBeforeMinutes": 0, "travelAfterMinutes": 0, "travelEstimated": false }
],
"travelProblem": null
}
],
"cascade": { "chosenCustomerRepID": 7, "step": "TicketRep", "preferredRepMaxWaitDays": null, "candidates": [ { "customerRepID": 7, "step": "TicketRep", "chosen": true, "reason": null } ] },
"warnings": [],
"location": null,
"travelTimeEnabled": false
} POST /api/Appointments/hold
Authorization: Bearer <token>
Content-Type: application/json
{
"appointmentTypeID": 12,
"customerRepID": 7,
"startUtc": "2026-12-08T09:00:00Z",
"ticketID": 48213,
"endUserID": 9051,
"contactPhone": "+32 470 00 00 00"
}
201 Created
Location: /api/Appointments/5120
{
"appointmentID": 5120,
"appointmentTypeID": 12,
"customerRepID": 7,
"endUserID": 9051,
"ticketID": 48213,
"startUtc": "2026-12-08T09:00:00Z",
"endUtc": "2026-12-08T09:30:00Z",
"prepMinutes": 5,
"postMinutes": 10,
"status": "Held",
"operation": null,
"scheduleVersion": 1,
"statusChangedUtc": "2026-12-01T10:14:07Z",
"holdExpiresUtc": "2026-12-01T10:19:07Z",
"holdSecondsLeft": 300,
"contactPhone": "+32470000000",
"direction": "RepCalls",
"onlineMeetingUrl": null,
"createdByCustomerRepID": 7,
"createdBySource": "Rep",
"travelToMinutes": 0,
"travelFromMinutes": 0,
"events": [],
"appointmentTypeName": "Intake call",
"appointmentTypeKind": "Phone",
"customerRepName": "Sam Peeters",
"customerRepTimeZone": "Romance Standard Time",
"endUserName": "Lena Janssens",
...
} POST /api/Appointments/5120/confirm
Authorization: Bearer <token>
200 OK
{
"appointmentID": 5120,
"status": "Confirmed",
"holdExpiresUtc": null,
"holdSecondsLeft": null,
"events": [
{ "appointmentEventID": 880, "role": "Prep", "mailbox": "sam.peeters@example.com", "state": "Created", "appliedStartUtc": "2026-12-08T08:55:00Z", "appliedEndUtc": "2026-12-08T09:00:00Z", "attemptCount": 1, ... },
{ "appointmentEventID": 881, "role": "Main", "state": "Created", "appliedStartUtc": "2026-12-08T09:00:00Z", "appliedEndUtc": "2026-12-08T09:30:00Z", ... },
{ "appointmentEventID": 882, "role": "Post", "state": "Created", "appliedStartUtc": "2026-12-08T09:30:00Z", "appliedEndUtc": "2026-12-08T09:40:00Z", ... }
],
...
} POST /api/Appointments/5120/reschedule
{ "startUtc": "2026-12-09T13:00:00Z" }
POST /api/Appointments/5120/reassign
{ "customerRepID": 9 }
POST /api/Appointments/5120/cancel
{ "reason": "The customer cancelled by phone" }
409 Conflict
{
"error": "The appointment is Rescheduling with a running Reschedule operation; only cancel may interrupt it.",
"status": "Rescheduling",
"operation": "Reschedule"
} Held, Confirming, Confirmed, Rescheduling, Reassigning, Cancelling, Cancelled, Failed. The statuses ending in -ing show a calendar change that is still running; the answer can return one of them and AnswerPal finishes the change in the background. Read the appointment again later.Held appointment whose hold has not expired and whose start has not passed.startUtc (required). The duration and buffers stay as booked.customerRepID (required): another active representative of the type’s pool; startUtc (optional, default the current start).reason (max 512; default Cancelled by the rep). A hold with nothing in the calendar is released without notice. Cancel is the only change that may interrupt a running one.409 with error, status and operation.onlineMeetingUrl. A move updates the events, a reassign moves them to the other representative, a cancel removes them. When the representative deletes the event in Outlook, the appointment is cancelled.A request records on a ticket that an appointment is wanted, for when it cannot be booked right away, for example when the AI cannot tell which end user is calling. Statuses: Open, Booked (a hold named it) and Dismissed. When that hold is released or expires, the request is Open again.
ticketID, appointmentTypeID (integer, required)requestedStartUtc, requestedEndUtc (date-time, both or neither)givenName (max 200), givenPhone (max 50)candidateEndUserIDs (array, at most 50)notes (max 1,024)The response adds appointmentRequestID, status, appointmentID, createdUtc, createdBySource, createdByCustomerRepID, resolvedUtc and resolvedByCustomerRepID. Recording a request also writes a line in the ticket’s timeline.
POST /api/Appointments/requests
Authorization: Bearer <token>
Content-Type: application/json
{
"ticketID": 48213,
"appointmentTypeID": 12,
"requestedStartUtc": "2026-12-10T08:00:00Z",
"requestedEndUtc": "2026-12-10T10:00:00Z",
"givenName": "Lena Janssens",
"givenPhone": "+32 470 00 00 00",
"candidateEndUserIDs": [9051, 9077],
"notes": "Prefers mornings"
} 201 Created
Location: /api/Appointments/requests?ticketId=48213
{
"appointmentRequestID": 301,
"ticketID": 48213,
"appointmentTypeID": 12,
"requestedStartUtc": "2026-12-10T08:00:00Z",
"requestedEndUtc": "2026-12-10T10:00:00Z",
"givenName": "Lena Janssens",
"givenPhone": "+32 470 00 00 00",
"candidateEndUserIDs": [9051, 9077],
"notes": "Prefers mornings",
"status": "Open",
"appointmentID": null,
"createdUtc": "2026-12-01T10:20:00Z",
"createdBySource": "Rep",
"createdByCustomerRepID": 7,
"resolvedUtc": null,
"resolvedByCustomerRepID": null
} name (string, required, max 100)kind (required)Phone (a call), OnSite (a visit) or Online (a Teams meeting through the representative’s linked calendar).directionRepCalls (default) or EndUserCalls.locationMode, locationAddressAtEndUser (default, the end user’s address) or AtCustomerAddress with a complete locationAddress (max 400).durationMinutes (above 0), prepMinutes, postMinutes (0 or more)slotGranularityMinutes (default 15)minLeadMinutes, minDaysAhead, horizonDays (default 30)preferredRepMaxWaitDays (integer or null)proposeOnlyHoldMinutes (default 15), isActive (default true), sortOrder, whatsAppAllowed (notifications may use WhatsApp)repPool (required, at least one)[{ "customerRepID": 7, "useOwnHours": false }]: active representatives; for online types each needs a linked calendar. useOwnHours gives the representative separate hours for this type.A PUT replaces the type; omitted fields take the defaults above. Removing a representative from the pool, or setting useOwnHours to false, removes their own hours for this type. The response adds appointmentTypeID and, per pool member, name and calendarEnabled. A type with appointments or requests cannot be deleted (409); set isActive to false instead.
POST /api/AppointmentTypes
Authorization: Bearer <token>
Content-Type: application/json
{
"name": "Home visit",
"kind": "OnSite",
"locationMode": "AtEndUser",
"durationMinutes": 60,
"prepMinutes": 0,
"postMinutes": 15,
"minLeadMinutes": 120,
"minDaysAhead": 1,
"horizonDays": 30,
"preferredRepMaxWaitDays": 7,
"slotGranularityMinutes": 30,
"proposeOnlyHoldMinutes": 15,
"isActive": true,
"sortOrder": 2,
"whatsAppAllowed": false,
"repPool": [
{ "customerRepID": 7, "useOwnHours": false },
{ "customerRepID": 9, "useOwnHours": true }
]
} 201 Created
Location: /api/AppointmentTypes/14
{
"appointmentTypeID": 14,
"name": "Home visit",
"kind": "OnSite",
"direction": null,
"locationMode": "AtEndUser",
"locationAddress": null,
"durationMinutes": 60,
"prepMinutes": 0,
"postMinutes": 15,
"slotGranularityMinutes": 30,
"horizonDays": 30,
"isActive": true,
"repPool": [
{ "customerRepID": 9, "name": "Ann Maes", "useOwnHours": true, "calendarEnabled": true },
{ "customerRepID": 7, "name": "Sam Peeters", "useOwnHours": false, "calendarEnabled": true }
],
...
} GET /api/Appointments/types
Authorization: Bearer <token>
200 OK
[
{
"appointmentTypeID": 12,
"name": "Intake call",
"kind": "Phone",
"direction": "RepCalls",
"durationMinutes": 30,
"prepMinutes": 5,
"postMinutes": 10,
"horizonDays": 30,
"sortOrder": 1,
"proposeOnlyHoldMinutes": 15,
"locationMode": null,
"locationAddress": null,
"isActive": true,
"reps": [ { "customerRepID": 7, "name": "Sam Peeters", "timeZone": "Romance Standard Time" } ]
}
] kind (required)Confirmation, Reminder, Changed or Cancelled.channel (required)Email, Sms or WhatsApp.language (required)reminderOffsetMinutes1440 for a day).subject (max 500)body (required)isActive (default true); the response adds appointmentNotificationTemplateID and updatedUtc.PUT takes { "templates": [ ... ] } and replaces the whole set; an empty list removes every text. One text per kind, channel, language and reminder offset. Validation errors answer 400 with { "message": "..." }. The default set has Dutch, French and English texts for every kind and channel, with one reminder a day before.
{{Appointment.Date}} (written out in the text’s language), {{Appointment.Time}} (HH:mm - HH:mm), {{Appointment.TimeZone}}, {{Appointment.Start}}, {{Appointment.End}}, {{Appointment.TypeName}}, {{Appointment.Kind}}, {{Appointment.Direction}}, {{Appointment.RepName}}, {{Appointment.RepPhone}}, {{Appointment.ContactPhone}}, {{Appointment.OnlineMeetingUrl}}, {{Appointment.Location}}, {{Appointment.HeldUntil}}, {{Appointment.Source}}, {{Appointment.Status}}, plus the ticket placeholders such as {{EndUser.Firstname}}. A line whose only placeholder is an empty meeting link or location is left out.
Blocked, the reason is added to the appointment’s warning and a note is placed on the ticket. An appointment without a ticket sends nothing.appointmentNotificationID, appointmentID, kind, channel (null when blocked), recipient (address or number), language, reminderOffsetMinutes, dueUtc, scheduleVersion, status (Scheduled, Claimed, Sent, SendUncertain, Failed, Blocked or Withdrawn), attemptCount, sentUtc, lastError and ticketMessageID.
PUT /api/AppointmentTypes/14/notification-templates
Authorization: Bearer <token>
Content-Type: application/json
{
"templates": [
{
"kind": "Confirmation", "channel": "Email", "language": "en",
"subject": "Your appointment on {{Appointment.Date}} is confirmed",
"body": "Dear {{EndUser.Firstname}},\n\nSee you on {{Appointment.Date}} at {{Appointment.Time}} ({{Appointment.TimeZone}}).\nAddress: {{Appointment.Location}}\n\nKind regards",
"isActive": true
},
{
"kind": "Reminder", "channel": "Sms", "language": "en", "reminderOffsetMinutes": 1440,
"body": "Reminder: {{Appointment.TypeName}} on {{Appointment.Date}} at {{Appointment.Time}}.",
"isActive": true
}
]
}
200 OK
[
{ "appointmentNotificationTemplateID": 7701, "kind": "Confirmation", "channel": "Email", "language": "en", "reminderOffsetMinutes": null, "subject": "...", "body": "...", "isActive": true, "updatedUtc": "2026-12-01T10:30:00Z" },
{ "appointmentNotificationTemplateID": 7702, "kind": "Reminder", "channel": "Sms", "language": "en", "reminderOffsetMinutes": 1440, "subject": null, "body": "...", "isActive": true, "updatedUtc": "2026-12-01T10:30:00Z" }
] GET /api/Appointments/5120/notifications
Authorization: Bearer <token>
200 OK
[
{ "appointmentNotificationID": 4410, "appointmentID": 5120, "kind": "Confirmation", "channel": "Email", "recipient": "lena.janssens@example.com", "language": "nl", "reminderOffsetMinutes": null, "dueUtc": "2026-12-01T10:15:02Z", "scheduleVersion": 1, "status": "Sent", "attemptCount": 1, "sentUtc": "2026-12-01T10:15:40Z", "lastError": null, "ticketMessageID": 991203 },
{ "appointmentNotificationID": 4411, "appointmentID": 5120, "kind": "Reminder", "channel": "Email", "recipient": "lena.janssens@example.com", "language": "nl", "reminderOffsetMinutes": 1440, "dueUtc": "2026-12-07T09:00:00Z", "scheduleVersion": 1, "status": "Scheduled", "attemptCount": 0, "sentUtc": null, "lastError": null, "ticketMessageID": null }
] general{ "dayOfWeek": 1, "startTime": "09:00", "endTime": "12:00" }: dayOfWeek 0 (Sunday) to 6 (Saturday), times HH:mm in the representative’s time zone, start before end. Blocks on one day may touch but not overlap.typesappointmentTypeID, useOwnHours and hours (blocks; only with useOwnHours). Own hours replace the general hours for that type, also when empty (then the type cannot be booked at this representative). The response adds name, kind, isActive and effectiveHours (the hours that apply).PUT replaces everything; a type you leave out uses the general hours. The response holds customerRepID, timeZone, general and types.Reads the working hours from the representative’s Outlook and converts them to the representative’s time zone, as a proposal: mailbox, outlookTimeZone, repTimeZone, converted, proposal (blocks) and warnings. Check the proposal before saving it with PUT .../bookable-hours: Outlook’s per-day work hours and locations are not part of it. Without a linked calendar: 400. When Outlook cannot be read: 502.
For one representative and period (at most 31 days): bookableBlocks (the type’s hours with appointmentTypeId, else the general hours), outlookWorkingHours, busy (busy times only, no details), appointments (with type, end user, status, buffers and address), plus calendarEnabled, notInPool, calendarError, outlookWorkingHoursError and warnings. Every interval has startUtc, endUtc, startLocal and endLocal.
customerRepID, calendarEnabled, mailbox, calendarLastError, calendarLastErrorAt, subscriptionActive, subscriptionExpiresUtc, subscriptionError, subscriptionErrorAt, lastReconciledUtc (the last daily comparison with Outlook), upcomingAppointments, upcomingAppointmentsInOtherMailbox and otherMailboxes. The calendar link itself is set on the representative (calendarEnabled and calendarMailbox, see the Representatives endpoints); it needs a Microsoft 365 e-mail setup of the account.
PUT /api/CustomerReps/7/bookable-hours
Authorization: Bearer <token>
Content-Type: application/json
{
"general": [
{ "dayOfWeek": 1, "startTime": "09:00", "endTime": "12:00" },
{ "dayOfWeek": 1, "startTime": "13:00", "endTime": "17:00" },
{ "dayOfWeek": 3, "startTime": "09:00", "endTime": "12:30" }
],
"types": [
{ "appointmentTypeID": 14, "useOwnHours": true, "hours": [ { "dayOfWeek": 2, "startTime": "08:30", "endTime": "16:00" } ] }
]
}
200 OK
{
"customerRepID": 7,
"timeZone": "Romance Standard Time",
"general": [ ... ],
"types": [
{ "appointmentTypeID": 12, "name": "Intake call", "kind": "Phone", "isActive": true, "useOwnHours": false, "hours": [], "effectiveHours": [ ...general... ] },
{ "appointmentTypeID": 14, "name": "Home visit", "kind": "OnSite", "isActive": true, "useOwnHours": true, "hours": [ { "dayOfWeek": 2, "startTime": "08:30", "endTime": "16:00" } ], "effectiveHours": [ { "dayOfWeek": 2, "startTime": "08:30", "endTime": "16:00" } ] }
]
} GET /api/CustomerReps/7/agenda?from=2026-12-07T00:00:00Z&to=2026-12-14T00:00:00Z
Authorization: Bearer <token>
200 OK
{
"customerRepID": 7,
"name": "Sam Peeters",
"timeZone": "Romance Standard Time",
"calendarEnabled": true,
"fromUtc": "2026-12-07T00:00:00Z",
"toUtc": "2026-12-14T00:00:00Z",
"appointmentTypeID": null,
"notInPool": false,
"bookableBlocks": [ { "startUtc": "2026-12-07T08:00:00Z", "endUtc": "2026-12-07T11:00:00Z", "startLocal": "2026-12-07T09:00:00", "endLocal": "2026-12-07T12:00:00" } ],
"outlookWorkingHours": [ ... ],
"busy": [ { "startUtc": "2026-12-07T12:00:00Z", "endUtc": "2026-12-07T13:00:00Z", "startLocal": "2026-12-07T13:00:00", "endLocal": "2026-12-07T14:00:00" } ],
"appointments": [ { "appointmentID": 5120, "ticketID": 48213, "appointmentTypeName": "Intake call", "endUserName": "Lena Janssens", "status": "Confirmed", "startUtc": "2026-12-08T09:00:00Z", "endUtc": "2026-12-08T09:30:00Z", ... } ],
"calendarError": null,
"outlookWorkingHoursError": null,
"warnings": []
} GET /api/CustomerReps/7/calendar-status
Authorization: Bearer <token>
200 OK
{
"customerRepID": 7,
"calendarEnabled": true,
"mailbox": "sam.peeters@example.com",
"calendarLastError": null,
"calendarLastErrorAt": null,
"subscriptionExpiresUtc": "2026-12-04T08:00:00Z",
"subscriptionActive": true,
"subscriptionError": null,
"subscriptionErrorAt": null,
"lastReconciledUtc": "2026-12-01T03:12:44Z",
"upcomingAppointments": 4,
"upcomingAppointmentsInOtherMailbox": 0,
"otherMailboxes": []
} The ticket’s sender (address or number) is compared with the identifiers of the account’s end users. The answer holds ticketID, identity, identityType (Email, Phone or Channel), identityUsable (false for a withheld number or a chat visitor), channelType, resolution (None, Single or Multiple), selectedEndUserID (only for Single), candidates (endUserID, name, company, email, phone, address) and openRequestCount.
messageID, ticketID, meetingMessageType (Request or Cancelled), startUtc, endUtc, previousStartUtc, previousEndUtc, isAllDay, isRecurring, eventScope, recurrence, location, onlineMeetingUrl, organizerName, organizerAddress, mailboxAddress (the channel mailbox that answers), responseRequested.response (Accepted, TentativelyAccepted or Declined, when answered from AnswerPal), responseComment, respondedUtc, respondedByName, calendarResponse (the answer in the calendar, also when given in Outlook), isCancelled, isOutOfDate, canRespond, cannotRespondReason (NotOffice365, CalendarAccessDenied, Cancelled, OutOfDate or EventNotFound), liveState (Live or Stored), conflicts (up to 5 overlapping items in the mailbox’s calendar), newerMessageID, newerTicketID, newerMessageInaccessible, isOnlyIncomingMessage.response (required): accept, tentative or decline; comment (optional, max 2,000). The answer is given in the channel mailbox’s calendar, as in Outlook. A reply mail goes to the organizer only when the organizer asked for responses; otherwise the comment is not sent. Answering needs a Microsoft 365 e-mail channel.{ "code": "InvalidResponse" | "CommentTooLong", "message": "..." }; 409 with code set to one of the reasons above or Busy (another answer is being sent), plus the current meeting; 502 GraphError or GraphTimeout when Microsoft 365 refused or did not answer in time.GET /api/Tickets/48213/appointment-contacts
Authorization: Bearer <token>
200 OK
{
"ticketID": 48213,
"identity": "+32470000000",
"identityType": "Phone",
"identityUsable": true,
"channelType": "Phone",
"resolution": "Single",
"selectedEndUserID": 9051,
"candidates": [
{ "endUserID": 9051, "name": "Lena Janssens", "company": "Example BV", "email": "lena.janssens@example.com", "phone": "+32470000000", "address": "Markt 1, 8000 Brugge" }
],
"openRequestCount": 0
} GET /api/ticketmessages/991500/meeting
Authorization: Bearer <token>
200 OK
{
"messageID": 991500,
"ticketID": 48250,
"meetingMessageType": "Request",
"startUtc": "2026-12-03T13:00:00Z",
"endUtc": "2026-12-03T14:00:00Z",
"isAllDay": false,
"isRecurring": false,
"eventScope": "singleInstance",
"location": "Microsoft Teams Meeting",
"onlineMeetingUrl": "https://teams.example.com/l/meetup-join/abc",
"organizerName": "Jan De Smet",
"organizerAddress": "jan.desmet@example.com",
"mailboxAddress": "support@example.com",
"responseRequested": true,
"response": null,
"calendarResponse": null,
"canRespond": true,
"cannotRespondReason": null,
"liveState": "Live",
"conflicts": [ { "subject": null, "startUtc": "2026-12-03T13:30:00Z", "endUtc": "2026-12-03T14:30:00Z", "isAllDay": false, "showAs": "busy" } ],
...
} POST /api/ticketmessages/991500/meeting/respond
Authorization: Bearer <token>
Content-Type: application/json
{
"response": "accept",
"comment": "See you then."
}
200 OK
{
"messageID": 991500,
"response": "Accepted",
"responseComment": "See you then.",
"respondedUtc": "2026-12-01T10:40:12Z",
"respondedByName": "Sam Peeters",
"calendarResponse": "Accepted",
...
} Every endpoint needs a bearer token. Appointments, requests, notifications, ticket contacts and meeting invitations follow the ticket: a RestrictedUser reaches the tickets assigned to them, an Agent also unassigned tickets, a Supervisor, Configurator or Administrator every ticket of the account; Analyst has no access. An appointment without a ticket counts as assigned to its representative. Appointment types and notification texts are for an Administrator. The access line of each endpoint above is the reference; the in-text notes on bookable hours, agenda and needs-reassignment add the checks made per representative.
200 OK, 201 Created, 204 No ContentConfirming, Rescheduling, Reassigning, Cancelling) while the calendar is updated.400 Bad Request{ "error": "..." } (notification texts use { "message": "..." }, meeting answers { "code", "message" }): a missing required value, a time that cannot be booked or lies in the past, a representative outside the pool, an incomplete address, overlapping hours.401 Unauthorized, 403 Forbidden404 Not Found{ "error": "..." }.409 Conflict502 Bad GatewayLook at unavailableReason and calendarError in the availability answer: the representative may be outside the pool, have no bookable hours for the type, have a calendar that cannot be read, or the period may fall outside the type's lead time and horizon.
No. The end user gets the notification texts (confirmation, reminders, changes, cancellation) by e-mail, WhatsApp or SMS. Only the representative's calendar gets an event; for online types it holds the Teams meeting whose link is in onlineMeetingUrl and in {{Appointment.OnlineMeetingUrl}}.
It expires after 5 minutes (or the type's propose-only time) and becomes Cancelled with reason Hold expired. Nobody is informed and a linked request is open again.
AnswerPal: AI-powered customer service solutions to elevate your support and communication effortlessly.
For all support, sales, and partnership inquiries, email us at info@answerpal.eu
AnswerPal
Bisschoppenhoflaan 380
2100 Antwerp
Belgium
+32.36416685
BE 0862.692.858