To transfer PDF files from your computer to your Yumpu account, you can use a simple API request via the command line. Follow the steps below to complete the process.
Open the Command Console or Terminal
On Windows: Open the search bar and type “cmd” to launch the command console.
On macOS: Search for “Terminal” and open the application.
Use the Upload Command
Copy and paste the following code snippet into your command console or terminal:
curl -X POST -H "X-ACCESS-TOKEN: YOUR_ACCESS_TOKEN" -H "Content-Type: multipart/form-data" -F "file=@filename.pdf" -F "title=My document title" "https://api.yumpu.com/2.0/document/file.json"
Replace the Required Parameters
Make sure to replace the placeholders in the code as follows:
YOUR_ACCESS_TOKEN
Replace this with your API token found in your Yumpu account under “My Account” → “API”.filename.pdf
Replace this with the name of the PDF file stored on your computer.
(Maximum file size: 600 MB)My document title
Replace this with the title you want your magazine to have in your Yumpu account.
(Minimum: 5 characters | Maximum: 255 characters)
Example Command
Here is an example of a completed command without placeholders:
curl -X POST -H "X-ACCESS-TOKEN: F49VNZRO" -H "Content-Type: multipart/form-data" -F "file=@Yumputest.pdf" -F "title=This is my Yumpu test document" "https://api.yumpu.com/2.0/document/file.json"
This will create a new entry for the file “Yumputest.pdf” with the title “This is my Yumpu test document” in the account linked to the provided access token.
Upload Multiple Files
Using this code snippet in sequence by adding the parameter;
&&
in between each new curl segment, you will be able to transfer and create multiple entries for magazines in your Yumpu account.
Need Help?
If you need further assistance, please contact our support team at:

