v1

latestOpenAPI 3.1.02026-08-0411088114.2 KB
auth

Generate Magic Link

Generate a magic link for an invitation code.

This creates a signed JWT token containing the invite code that expires in 7 days. The token can be shared via URL and automatically validates the user on signup.

Example magic link: https://yourapp.com/signup?token=<jwt_token>

post/auth/generate-magic-link

Request body

invitation_codestring required

Response

Successful Response

magic_linkstring required
expires_in_daysinteger required
invitation_codestring required