문서로 건너뛰기
API

초대에 응답

초대를 수락, 거절 또는 잠정 수락하고 주최자에게 알립니다.

POST/calendar/events/{id}/respond

워크스페이스에 실제 호출을 실행합니다.

POST /calendar/events/{id}/respond

초대를 수락, 거절 또는 잠정 수락하고 주최자에게 알립니다.

예시

calendar:write와 emails:send가 필요합니다. response는 ACCEPTED, DECLINED 또는 TENTATIVE입니다.

curl
curl -X POST "$OE/calendar/events/cal_7b2e4d9a1c6f30e85d2a7b41/respond" -H "$AUTH" -H 'content-type: application/json' -d '{ "response": "ACCEPTED" }'
응답
{  "object": "calendar_event",  "id": "cal_7b2e4d9a1c6f30e85d2a7b41",  "summary": "Quarterly review",  "organizer": { "email": "[email protected]", "name": "Lin" },  "isOrganizer": false,  "attendees": [    {      "object": "calendar_attendee",      "email": "[email protected]",      "name": null,      "partstat": "ACCEPTED",      "role": "REQ-PARTICIPANT",      "rsvp": true,      "cutype": null,      "respondedAt": "2026-10-02T14:20:05.000Z"    }  ]}

응답은 키가 보낼 수 있는 초대된 주소에서 이메일로 나갑니다. 초대가 내 주소 여러 개로 왔다면 respondingAs로 하나를 고르며, 그중 어느 것도 초대하지 않은 일정은 403 not_invited입니다.

취소된 회의는 409 event_cancelled이며, 주최자에게 연락할 수 없으면 아무것도 바뀌지 않고 호출은 409 reply_not_sent입니다.

레퍼런스