Lists outstanding invitations for the current user.
Returns one entry per tenant the authenticated user has been invited to but has not yet accepted. Cross-tenant — covers invitations from any tenant. Expired and withdrawn invitations are excluded. Use this to drive an in-app "you've been invited" banner without requiring the user to find the invitation email.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Response Body
curl -X GET "https://api.fruxon.com/v1/me/pendingInvitations"[
{
"tenantId": "00000000-0000-0000-0000-000000000000",
"tenantSlug": "string",
"tenantDisplayName": "string",
"role": "ADMIN",
"invitedAt": 0
}
]{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Accepts an invitation using a ticket id from an invitation email.
Used by the email-link accept flow. Validates that the logged-in user's email matches the invitation, then activates membership in the ticket's tenant. Idempotent — succeeds silently if the user is already a member.
Accepts an outstanding invitation in-app, activating the user's membership.
Looks up the invitation for the authenticated user in the given tenant, creates the membership, and withdraws the invitation ticket. Idempotent — if the user is already a member of the tenant, returns 204 without error. Rejects with 400 if the invitation has expired.