List appointments
/api/v1/ext/appointments
Appointments in a date window, filtered and paginated.
An appointment is included when it overlaps the window. Sorted by start time.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| workspace_id | query | number | yes | The workspace. |
| from | query | string | yes | Window start, ISO 8601. |
| to | query | string | yes | Window end, ISO 8601. At most 93 days after from. |
| calendar_id | query | string | no | One calendar id, or several comma-separated. |
| contact_id | query | number | no | Only this contact's appointments. |
| assignee_id | query | number | no | Only this team member. |
| status | query | enum | no | Default: everything except cancelled. "all" includes cancelled. Any other value is a 400. |
| page | query | number | no | Default 1. |
| limit | query | number | no | 1–100, default 50. Anything else is a 400. |
Responses
| Status | When |
|---|---|
200 | OK |
400 | Missing or bad window |
401 | Missing or invalid token |
403 | Missing scope |
404 | workspace_id does not exist or is not owned by the installer (same response for both) |
Response schema
appointmentobjectEach item in `data`
idnumberAppointment id.
700workspace_idnumberThe workspace it belongs to.
7calendar_idnumberThe calendar it is booked on.
5calendarobjectid, name and color of the calendar.
contactobjectThe contact: id, first_name, last_name, email, phone_number, company_name.
assigneeobjectThe team member it is assigned to: id and name.
titlestringAppointment title.
descriptionstringNotes for the appointment.
start_atstring (ISO 8601)Start time, UTC.
end_atstring (ISO 8601)End time, UTC.
timezonestringIANA timezone it was booked in.
Australia/Sydneystatusstring"confirmed", "cancelled", "no_show" or "completed".
confirmedsourcestringWhere it was booked: api (this API), dashboard, booking_page, agent, mcp …
location_textstringAddress or location note.
meeting_linkstringVideo meeting link.
reschedule_countnumberHow many times it has been moved.
cancelled_atstring (ISO 8601)When it was cancelled.
cancel_reasonstringReason given on cancel.
curl -X GET "https://backend.mysmsgateway.app/api/v1/ext/appointments" \
-H "Authorization: Bearer <ACCESS_TOKEN>"{
"success": true,
"data": [
{
"id": 700,
"workspace_id": 7,
"calendar_id": 5,
"calendar": {
"id": 5,
"name": "Sales calls",
"color": "#3b82f6"
},
"contact_id": 1234,
"contact": {
"id": 1234,
"first_name": "Ann",
"last_name": "Lee",
"email": "ann@example.com",
"phone_number": "+61412345678",
"company_name": "Lee Studio"
},
"assignee_id": null,
"assignee": null,
"title": "Intro call with Ann Lee",
"description": null,
"start_at": "2026-11-03T00:00:00.000Z",
"end_at": "2026-11-03T00:30:00.000Z",
"timezone": "Australia/Sydney",
"status": "confirmed",
"source": "dashboard",
"location_text": null,
"meeting_link": "https://meet.example.com/abc",
"reschedule_count": 0,
"cancelled_at": null,
"cancel_reason": null,
"created_at": "2026-10-27T09:00:00.000Z",
"updated_at": "2026-10-27T09:00:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 50,
"max_limit": 100,
"total": 1,
"total_pages": 1
}
}The workspace.
Window start, ISO 8601.
Window end, ISO 8601. At most 93 days after from.
One calendar id, or several comma-separated.
Only this contact's appointments.
Only this team member.
Default: everything except cancelled. "all" includes cancelled. Any other value is a 400.
Default 1.
1–100, default 50. Anything else is a 400.
« Free slots
Get appointment »
