> For the complete documentation index, see [llms.txt](https://docs.hos.accessacloud.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hos.accessacloud.com/atreemo-api/api-reference/atreemo-api-reference/add-to-my-calendar.md).

# Add To My Calendar

Api Methods for AddToMyCalendar

## AddToMyCalendar

> Creates a calendar invitation from the supplied event details and sends it by email. This operation has external side effects; do not use it as a connectivity check or retry it blindly. Inspect Response and Error in the operation-specific result.

```json
{"openapi":"3.0.3","info":{"title":"Atreemo API","version":"0.1.0"},"tags":[{"name":"AddToMyCalendar","description":"Api Methods for AddToMyCalendar"}],"servers":[{"url":"https://apim-hospitality-dev-uksouth.azure-api.net/atreemo-api","description":"Local DEV APIM import draft only; not a deployed endpoint announcement."}],"security":[{"AtreemoBearer":[]}],"components":{"securitySchemes":{"AtreemoBearer":{"type":"http","scheme":"bearer","description":"Atreemo access token obtained by the caller from the Atreemo instance `POST /token` endpoint (OAuth2 password grant) and sent as `Authorization: Bearer <token>`. See the Authorisation guide."}},"schemas":{"CalendarEvent":{"type":"object","nullable":true,"properties":{"EventID":{"type":"integer","format":"int32"},"MeetingID":{"type":"integer","format":"int32"},"SlotID":{"type":"integer","format":"int32"},"CtcID":{"type":"integer","format":"int32"},"UserID":{"type":"integer","format":"int32"},"StartDate":{"type":"string","format":"date-time"},"EndDate":{"type":"string","format":"date-time"},"EventName":{"type":"string","nullable":true},"Location":{"type":"string","nullable":true},"ContactEmail":{"type":"string","nullable":true},"GoogleAccessToken":{"type":"string","nullable":true},"UserTZOfSet":{"type":"string","nullable":true,"description":"Used as the suffix of the Google calendar date-time format; the synthetic example uses +00:00. This does not establish a universal Atreemo time-zone convention."}},"description":"Source-backed JSON members, including inheritance and JSON naming/ignore attributes. No property is required solely because its CLR value type is non-nullable. Runtime and deployment alignment are unverified."},"CalendarEventOutput":{"type":"object","nullable":true,"properties":{"CalendarEvent":{"allOf":[{"$ref":"#/components/schemas/CalendarEvent"}]},"Response":{"type":"boolean"},"Error":{"type":"array","items":{"type":"string","nullable":true},"nullable":true}},"description":"Source-backed JSON members, including inheritance and JSON naming/ignore attributes. No property is required solely because its CLR value type is non-nullable. Runtime and deployment alignment are unverified."}}},"paths":{"/api/AddToMyCalendar/AddToMyCalendar":{"post":{"operationId":"AddToMyCalendarAddToMyCalendar","summary":"AddToMyCalendar","tags":["AddToMyCalendar"],"description":"Creates a calendar invitation from the supplied event details and sends it by email. This operation has external side effects; do not use it as a connectivity check or retry it blindly. Inspect Response and Error in the operation-specific result.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarEvent"}}}},"responses":{"200":{"description":"OK (sample status in the public collection).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarEventOutput"}}}}}}}}}
```

## AddToMyGoogleCalendar

> Adds the supplied event or meeting to Google Calendar using the configured Google integration and the action's event/meeting branches. The source formats dates using UserTZOfSet. Calendar creation is a side effect; neither Google provisioning nor a successful external write is established by this draft.

```json
{"openapi":"3.0.3","info":{"title":"Atreemo API","version":"0.1.0"},"tags":[{"name":"AddToMyCalendar","description":"Api Methods for AddToMyCalendar"}],"servers":[{"url":"https://apim-hospitality-dev-uksouth.azure-api.net/atreemo-api","description":"Local DEV APIM import draft only; not a deployed endpoint announcement."}],"security":[{"AtreemoBearer":[]}],"components":{"securitySchemes":{"AtreemoBearer":{"type":"http","scheme":"bearer","description":"Atreemo access token obtained by the caller from the Atreemo instance `POST /token` endpoint (OAuth2 password grant) and sent as `Authorization: Bearer <token>`. See the Authorisation guide."}},"schemas":{"CalendarEvent":{"type":"object","nullable":true,"properties":{"EventID":{"type":"integer","format":"int32"},"MeetingID":{"type":"integer","format":"int32"},"SlotID":{"type":"integer","format":"int32"},"CtcID":{"type":"integer","format":"int32"},"UserID":{"type":"integer","format":"int32"},"StartDate":{"type":"string","format":"date-time"},"EndDate":{"type":"string","format":"date-time"},"EventName":{"type":"string","nullable":true},"Location":{"type":"string","nullable":true},"ContactEmail":{"type":"string","nullable":true},"GoogleAccessToken":{"type":"string","nullable":true},"UserTZOfSet":{"type":"string","nullable":true,"description":"Used as the suffix of the Google calendar date-time format; the synthetic example uses +00:00. This does not establish a universal Atreemo time-zone convention."}},"description":"Source-backed JSON members, including inheritance and JSON naming/ignore attributes. No property is required solely because its CLR value type is non-nullable. Runtime and deployment alignment are unverified."},"CalendarEventOutput":{"type":"object","nullable":true,"properties":{"CalendarEvent":{"allOf":[{"$ref":"#/components/schemas/CalendarEvent"}]},"Response":{"type":"boolean"},"Error":{"type":"array","items":{"type":"string","nullable":true},"nullable":true}},"description":"Source-backed JSON members, including inheritance and JSON naming/ignore attributes. No property is required solely because its CLR value type is non-nullable. Runtime and deployment alignment are unverified."}}},"paths":{"/api/AddToMyCalendar/AddToMyGoogleCalendar":{"post":{"operationId":"AddToMyCalendarAddToMyGoogleCalendar","summary":"AddToMyGoogleCalendar","tags":["AddToMyCalendar"],"description":"Adds the supplied event or meeting to Google Calendar using the configured Google integration and the action's event/meeting branches. The source formats dates using UserTZOfSet. Calendar creation is a side effect; neither Google provisioning nor a successful external write is established by this draft.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarEvent"}}}},"responses":{"200":{"description":"OK (sample status in the public collection).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarEventOutput"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.hos.accessacloud.com/atreemo-api/api-reference/atreemo-api-reference/add-to-my-calendar.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
