Appointments

To Fetch Appointments

Get Appointments

GET https://app.appointo.me/api/appointments

Fetch Appointments

Query Parameters

NameTypeDescription

appointment_id

integer

to fetch single appointment

product_id

integer

to fetch appointments for product

Headers

NameTypeDescription

APPOINTO-TOKEN*

String

Appointo API token

[{
    id: 123,
    ...
}]

Get Availability for Appointment

GET https://app.appointo.me/api/appointments/:appointment_id/calendar_availability

Fetch Availability for the Appointment

Query Parameters

NameTypeDescription

start_date*

string

YYYY-MM-DD format. start date for availability

end_date

string

YYYY-MM-DD format. end date for availability

impersonated_tms

[integer]

To show availability for specific team members. Example: [123, 234]

Headers

NameTypeDescription

APPOINTO-TOKEN*

String

Appointo API token

[{
    id: 123,
    ...
}]

Upsert Appointment Config

PUT https://app.appointo.me/api/appointments/:appointment_id

Upsert Availability config and date overrides

Headers

NameTypeDescription

APPOINTO-TOKEN*

String

Appointo API token

Request payload
// Please make sure to send all date overrides in the following format
{
    "config": {
        "timezone": "America/New_York",
        "duration": "30",
        "minimum_notice": "240",
        "max_capacity": "10",
        "meeting_detail": "",
        "note": "",
        "interval": "30",
        "reminder_duration": "10",
        "send_reminder": true,
        "whatsapp_duration": "15",
        "send_whatsapp_reminder": false,
        "enable_max_events_per_day": false,
        "max_events_per_day": 1,
        "start_buffer_time": "0",
        "end_buffer_time": "0",
        "location_type": "null",
        "location_value": "",
        "allow_cancel": true,
        "allow_reschedule": true,
        "reschedule_duration": 10,
        "cancel_duration": 10,
        "date_range_type": "all",
        "tm_assign_rule": "random",
        "days_in_future": "1",
        "start_date_range": "2022-11-10",
        "end_date_range": "2022-11-10",
        "is_combo_service": false,
        "send_text_reminder": false,
        "text_duration": "0",
        "min_day_duration": "1",
        "max_day_duration": "1",
        "fixed_multi_day_price": true,
        "rem_group_slot_after_booking": false,
        "start_month": "2024-10-29",
        "color": "#51796B",
        "allow_waitlist": true,
        "email_label": "email",
        "name_label": "name",
        "phone_label": "phone",
        "show_phone": true
    },
    "override": [
        {
            "id": 511,
            "day": "2024-03-28",
            "slots": [
                {
                    "start_time": "09:00AM",
                    "end_time": "05:00PM"
                }
            ],
            "shop_id": 135,
            "appointment_id": 299,
            "day_available": true
        },
        {
            "day": "2024-03-29",
            "slots": [
                {
                    "start_time": "09:00AM",
                    "end_time": "05:00PM"
                }
            ],
            "day_available": true
        }
    ]
}
[{
    id: 123,
    ...
}]

Last updated