Apollo API Documentation

Calendars API calls

Check the docs for the legacy version of the calendars API

List all calendars

GET /events/calendars?page=#{page}

Returns a list of all calendars of the workspace ordered alphabetically. The {page} parameter is optional. The root response element will also have a “continued-at” attribute specifying the path where the next 25 calendars can be retrieved.

Response

{
	"continued-at": "",
	"calendars":{
		{
			"id":"54904646",
			"name":"A Calendar",
			"color": "#FF0000",
			"created-by": "6447328282"
		},
		{
			"id":"43907176",
			"name":"Another calendar",
			"color": "#d2691e",
			"created-by": "869367284"
		},
		...
	}
}

Get calendar

GET /events/calendars/#{id}

Returns a single calendar record identified by its integer ID.

Response

{
	"calendar":{
		"id":"94832146",
		"name":"A calendar",
		"color": "#FF0000",
    	"created-by": "2483685239"
	}
}