Zoho CRM REST API Collection

What is an API Collection?

The Zoho CRM REST API Postman collection is a set of all the Zoho CRM API requests. Using these boilerplate requests, you can test and explore the CRM APIs in various environments for multiple organizations. Click here to view Zoho CRM REST API Postman Collection.

Why use API collection?

Going through the entire API documentation to set up environments, variables, authorization, and so on every time you need to test an API can be tedious. Using the CRM API Postman collection can make the process of exploring APIs swift and effortless. It also significantly reduces the risk of errors.

Note

The Postman collection does not substitute the CRM API documentation. We strongly recommend you use the CRM Postman collection along with the CRM API documentation.

Prerequisites

Using the Zoho CRM REST API Collection

Perform the following steps to fork the Zoho CRM REST API Collection:

Step 1: Install the Postman app

Download and install the Postman app. You can skip this step if you have already installed the Postman app in your system. The preferred version is Postman v8.

System requirements: Learn more about the system requirements to install and run the Postman native app.
Installation guide: Learn how to install the Postman app on the desktop.

Step 2: Create a fork

  1. In the Postman native app, click the top search bar and type Zoho CRM Developers. Choose Zoho CRM Developers under Workspaces.

    postman search

    Note

    The Postman search option is available only from Version 8 and above. This feature is yet to be rolled out for Linux. For Linux users and users with Postman version less than V8, you can follow the steps in Postman web and sync the changes with your native app.

  2. Hover over the Zoho CRM REST APIs collection. Click more options and choose Create a fork.

    create a fork

  3. Enter the name of your fork and choose a workspace. Click Fork Collection.

    choose workspace and add the collection fork to it

    The collection fork will be created in the chosen workspace.

Step 3: Set up the environment

  1. After creating the collection fork, you have to configure the environment. Click the quick view icon in the top right corner, and click Add in Environment section.

    add environment

  2. Add the following environment variables with their corresponding values:

    • client-id: The consumer key generated from the connected app. You get this value when you register your application.
    • client-secret: The consumer secret generated from the connected app. You get this value when you register your application.
    • redirect-uri: A valid URL of your application to which Zoho Accounts redirects you with a grant token(code) after successful authentication.
    • authorization-code: The grant token.
    • access-token: The access token to access Zoho CRM APIs. The system automatically adds the value to this variable once the access token is generated.
    • refresh-token: The refresh token to obtain new access tokens. The system automatically adds the value to this variable once the refresh token is generated.
    • accounts-url: The domain-specific Zoho Accounts URL.
    • api-domain: The domain name used to make API calls to Zoho CRM.
    • expiry-time: Time in seconds after which the access token expires. The system automatically adds the value to this variable.

    After adding all the environment variables, click Save.

    save environment

Step 4: Invoke the APIs

  1. Generate grant token.

  2. Using the grant token, generate access and refresh tokens. Add the grant token to the code key in the request input, and hit Send. Ensure that the Authorization is set as No Auth. generate access and refresh tokens

    Note
    • Once you generate access/refresh tokens using the Generate Access Token and Refresh Token request in the Postman collection, the system automatically adds values for access-token, refresh-token, and expires-in variables.

  3. Your boilerplate request is ready; you can now test the CRM API calls.

    fire api calls

Pulling updates

You can keep your forked collection up-to-date with any changes in the parent collection. Perform the following steps to merge changes:

  1. Click more options in your collection fork and choose Merge changes.

    Merge changes
  2. If the parent collection has been modified since you last updated the fork, the system will display a notification. Click Pull Changes.

    Pull changes
  3. You can review the changes and click Pull changes to update your fork.

    Review changes

The V2.1 APIs

We have separated the API call templates in the Postman Collection into two folders, each comprising V2 and V2.1 APIs. You can test the API calls of both versions using the call templates in the respective folders.

We will add the API call templates of upcoming versions of the Zoho CRM API as individual folders as and they are released.

postman search