Accept an invitation (public)
POST/api/invitations/accept
PUBLIC, pre-auth. Accepts a pending invitation: resolves/creates the global account by email (existing → joins as a new membership, password ignored; new → name + password required) and creates the membership user in the tenant. The tenant is bound from the link's slug. On success the SPA proceeds to login.
Request
Responses
- 200
- 404
- 409
- 410
- 422
- 429
Accepted.
Resource not found (or not visible to the current tenant).
The request conflicts with the current state of the resource.
The invitation has expired.
The request failed validation.
Rate limit exceeded.
Response Headers
X-RateLimit-Limit
Request quota for the current window.
X-RateLimit-Remaining
Remaining requests in the current window.
Retry-After
Seconds to wait before retrying.