v1

latestOpenAPI 3.1.02026-08-0411088114.2 KB
auth

Check Invite Code

Check if an invitation code or magic link token is valid.

This endpoint does NOT require authentication and can be called before signup. It accepts either:

  • A raw invitation code (e.g., "ABC123")
  • A JWT token from a magic link (e.g., "eyJ0eXAi...")

Returns validation status without consuming the invite code.

post/auth/check-invite

Request body

codestring required

Response

Successful Response

validboolean required
messagestring required
invitation_codestring nullable