- URL:https://[root]/community/users/[userName]/invitations/[invitationID]/accept(POST only)
URL for Accept User Invitation
When a group owner or an administrator invites a user to their group, it results in a user invitation. The invited user accepts the invitation using the Accept Invitation operation (POST only). This operation adds the invited user to the group, and the invitation is deleted. This operation also creates a notification for the user indicating that the user's invitation was accepted. Available only to authenticated users.
|[Common Parameters]|| |
For a complete listing, see Common parameters.
Indicates if the operation was successful.
The ID of the accepted invitation.
The username of the user who accepted the invitation.
If the targetType of the invitation is "group," the groupId of the joined group is returned.
JSON Response Syntax
"success": true | false,
"groupId": "<group id>",
"id": "<invitation id>"
JSON Response Example