Accept sharing request
POST/v1/sharing-requests/:requestId/accept
Accepts the invitation. This triggers the 'join' workflow, adds the user to the group, and may send notifications.
A QR-code request (one created without a username) is accepted the same way by whoever scanned it, since no recipient was named up front. The sharer who created it cannot accept their own request.
Request
Responses
- 200
- 400
- 404
- 410
- 500
Request accepted successfully
Bad request
Not found - the resource does not exist, or the feature is not enabled on this deployment. For username lookups the message is deliberately generic — it does not reveal whether an address is registered.
The sharing request has expired — 24 hours after creation for a named invitee, 7 days for a QR-code request
Internal server error