The API provides Call to Action (CTA) objects, which define the actions the current user is allowed to perform on a specific user invitation. Each CTA includes all the necessary argument values required to perform its respective action. The purpose of the action is determined by the actionId.

Available user invitation CTA types

  • ACCEPT_USER_INVITATION - allows execution of acceptUserInvitation mutation to add the invitation initiator to the current user’s network.
  • DECLINE_USER_INVITATION - indicates that declineUserInvitation mutation can be executed.
  • CANCEL_USER_INVITATION - represents that the current user can cancel the pending invitation by execution of cancelUserInvitation mutation.