Authentication

Registers a user and joins a team. (Roles: user, none)

Changed on
post/register-paywall/team

Request

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

Request body

namestring required
passwordstring required
team_idstring required
emailstring required
tokenstring
codestring
captcha_tokenstring

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