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:

Value
Description

reference

The original reference for the invitation (as set on posting the invitation).

status

Either accepted or refused.

organization data

Data of the connected organization, as received in the connections endpoint.

Last updated