Create a new appointmentAsk AIpost https://api.oncallhealth.ca/appointments/Body ParamstitlestringrequiredThe title of the appointment.typestringrequiredThe type of appointment. Accepted values are ("online", "inperson", "phone", "message").participantsarray of objectsrequiredA list of participants to invite to the appointment. Maximum 25 participants per appointment.participants*ADD objectdurationint32requiredThe length of the appointment in minutes.divisionstringrequiredThe URL to the division in which to create this appointment. This will be https://api.oncallhealth.ca/divisions/{division_id}/.providerstringThe URL of the provider. This will be in the form of https://api.oncallhealth.ca/providers/{provider_id}/ and can be obtained using the Providers API. Defaults to the requesting user, so it is optional for providers, but not for coordinators.datetimedateISO8601 representation of the datetime when the appointment should be scheduled for. This field is required if "type" is one of ("online", "inperson", "phone").metadatajsonA freeform metadata object. Use this to attach your unique identifiers to an appointment.Response 201201Updated almost 5 years ago