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

  • Base URL
    https://api.adapter.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

invitation_codestring required

Response

Successful Response

magic_linkstring required
expires_in_daysinteger required
invitation_codestring required

Changes

No recorded changes to this operation across all 2 revisions of this API.