Authentication

Create a user account on your platform.

post/v1/register

Request

  • Base URL: https://partner.mindupload.app
  • URL: https://partner.mindupload.app/v1/register
  • Auth: API key in header X-Partner-Key

Request body

preferred_languagestring nullable

BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages.

usernamestring nullable

The end-user's username.

passwordstring nullable

The end-user's password on first sign-in. After login/register, send the returned session token (JWT) here instead — the field accepts either, and reusing the token keeps raw passwords out of your storage.

emailstring nullable
email_verification_codestring nullable
first_namestring nullable
last_namestring nullable
nicknamestring nullable
genderstring nullable
birth_dateinteger nullable
phone_numberstring nullable
avatar_idstring nullable
accept_chatroom_invitation_by_othersboolean
visitor_idstring nullable

Optional. The same device or app install identifier as for login; the first session of the new account is kept under it.

Response

Result envelope — check the success field.

successboolean

Whether the call succeeded.

error_messagestring nullable

Human-readable reason when success is false.

error_codestring
jwtstring nullable
decrypted_userobject nullable

Changes

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