Users

create user with x-custom-token

Deprecated: use /v2/users/batch instead.

Auth: User JWT

post/v1/users/batch

Request

  • Base URL: https://api.chat.ethora.com
  • URL: https://api.chat.ethora.com/v1/users/batch
  • Auth: HTTP bearer

Path parameters

idstring required

ID of the target resource. The exact type (App, File, etc.) depends on the endpoint.

Request body

bypassEmailConfirmationboolean

If true, skip the email-verification step and create users immediately. Use when the importer has already verified ownership of the addresses (e.g. SSO migration). Default false.

Response

{
  ok: boolean,
  results: [
     {
        defaultWallet: {
          walletAddress: string
        },
        _id: string,
        firstName: string,
        lastName: string,
        email: string,
        username: string,
        tags: string[],
        profileImage: string,
        emails: [
          {
            loginType: string,
            email: string,
            verified: boolean,
            _id: string
          }
        ],
        appId: string,
        xmppPassword: string,
        roles: string[],
        isProfileOpen: boolean,
        isAssetsOpen: boolean,
        isAgreeWithTerms: boolean,
        homeScreen: string,
        registrationChannelType: string,
        createdAt: string,
        updatedAt: string
      },
    }
  ]

Changes

No recorded changes to this operation across all 1 revision of this API.