Skip to main content

Migration
0 followers
1 question
0 posts

Do you have questions about Migration?

Log in to ask questions about Migration publicly or anonymously.

Eli Tribe TEAM
Enterprise Account Manager at Tribe

Hi Dan. You can import content to the Tribe community using our API. The tutorial is provided here: https://community.tribe.so/question/how-do-i-migrate-content-to-my-tribe-community-using-api-5edf9470ab101645f371c3512

FYI, we have plans for the future that allows you to natively migrate content from specific platforms like Facebook groups and other community forums.

 

Hi Frances,

Thank you for your question! Please find the detailed 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 here6.
  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>Access token 

How to migrate content  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: -

{

 "title": "The title of the post "

"content": "The content of the post "

"type": "The type of the post(post, question, discussion"

}

How to migrate content  to your Tribe community using API?

    

    5. Lastly, select “POST” as the request type and insert “https://Your-community-URL/api/v1/users”9                       (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”

 

Here are some of the optional fields that you can use basis your needs : -

ParameterTypeDescription
imagesArrayAn array of urls pointing to the images attached to this post (Only works with simple post type)
filesArrayAn array of urls pointing to the files attached to this post (Only works with simple post type)
parentStringThe ID of the parent post
replyToStringThe ID of the post to reply
groupStringThe ID of the group to post


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

To know about several other API endpoints, please click here3

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 here7.
  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: -

ParameterTypeDescriptionRequired
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?

 

     5. Lastly, select “POST” as the request type and insert “https://Your-community-URL/api/v1/users”2                         (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 Codes5
 

To know about several other API endpoints, please click here1

Mo MalayeriTribe Team
Celebrating Human Connections

You won't need to migrate any of your data or setting when upgrading or downgrading your plans with Tribe.