# calendar_request_respond

Respond to an Incoming Calendar Request

## Beschreibung

Accept, tentatively accept or decline an incoming oona/email invitation. This sends a response. For Yes/Maybe choose a writable oona calendar owned by the invited person; an existing linked Google event is reused. Email requests require mailbox sending access and both features. Agents need the mailbox and destination calendar shared with the same authenticated workspace. If email-send confirmation is configured, returns a review URL without changing or sending anything.

## Zugriff

Zugriffsprofil: `gated`. Module: `calendar`.
Die Freigabe im Profil ersetzt keine Account-, Workspace- oder Rollenberechtigung.

## Parameter

| Name | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `account_id` | string | Ja |  |
| `request_id` | string | Ja |  |
| `calendar_id` | string | Nein |  |
| `response` | string | Ja |  |
| `expected_version` | integer | Ja |  |

## Eingabeschema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "account_id": {
      "type": "string"
    },
    "request_id": {
      "type": "string"
    },
    "calendar_id": {
      "type": "string"
    },
    "response": {
      "type": "string",
      "enum": [
        "accepted",
        "tentative",
        "declined"
      ]
    },
    "expected_version": {
      "type": "integer",
      "minimum": 0
    }
  },
  "required": [
    "account_id",
    "request_id",
    "response",
    "expected_version"
  ],
  "type": "object"
}
```

## Ausgabeschema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "request": {
      "type": "object"
    },
    "confirmation_required": {
      "type": "boolean"
    },
    "review_url": {
      "type": "string"
    }
  },
  "type": "object"
}
```
