accepts-api-key

Create Account

Create a Firebase + SQL account for an email. Admin only.

Creates the user in Firebase Auth first (with the given or a random password); the SQL user is created from the returned UID if it does not already exist, after which the email is marked as verified in Firebase.

The route is idempotent: if the email already exists in Firebase, that account is reused (no new Firebase user, password left unchanged), and if the SQL user already exists it is left as-is. Either way the email is marked as verified.

post/admin/create_account

Request

  • Base URL
    https://api.tellers.ai (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Headers

x-api-keystring nullable
authorizationstring nullable

Request body

emailstring required
passwordstring nullable

Password for the new account; a random one is generated if omitted

Response

Successful Response

firebase_uidstring required
emailstring required
createdboolean required

True if a new Firebase user was created, False if it existed

passwordstring nullable

Password set on the newly created account; null when the Firebase account already existed (its password is left unchanged)

Changes

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