Validate an invitation token
POST/users/invitations/validate
Checks whether the supplied token corresponds to a valid, unexpired,
PENDING invitation. Returns valid plus expiresAt: the expiry is
included whenever the token resolves to an invitation (valid or
expired/revoked), so an accepting UI can show when a stale link lapsed;
it is null only when the token is unknown.
No authentication required — this endpoint is intentionally public so accepting UIs can check tokens before prompting the user to log in.
Request
Responses
- 200
- 400
OK
Validation error (blank token, token exceeds 64 chars, invalid format)