Skip to main content
Access tag

How to create access tags using the YUMPU API

Linus avatar
Written by Linus
Updated over a month ago

In order to automate the creation of access tags of 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 "name=" -d "description=" "https://api.yumpu.com/2.0/account/access_tag.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 "name="

    -d "description="



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

  • If you would like to import multiple "access tags" 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 "name=" -d "description=" "https://api.yumpu.com/2.0/account/access_tag.json"

&&

curl -X POST -H "X-ACCESS-TOKEN: YOUR_ACCESS_TOKEN" -d "name=" -d "description=" "https://api.yumpu.com/2.0/account/access_tag.json"

(....)

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

Did this answer your question?