Step 1: Get your credentials
Learn the steps to set up your Partner account and authenticate API calls.
Overview
The very initial steps of integrating with Monite include creating a partner account within Monite’s Partner Portal and getting your API credentials. These credentials allow you to generate the access tokens required to make API calls to the Monite platform.
1. Register a partner account
First, you need to register your partner account on the Monite Partner Portal.
After signing up, you must confirm your email address by clicking the link in the registration email.
2. Get API credentials
To generate the credentials required to access the Monite API:
-
In the Partner Portal, click API Credentials.
-
On the page that opens, click Add credential.
-
Copy the generated client ID and secret as you will not be able to see them again.
Keep your client ID and secret secure, because they provide access to all your data and your customers’ data stored in Monite.
You can create multiple sets of API credentials for use in different contexts. For example, one set for a client app and another one for a CI/CD environment.
3. Generate a partner access token
The client ID and secret need to be exchanged for an access token, which is then used to authenticate your API calls. To do this, call POST /auth/token
with the following request body:
For example:
The successful response contains the token and its validity time (in seconds):
Now you can send this token in the Authorization
header in subsequent API calls to the Monite platform:
Besides generating a partner-level access token with highest privileges for all operations, you might also consider using entity-user tokens with more granular roles and permissions. To learn more about the Role-Based Access Control system and other main security considerations, refer to Authentication.
Next steps
Congrats! Now you are all set to continue integrating with the Monite platform. Please proceed with the following step to set up your backend: