Skip to main content
Import Members

How to import members using the YUMPU API

Linus avatar
Written by Linus
Updated over 2 months ago

In order to transfer member details from an existing database into your Yumpu account please follow these steps:

  • Open the command console on your Windows pc or the Terminal on your Mac and copy/paste the following code snippet into your console:


curl -X POST -H "X-ACCESS-TOKEN: YOUR_ACCESS_TOKEN" -d "username=" -d "password=" -d "comment=" -d "access_tags=" "https://api.yumpu.com/2.0/account/member.json"


  • replace **your access token** with the API Access token you can access in the

    "my account" -> "API" section on your account's profile page.

  • In the next step add your preferred parameters after the "=" sign for the following entries




    -d "username="

    -d "password="

    -d "comment="

    -d "access_tags="


  • Please see details in regards to specifications and limitations for these parameters in the following documentation:

  • If you would like to import multiple "Members" please add the parameter


&&


between each new segment.

An example for multiple imports would look like this:
(....)

curl -X POST -H "X-ACCESS-TOKEN: YOUR_ACCESS_TOKEN" -d "username=" -d "password=" -d "comment=" -d "access_tags=" "https://api.yumpu.com/2.0/account/member.json"
&&
curl -X POST -H "X-ACCESS-TOKEN: YOUR_ACCESS_TOKEN" -d "username=" -d "password=" -d "comment=" -d "access_tags=" "https://api.yumpu.com/2.0/account/member.json"

(....)

Add as many segments separated by the "&&" command line as needed to create the number of members you require

Did this answer your question?