Log360 Cloud REST API collection
What is an API collection?
The Log360 Cloud REST API Postman collection contains all Log360 Cloud API requests. These boilerplate requests enable testing and exploration of the Log360 Cloud APIs in various environments for multiple organizations.
Why use the API collection?
Setting up environments, variables, and authorization manually from the API documentation for each test can be time-consuming. The Log360 Cloud REST API Postman collection simplifies API exploration, making the process swift and effortless while reducing the risk of errors.
Note: The Postman collection does not substitute the Log360 Cloud API documentation. It is recommended to use both together for accurate implementation.
Prerequisites
- A Zoho account to access the Zoho API Console.
- A registered client to generate an organization-specific grant token.
Using the Log360 Cloud REST API collection
Follow these steps to use the Log360 Cloud REST API collection:
Step 1: Install the Postman app
- Download and install the Postman app. If Postman is already installed on your system, you can skip this step.
- The preferred version is Postman v8.
- Installation guide: Learn how to install the Postman app on your desktop.
Step 2: Fork the Log360 Cloud REST API postman collection
- Click the 'Run in postman' button below and choose 'Fork collection'.
The collection will now be forked into your Postman workspace.
Step 4: Update variables and invoke the APIs
- Click on the forked collection and navigate to the Variables tab. Update the following environment variables with the appropriate values:
- client_id: The Client ID of the client registered through the API console.
- client_secret: The Client Secret of the client registered through the API console.
- scope: Comma-separated values of the API scopes you want to invoke. Refer to the API documentation for details.
- log360_cloud_instance: The URL of your Log360 Cloud instance.
- api_version: The version of the Rest API to be invoked.
- redirect_ uri: The redirect URI added in the API console while generating the Client ID.
- account_id:Account ID.
- After updating the variables, navigate to the Authorization page, and click the Get New Access Token button at the bottom.
- After clicking the button, the User Consent page will appear. Click Accept to generate and update the Access Token for the APIs corresponding to the added scopes.
- The boilerplate request is now ready. The Log360 Cloud REST API calls can be tested.