List calendars
GET
/api/v1/ext/calendars
A workspace's calendars, as on the myCRMSIM Calendar page.
Auth: Bearer access_token
Scope: appointments.read
Use a calendar id from here for Free slots and Book appointment.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| workspace_id | query | number | yes | The workspace. |
Responses
| Status | When |
|---|---|
200 | OK |
400 | workspace_id missing |
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
calendarobjectEach item in `data`
idnumberCalendar id — the calendar_id for booking.
Example:
5namestringCalendar name.
Example:
Sales callsdescriptionstringnullable
Calendar description.
colorstringnullable
Hex color on the Calendar page.
timezonestringnullable
The calendar's own timezone (from its availability).
slot_duration_minutesnumbernullable
Default appointment length.
location_typestringnullable
How the meeting happens (phone, in person, video …).
is_publicbooleanWhether it has a public booking page.
RequestResponses
curl -X GET "https://backend.mysmsgateway.app/api/v1/ext/calendars" \
-H "Authorization: Bearer <ACCESS_TOKEN>"OK
{
"success": true,
"data": [
{
"id": 5,
"name": "Sales calls",
"description": "A 30-minute intro call.",
"color": "#3b82f6",
"timezone": "Australia/Sydney",
"slot_duration_minutes": 30,
"location_type": "phone",
"location_text": null,
"is_public": true
}
]
}Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Query parameters
The workspace.
Request URL
GEThttps://backend.mysmsgateway.app/api/v1/ext/calendars
Previous
« List activities
Next
Free slots »
