Authentication
Access Tokens
To use our API you can generate API keys. To do that, log in to the PICTOFiT Content Management System (CMS) and open your profile page.
Select “API Keys” in the menu, name the key and click the “Add Key” button.
Copy the generated key and store it safely. This is the only time you are able to see the key in plain text. We cannot recover the plain text of the key anymore.
To revoke an API Key, click the trash icon right to it.
All requests to the REST API need to be authenticated. Therefore, you need to add an authorization header to your call. To add a bearer token to your CURL request simple use -H "Authorization: Bearer <YOUR-API-KEY>"
.