OAuth APIs
Levelup allows you to use OAuth APIs connect securely and automate tasks with other applications used in your organization.
Simply put, OAuth APIs use the Open Authorization framework, for secure and standardized user authentication and authorization. It allows third-party applications to access the user data and services on another platform, without necessarily disclosing your credentials.
Before use OAuth API for your Levelup, here are some of the acceptance criteria that you must follow:
1. ClientID and Secret Key Generation :
2. Storing Credentials :
3. Steps After Expiry of Credential:
4. Notifications:
5. Key Update Process:
6. Enable/Disable client ID and secret (APIs):
Under company settings add an option/flag to check if APIs option is available for the company to see.
7. Security:
The Process of Setting Up OAuth APIs on Levelup
Here are the steps that you need to follow to set up OAuth API on Levelup. Please note that you will need an admin account on Levelup to setup APIs
Managing OAuth API Access
Please note that OAuth APIs are automatically enabled for companies on subscription plans with 200+ active users. This functionality is controlled through the company settings table in the SQL database.
You can request API access without meeting the above criteria, but in that case, the APIs can be manually enabled upon request.
OAuth APIs page
When OAuth APIs are disabled, you will see the following messages/blurb on the OAuth APIs page:
“This feature is currently not available under your current Levelup plan. Please click here to contact us to learn more about this feature.
5. Click on Click here. The following dialog box opens up
“Title – Request APIs Access
A multiline text box for entering comments with the placeholder text: “Please tell us about your API requirements.”
6. Enter your API requirements in the text box.
7. Once you are done, click on ‘Submit’
8. You can also click on submit to start the process all over again
9. Once the request has been submitted, we will book a meeting with you within 2-3 business days to discuss your requirements
10. After OAuth APIs are enabled, you will see the following on the OAuth APIs page:
“Set up a new OAuth APIs app”
You can refer to documentation and list of APIs on our Knowledge Centre.
11. If no OAuth app has been set up yet, click on “New OAuth App” to generate a client ID and secret to connect your apps to Levelup.
Creating Client Secret
12. Once the OAuth APIs have been set up. You will need to create a Client Secret
13. You will get an option “Connect securely and automate tasks with other applications used in your organization.”
14. You will get an options to copy the client ID, OAuth App and to generate new client secret. Click on the option for client secret to generate the secret.
15. You will get the following message:
Are you sure you want to generate a new client secret? Once the secret is created, you will be able to view and copy it only twice.”
16. You will get a dropdown menu to choose the validity period, with the following options: 3 months, 6 months, 1 year, 2 years. Choose the one that you want
17. Click on ‘Generate’ to generate the client secret
18. You can also click on ‘Cancel’ to start the process afresh
Email Notifications on Client Secret Expiry
All Admins will receive an email regarding client secret expiring 30 days, 7 days and on the day the client secret expires.
You will find the status to be set as “Expired” beside the client secret value.