List appointment types
Your appointment types with duration, price and the calendars that offer each one.
GET https://cotlet.dev/api/v1/acuity-scheduling/appointment-types
read
Returns the appointment types you offer, each with its ID, name, duration, price and the calendars that offer it. Use the IDs in the availability and booking calls.
Parameters
No parameters.
Request
curl https://cotlet.dev/api/v1/acuity-scheduling/appointment-types \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("acuity-scheduling", "list_appointment_types") const result = await cotlet.call('acuity-scheduling', 'list_appointment_types'); cotlet call acuity-scheduling list_appointment_types Example response
{
"appointment_types": [
{
"appointment_type_id": 5120043,
"name": "Initial consult",
"duration": 60,
"price": "90.00",
"calendars": [
{
"calendar_id": 27238,
"name": "Main"
}
]
},
{
"appointment_type_id": 5120051,
"name": "Follow-up",
"duration": 30,
"price": "45.00",
"calendars": [
{
"calendar_id": 27238,
"name": "Main"
},
{
"calendar_id": 27240,
"name": "Room 2"
}
]
}
]
}