Authentication

Verify magic link code and authenticate user

Changed on
get/auth/verify-magic-link

Request

  • Base URL
    https://api.ludo.ai/api
  • Auth
    API key in header Authorization

Query parameters

codestring required

Magic link verification code

Response

Success

tokenstring
registeredboolean
magic_link_sentboolean
magic_link_messagestring
two_factor_requiredboolean

Credentials were accepted but the account has 2FA enabled, so no token is issued. Exchange the challenge_ticket for a full payload via /auth/2fa/verify.

challenge_ticketstring

Single-use, short-lived ticket identifying the pending 2FA challenge.

two_factor_methodsstring[]

Second factors the user can present for this challenge.

Changes