Requirements
You donโt need to be a developer to use this guide, but you will need to have a bit of experience using the command line and know how to create a text file. For sending requests to the server we use the โcurlโ command, included with most operating systems. For easy visualization of the response, we use the โjqโ command, included with most operating systems. Install โcurlโ and โjqโ, in case they are not installed in your system.Create an Account
Head over to the Invopop Console and follow the steps to either log in or create an account.Get a Token
- Once inside the console, click Settings.
- Enter the API Keys section.
- Tap the โNew API Keyโ button.
- Provide a name for future reference, and any notes perhaps describing a use case, then click Save.
- Youโll be presented with a new token in text and a button to copy the details. Tap the copy button, and paste the token somewhere safe.
Invopop uses JSON Web Tokens. If youโre interested in seeing the contents,
head over to JWT.io and paste youโre token to see whatโs
inside.
Test
To test our new token, open the Terminal and prepare our environment using the following command, replacing<TOKEN> with the actual token generated from the
Invopop console in the last step:
Most examples throughout this documentation will assume you have set the
$INVOPOP_TOKEN variable.