Getting upcoming events for your group

End Point

GET https://muzodo.com/api/v1/group/:group_api_key/events

Request Parameters

Path ParameterValue
group_api_keyYour group API Key found on your Group details page.

Optional Parameters

Optional parameters can be appended to the End Point to alter the API response, either to filter or request more information. e.g. GET https://muzodo.com/api/v1/group/:group_api_key/events?includeCustomFields=1

ParameterValue
includeCustomFields0 to exclude (default) or 1 to include.

Response Format

A successful request returns an HTTP Status Code of 200 OK and the body contains event details formatted as an array of JSON records. Records are sorted by Date, Start Time, Name. All times are local, as entered for the event.

Response Fields

FieldExampleDescription
GUID9C8F6C7E-B1A6-7674-5D0B-0EAEF1A3F32AThe globally unique identifier of the event.
NameMay Day ParadeName of the event.
Confirmed11 = Confirmed. 0 = Unconfirmed.
Cancelled01 = Cancelled. 0 = Not cancelled.
EventTypePUBLICPossible values: PUBLIC, PRIVATE, REHEARSAL, MEETING
Addresscnr W Hastings / Hornby StAddress of the event. This is populated only for PUBLIC events.
MapUrlhttp://googlemaps.com/{coords}Map URL, if given. Note this may be any URL. e.g. a Google Maps URL or a URL to a PDF or web page.
Date2022-04-01Date of the event.
FormattedDateFri 01 Apr 2022Friendly date format.
ArriveTime13:00:00Arrive time. If not filled in, has value: 00:00:00.
FormattedArriveTime1pmIf not filled in, has value: TBD
StartTime14:15:00Start time. If not filled in, has value: 00:00:00.
FormattedStartTime2:15pmIf not filled in, has value: TBD
PlayTime14:15:00DEPRECATED. Use Start time instead.
FormattedPlayTime2:15pmDEPRECATED. Use FormattedStartTime time instead.
EndTime17:00:00End time. If not filled in, has value: 00:00:00.
FormattedEndTime5pmIf not filled in, has value: TBD
CreateDateTime2016-12-20 22:04:02Date and time the event was created.
ArriveDateTime20220401T130000Arrive Date and Time concatenated (can be used for comparison purposes).
EndDateTime20220401T170000End Date and Time concatenated (can be used for comparison purposes).
CustomEventFieldsSee detailsJSON array of custom fields.

Example

[
	{
		"GUID":"9C8F6C7E-B1A6-7674-5D0B-0EAEF1A3F32A",
		"Name":"April Fools Day Parade",
		"Confirmed":"1",
		"Cancelled":"0",
		"EventType":"PUBLIC",
		"Address":"cnr W Hastings / Hornby St",
		"MapUrl":"",
		"Date":"2022-04-01",
		"FormattedDate":"Fri 01 Apr 2022",
		"ArriveTime":"13:00:00",
		"FormattedArriveTime":"1pm",
		"StartTime":"14:15:00",
		"FormattedStartTime":"2:15pm",
		"EndTime":"17:00:00",
		"FormattedEndTime":"5pm",
		"CreateDateTime":"2022-12-20 22:04:02",
		"ArriveDateTime":"20220401T130000",
		"EndDateTime":"20220401T170000",
		"CustomEventFields":[
			{"FieldName":"Confirm Date","FieldType":"DATE","FieldValue":"2022-03-31","AdminOnly":"0"},
			{"FieldName":"Ticket Price","FieldType":"FLOAT","FieldValue":"11.99","AdminOnly":"1"}
		]
		
	}
...
]