- APIs
- API Reference
- Appointment
-
Overview
-
API Reference
- Appointment
- Quotes
- Invoices
- Payments
- Clients
- Client Forms
- Client Documents
- Client Notes
- Client Alerts
- Client Allergies
- Client Communications
- Leads
- Services
- Products
- Packages
- Schedules
- Marketing Sources
- Resources
- Settings
- Tax
- Locations
- Users
- Discounts
- Gift Vouchers
- Labels
- Rooms
- Equipment
- Reports
- Cancellation Policy
- Medical Conditions
- Drugs
- Forms
-
Timesheets
-
Webhooks
Create appointment
Creates appointment
/appointments/create
https://api.oauth.pabau.com/{api_key}/appointments/create
Request
Query Parameters: | |
api_key * | |
employee_id * | System ID of the user |
service_id * | System ID of the service |
location_id * | System ID of the location |
contact_id * | System ID of the contact |
start_time * | Date (d-m-Y H:i) |
end_time | Date (d-m-Y H:i) - if not sent it will take the service duration |
title | String |
sent_survey | Int - 1 for true (enabled), 0 for false (disabled) |
sent_email_reminder
|
Int - 1 for true (enabled), 0 for false (disabled) |
sent_sms | int - 1 to send the SMS confirmation, 0 not to send |
sent_email | int - 1 to send the email confirmation, 0 not to send |
Response sample
application/json
{
"success": true,
"message": "Appointment created successfully"
}