Skip to main content
Kenneth Jensen
Community Moderator at Acondo
Asked a question 9 months ago

How to migrate users to your Tribe community using API?

Where am I?

In Tribe you can ask and answer questions and share your experience with others!

Hello Kenneth, 

Thank you for the question. Please find step by step information below: -

  1. First step would be to authenticate your access and there are several ways how that can be achieved. To know more about, please refer to our article “Authentication using Tribe API” by clicking here63.
  2. Once your access is authenticated, it will generate an access token.
  3. Once you have the access token, copy it and add it to the header. Please find the format below: -

Key                                            Value                       Authorization Bearer<space>                   Insert generated access token

How to migrate users to your Tribe community using API?


          4. Once added, please move to the “raw” section under Body and select JSON format. Once selected, add the following parameters in JSON format: -


     {      "username":"Username",      "name":"Name of the user",      "email":"user’s email",      "password":"desiredpassword",      "confirmpassword": "repeatpassword"      }

Some of the other fields that you can add are as follows: -

externalIdStringThe ID of user in the external serviceNo
roleStringThe role of the user. Can be member, moderator, or adminNo
sourceStringThe source of the user (e.g. API, SSO, Google, etc.) Can be used for analytics.No


How to migrate users to your Tribe community using API?


Please note that here are the criteria for the password-creation for the new users.

Password must contain at least 3 of the following: lowercase, uppercase, alphabetic, numeric, special symbols.

     5. Lastly, select “POST” as the request type and insert “https://Your-community-URL/api/v1/users”19                         (Replace “Your-community-URL” with your own community URL).

    6. Once you hit send, and if you followed all the steps, it will create a user for you with the status “200 OK”.

If you receive an error code, you can read about it, here- Error Codes42

To know about several other API endpoints, please click here26

Important Note: 
When migrating users, as long as you can "export" the users in a "CSV" file that includes credentials like email, etc, you can use Tribe API to migrate the user all at once.

Related Questions

Question Stats

538 view
1 follower
Asked a question 9 months ago
Views this month