Authentication
20%
- To work with the Pepperi API, your application must provide the necessary authentication credentials in each HTTP request to Pepperi.
- The way to provide these credentials depends on the type of application that you're developing.
- Pepperi supports two different types of applications: public applications and private applications.
Private applications
Private applications are Apps developed internally or on bahalf of one or few particular Pepperi Accounts.
These applications authenticate with Pepperi through basic HTTP authentication and Developer API Key.
Steps to get your Developer API Key and your company’s API Token:
- Make your first API Request to get a Pepperi company API Access Token , using company/apitoken.
- Provide Pepperi Admin User name and Password.
- Get back a Pepepri company “APIToken” and “BaseURI” – The API Token along with the Base URI must be saved by you for the use of all API future requests. (Base URI in most cases is api.pepperi.com but it could be different for customers residing on specific Pepperi cloud server)
- Start making API requests using user name “TokenAuth” and your API Token as password.
Public applications
Public applications Apps interact with the Pepperi API on behalf of multiple Pepperi accounts, as long as the application has been granted explicit permission by the Pepperi Admin user manually granting the App access permission.
Public applications must authenticate to Pepperi through the OAuth 2.0 security standard.
See the OAuth 2.0 documentation for more details