GET, POST

/api/public/v1/appointments

Beta

List the organization's appointments, or book one. Booking runs the same availability and double-booking checks as the public booking page and sends the customer a confirmation with a calendar invite. Business and Enterprise plans.

Parameters

NameInRequiredDescription
from, toqueryfalseDate range (ISO). Default: 31 days back to 62 days ahead; 400 days at most.
statusqueryfalseComma-separated: PENDING, CONFIRMED, COMPLETED, CANCELLED, NO_SHOW.
staffEmail, contactIdqueryfalseOnly one team member's appointments, or one CRM contact's.
typeId, start, customer { name, email, phone }body (POST)trueAppointment type, start time (ISO, must be a free slot) and the customer. Optional: staffEmail, note, timeZone, answers.

Response

GET: { appointments[], from, to }. POST: { appointment, manageUrl }; 409 when the time is no longer free.

Example

curl -H "Authorization: Bearer $INAYA_API_KEY" \
  "https://app.inaya.network/api/public/v1/appointments"