This guide will help you to get the Secret Key and Project Public IDs for your projects where you will use the iLovePDF API and will also show you how easy is to authenticate to the API servers.
First of all, if you have arrived here probably you are already a registered user but if you are not please register in order to use the iLovePDF API. You should also download your preferred API Library to work with. If there is no Library available for your coding language please see the API Reference.
Once you get your new user and password, log in to access to your personal administration console.
Create a new app
Once you have logged in to your administration console, you will get access to all the information needed to track your projects and your subscription.
Note that with your registration will be created automatically a Default Project with its own key pair: Public ID and a Secret key attached to it. Every time you create a New Project you’ll get a new Project ID and a Secret Key. You need to set the Public ID and Secret Key in the API Library code you’ve downloaded in order to authenticate with our servers.
Authenticate your project
iLovePDF API uses JSON Web Tokens method for a secure authentication. For more information about this method and how we use it, take a look at the Authentication section of our API reference but from now, to authenticate your project is as easy as this:
This way you’ll authenticate ALL your actions with the API. Now you can execute any tasks to process PDF files.
Follow this guide by looking at Basics to process a PDF.