POST/projects/api/v3/calendars/primary/events.json
Create a new calendar event.
Add a new Event.
Body Params
Request contains information of a event to be created or updated.
- Name
event- Type
- object
- Description
- CalendarEvent contains all the information when modifying an event. Create spec: https://github.com/Teamwork/calendar-api-spec/blob/6eabeaeb7d3a0c5eaf6ef38a1541c07286f26cee/calendar.yaml#L422-L542 Update spec: https://github.com/Teamwork/calendar-api-spec/blob/6eabeaeb7d3a0c5eaf6ef38a1541c07286f26cee/calendar.yaml#L543-L643
Responses
- Code
- 201
- Type
- object
- Schema
- Description
- 201 Created
Response contains information about a specific event.
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 403
- Type
- object
- Schema
- Description
- 403 Forbidden
ErrorResponse defines how []Error should be marshaled to JSON.
201 Created
Response
{ "event": { "allDay": true, "attendees": [ { "canEdit": true, "isSelf": true, "reminders": [ { "method": "string", "minute": 0 } ], "status": "string", "user": { "email": "string", "fullName": "string", "user": {