GET, POST
/api/public/v1/appointments
BetaList 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
| Name | In | Required | Description |
|---|---|---|---|
| from, to | query | false | Date range (ISO). Default: 31 days back to 62 days ahead; 400 days at most. |
| status | query | false | Comma-separated: PENDING, CONFIRMED, COMPLETED, CANCELLED, NO_SHOW. |
| staffEmail, contactId | query | false | Only one team member's appointments, or one CRM contact's. |
| typeId, start, customer { name, email, phone } | body (POST) | true | Appointment 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"