Authentication

Generates a new API key (Roles: user)

Changed on
get/user/api-key

Request

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

Response

Success

_idstring required
namestring
first_namestring
last_namestring
teamsstring[]
emailstring required
stripped_emailstring
passwordstring
role'user' required
stripe_idstring
selected_projectstring
number_generationsinteger
registration_dateinteger
signup_sourcestring
whats_new_dateinteger
trial_endinteger
tutorials_closedstring[]
missions_completedstring[]
countrystring
genresstring[]
platformstring
welcome_formboolean
paywallboolean
video_generatorboolean
date_whats_newinteger
api_keystring
cookie_consentboolean
double_optin_sentboolean
brevo_contactboolean
credits_exhausted_atinteger
credits_exhausted_synced_atinteger
credits_low_notified_atinteger
first_generation_atinteger
first_generation_synced_atinteger
generation_daysinteger
last_generation_daystring
risk_holdboolean
fbpstring
fbcstring
fbclidstring
rdt_cidstring
last_login_ipstring

IP address of last login

registration_ipstring

Client IP address the account was created from

registration_user_agentstring

User-Agent header (first 200 characters) the account was created with

preferred_content_typestring
rate_limits_overrideinteger
referral_codestring
referred_bystring

User ID of the referrer

referral_creditedboolean

Whether referral bonus credits have been issued for this user

subscriber_welcome_sent_atinteger
referral_announce_sent_atinteger
discord_link_idstring

Opaque uuid shown on the user's Discord profile as their Ludo connection. Rotatable. Never the user id.

discord_user_idstring

Discord snowflake of the linked account.

discord_linked_atstring date-time

When the Discord account was last linked.

sessions_versioninteger

Bumped whenever every existing session must be invalidated (2FA enable/disable, password change). Tokens carry it as the sv claim and are rejected when it no longer matches.

Changes