> For the complete documentation index, see [llms.txt](https://developer.securecontainerrelease.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.securecontainerrelease.com/how-to/configure-event-notifications-and-webhooks/event-types./onacceptinvitation.md).

# onAcceptInvitation

The onAcceptInvitation event type serves to get a notification when an invitation has been accepted or refused.

When `onAcceptInvitation` event occurs, the callback will be invoked with the following data:

<table><thead><tr><th width="174">Value</th><th>Description</th></tr></thead><tbody><tr><td><code>reference</code></td><td>The original reference for the invitation <em>(as set on posting the invitation).</em></td></tr><tr><td><code>status</code></td><td>Either accepted or refused.</td></tr><tr><td>organization data</td><td>Data of the connected organization, as received in the connections endpoint.</td></tr></tbody></table>
