See JSON representation of an event for information on defining an event in JSON format. When using JSON format, you must set the Content-Type header to application/json.
Alternatively, you can define the event in iCalendar format. See iCalendar representation of an event for more information. When using iCalendar format, you must set the Content-Type header to text/calendar.