Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

DescriptionIntended UserURIMethodRequest ParametersRequest BodyResponse Body

Create an email membership invitation.

Send an email containing an invitation link to the invitee. The link will contain a serialized EmailMembershipInvitationId.

team administrator/emailMembershipInvitationPOSTportalEndpointEmailMembershipInvitationEmailMembershipInvitation
Retrieve a pending email membership invitation. The emailAddress field of the response body object will be null. authenticated user/emailMembershipInvitation/{id}GET----EmailMembershipInvitation
Retrieve all the pending email membership invitations from a Team.team administrator/team/{id}/emailMembershipInvitationsGETnextPageToken--EmailMembershipInvitationsResponse
Delete a pending email membership invitation.team administrator/emailMembershipInvitation/{id}DELETE------

Start the process of creating a new account, similarly to POST /account/emailValidation, but also the process of associating a membership invitation to the new account.

Send a 'validation email' message to the provided email address. The email will contain a link to complete the registration process.

The link will contain a serialized EmailValidationSignedToken (used for new account registration) and a serialized EmailMembershipInvitationId (used to create membership invitation).

Intended to be used in conjunction with POST /account.

public/emailMembershipInvitation/{id}/account/emailValidationPOSTportalEndpointNewUser--

Verify whether the authenticated user is the invitee of the indicated EmailMembershipInvitation.

If they are, the response body will contain an InviteeVerificationSignedToken.

If they are not, the response body will be null and an identity verification email containing a link will be sent to the address associated with the indicated EmailMembershipInvitation. The link will contain a serialized InviteeVerificationSignedToken.

authenticated user/emailMembershipInvitation/{id}/verificationPOSTportalEndpoint--InviteeVerificationSignedToken

Create a MembershipInvitation. The invitation is created from the team associated with the given email membership invitation to the currently authenticated user.

A valid InviteeVerificationSignedToken must have an inviteeId equal to the id of the authenticated user and an emailInvitationId equal to the id in the URI.

Doesn't send any email notifications.

authenticated user/emailMembershipInvitation/{id}/membershipInvitationPOST--


InviteeVerificationSignedTokenMembershipInvtnSubmission

Related services: POST /accountPOST /session

Statistics to track

Track what users create invitations, when they create them, and from what teams they create them.

Track how many invitations are accepted and when they are accepted.

Track how many invitees choose to register a new account and how many choose to sign in.

Implementation outline

Phase 1

I expect that in most cases, invitees will choose to sign in or register with the invited email address. I'll refer to this as the "happy" case.

In phase 1 I will implement use cases A, B, C1, D1 and E. These use cases represent the happy case.

Phase 2

There will be some invitees that want to sign in or register with a different email address. I expect that the number of users who choose this path will be low enough that this will be an edge case.

In phase 2 I will implement use cases C2 and D2. These use cases represent the edge case described above.

Related JIRA issues

Jira Legacy
serverSystem JIRA
serverIdba6fb084-9827-3160-8067-8ac7470f78b2
keyPLFM-2073

...