Validate an invitation token
Returns whether the invitation is valid and, if so, basic user metadata for the onboarding screen.
GET /api/invitation/validate — internal browser-facing endpoint, not part of the external API.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
token | query | yes | Invitation token from the emailed link. |
Response (200)
Success:
Failure:
Error values: missing_token, not_found, expired, consumed.
Source
- Handler:
convex/http.ts - Logic:
convex/invitations.ts→validateInvitationToken