Contact's appointments
GET
/api/v1/ext/contacts/{id}/appointments
Upcoming and past appointments of one contact.
Auth: Bearer access_token
Scope: appointments.read
upcoming is confirmed appointments that have not ended, soonest first. past is everything else, latest first. Up to 50 each.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | number | yes | Contact id. |
Responses
| Status | When |
|---|---|
200 | OK |
401 | Missing or invalid token |
403 | Missing scope |
404 | Contact does not exist or is not in a workspace of the installer |
RequestResponses
curl -X GET "https://backend.mysmsgateway.app/api/v1/ext/contacts/{id}/appointments" \
-H "Authorization: Bearer <ACCESS_TOKEN>"OK
{
"success": true,
"data": {
"contact_id": 1234,
"upcoming": [
{
"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"
}
],
"past": []
}
}Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters
Contact id.
Request URL
GEThttps://backend.mysmsgateway.app/api/v1/ext/contacts/%7Bid%7D/appointments
Previous
« Get appointment
Next
Book appointment »
