Accept the invitation (after code verification); the invitee is enrolled as a member
POST/v1/public/invitations/:token/accept
Public, token-authenticated final step that accepts the invitation and enrolls the recipient as an active network member in the invited role. It resolves the invitee to a user record by the invited email (creating one if none exists) and keys the membership to it. Requires that the emailed code has already been verified, otherwise returns 409. The operation is idempotent for concurrent or repeated accepts and emits an invitation.accepted webhook to the network.
Request
Responses
- 200
- 401
- 403
- 404
- 409
Accepted; the recipient is now a member
Missing or invalid API key
The API key is not authorized for this resource
Token is invalid or the invitation does not exist
Not verified, the invitation is not pending, or the role is unsupported