India+91 96296 27092USA+1 659 777 0392hari@flowpeakconsulting.comWhatsApp IndiaWhatsApp USA
Flowpeak ConsultingFlowpeak Logo Mark

How-to

Zoho CRM API in Postman: OAuth Setup and Your First Request

Harikrishnan, founder of Flowpeak ConsultingBy Harikrishnan (The Zoho Mechanic), Founder & Chief Zoho Consultant, Flowpeak · 10+ years in Zoho · Published · Last updated

To call the Zoho CRM API from Postman, register a Self Client at api-console.zoho.com, generate a grant token with scopes such as ZohoCRM.modules.ALL, then POST it to your data centre's accounts URL at /oauth/v2/token to get access and refresh tokens. Send requests to the api_domain returned, with the header Authorization: Zoho-oauthtoken followed by the access token.

Zoho CRM setup from USD 500Fixed price in writing. Every service has a published price.

  • Registered Zoho partner
  • Calls in your business hours
  • 30 days of free fixes

This guide is for developers, admins and integration partners who want to test the Zoho CRM API before writing code. It walks through registering a client, choosing OAuth scopes, generating the grant token, exchanging it for tokens in Postman, and making a first GET request against Leads. It covers the data centre URLs that trip people up outside the USA and the errors you are most likely to see, with what Zoho's developer docs say causes each one.

How do you use the Zoho CRM API with Postman?

You authenticate with OAuth 2.0, not an API key. For testing in Postman, the simplest client type is a Self Client, which Zoho describes as a backend client with no redirect URL or web UI. You generate a short-lived grant token in the console, swap it for an access token and a refresh token, and then call the API.

Zoho also publishes an official Zoho CRM REST API collection for Postman on its developer site, which saves typing every endpoint. The steps below work with or without it.

Step 1: register a Self Client

  • Sign in to the Zoho Developer Console at api-console.zoho.com with a CRM user who has the permissions you want to test. Use the console for your data centre, for example the .eu or .in version if your CRM is hosted there.
  • Click GET STARTED, or Add Client if you already have clients.
  • Choose Self Client and click CREATE NOW. No homepage or redirect URL is needed for this type.
  • Open the Client Secret tab and copy the Client ID and Client Secret. Store them somewhere safe, never in a shared Postman workspace in plain text.

Step 2: generate the grant token

  • In the same client, open the Generate Code tab.
  • Enter scopes separated by commas. For a first test, ZohoCRM.modules.ALL covers records in all modules. A tighter scope looks like ZohoCRM.modules.leads.READ. Zoho shows 'Enter a valid scope' if one is wrong.
  • Select a time duration. The grant token expires after that time, so choose a duration that gives you a few minutes to complete Step 3.
  • Add a description, click Create, choose the portal and organization (production or sandbox), and click Create again.
  • Copy the grant token. It works once only.

Step 3: get access and refresh tokens in Postman

  • Create a POST request to {Accounts_URL}/oauth/v2/token, for example https://accounts.zoho.com/oauth/v2/token for the US data centre.
  • In the Body tab choose form-data or x-www-form-urlencoded and add: grant_type = authorization_code, client_id, client_secret, and code = your grant token. Self Clients do not need a redirect_uri.
  • Send it. The response contains access_token, refresh_token, api_domain, token_type and expires_in (3600 seconds).
  • Save the refresh_token and api_domain as Postman environment variables. The access token lasts one hour; the refresh token lasts until it is revoked.
  • When the access token expires, POST to the same token URL with grant_type = refresh_token, refresh_token, client_id and client_secret.

Data centre URLs

Use the accounts URL that matches where your CRM is hosted. Zoho's docs list these:

Data centreAccounts URL
United Stateshttps://accounts.zoho.com
Europehttps://accounts.zoho.eu
Indiahttps://accounts.zoho.in
Australiahttps://accounts.zoho.com.au
Japanhttps://accounts.zoho.jp
Canadahttps://accounts.zohocloud.ca
Saudi Arabiahttps://accounts.zoho.sa
Chinahttps://accounts.zoho.com.cn

Always send API calls to the api_domain returned with your token, such as https://www.zohoapis.com or https://www.zohoapis.eu. Mixing data centres is the most common cause of authentication errors.

Step 4: your first GET request

  • Create a GET request to {api_domain}/crm/v8/Leads?fields=Last_Name,Company,Email&per_page=10.
  • Add the header Authorization with the value Zoho-oauthtoken followed by a space and the access token.
  • Send it. You should get a data array of records and an info block with paging details.
  • Note that the fields parameter is mandatory when fetching all records, with a maximum of 50 field API names, and per_page is capped at 200.
  • To fetch one record, add its ID to the URL: {api_domain}/crm/v8/Leads/{record_id}.

Common errors and fixes

ErrorWhat it usually meansFix
invalid_codeZoho's docs: the grant token expired, was already used, or the refresh token is wrong or revokedGenerate a new grant token and exchange it straight away
invalid_clientWrong client ID or secret, or the grant and token requests went to different data centresUse the accounts URL for your data centre and the matching secret
INVALID_TOKEN (401)The access token is expired, mistyped, or being sent to another data centre's api_domainRefresh the token, check the header format and use the api_domain returned
OAUTH_SCOPE_MISMATCH (401)The token's scopes do not cover the operation, for example a create call with a READ-only scopeGenerate a new grant token with the right scope
INVALID_URL_PATTERN (404)The request URL is wrongCheck the version, module API name and spelling
REQUIRED_PARAM_MISSING (400)A mandatory parameter such as fields is missingRead the details key and add the parameter
429 Too Many RequestsDaily API credits or the concurrency limit are exhaustedWait, slow down, or review credit use

Daily credits and concurrency depend on your edition and number of users. We cover planning in Zoho CRM API limits and integration planning.

Common mistakes

  • Testing with an admin user, then deploying with a user who lacks module permissions, which returns NO_PERMISSION.
  • Using field labels instead of API names in the fields parameter.
  • Generating a new refresh token for every test. Reuse one and refresh access tokens from it.
  • Pasting tokens into a shared collection. Use environment variables and keep secrets out of exports.

How Flowpeak helps

Flowpeak is a registered Zoho partner with Zoho-certified consultants in Chennai, building integrations online for clients in the USA, Canada, UK, Europe, the Gulf, Australia and India. Once Postman tests work, we design the production integration with proper token handling, retries and credit budgeting. Integrations start from USD 270 (INR 25,000 + GST in India). See our Zoho integration services.

Want help putting this into practice? Flowpeak works as a Zoho integration consultant, headquartered in Chennai. Book a free call to talk through your setup.

What this usually costs and how long it takes

Zoho CRM setup
from USD 500, GBP 400, EUR 450, CAD 700, AUD 760 or AED 1,850. In India we quote after a free call.
Moving your data into Zoho
from USD 380
Connecting Zoho to another tool
from USD 270
How long it takes
most CRM setups go live in about two weeks

You get a fixed price in writing before any work starts. Zoho licences are billed by Zoho separately.

What clients say

“Working with FlowPeak Consulting was a really good experience for us...”
Team EON Group
Zoho CRM, Books and Inventory implementation
“Working with Flowpeak Consulting on our Zoho implementation was a really positive experience...”
MD, Southern Industries
Zoho One implementation
“We had a good experience working with Flowpeak Consulting for our Zoho implementation at Almapuro...”
Almapuro Agri Private Limited
Zoho implementation

Free · 60 seconds

Get your Zoho plan

Four quick questions. See which Zoho apps fit, how long it takes and what it costs to start.

Step 1 of 4

What kind of business do you run?

Free, no obligation

Looking for a Zoho CRM implementation partner?

Tell us which Zoho app you need help with and where your business is. Hari, our founder, replies within one business day with clear next steps.

Not sure what you need yet? Answer a few plain questions and see your scope and timeline.

Which Zoho app?
What do you need?

We work with clients worldwide over video, and travel to meet you in person when the project needs it.

Get a free Zoho audit

30 minutes with a senior Zoho consultant. No obligation.

  • Fixed price in writing
  • Paid by milestone
  • 30 days of free fixes after go-live
  • Registered Zoho partner

Frequently asked questions

How long is a Zoho CRM access token valid?

One hour. The token response shows expires_in as 3600 seconds. Use the refresh token to get a new one.

Does the Zoho CRM refresh token expire?

Zoho's docs say a refresh token does not expire until it is revoked. Store it securely.

Why do I get invalid_code when generating Zoho tokens?

The grant token has expired or was already used. Grant tokens are single-use, so create a new one and exchange it quickly.

Which URL do I use for Zoho CRM API calls in Europe or India?

Use the api_domain returned with your token, such as www.zohoapis.eu or www.zohoapis.in, and the matching accounts URL for token requests.

Is there an official Zoho CRM Postman collection?

Yes. Zoho publishes a Zoho CRM REST API collection on its developer site that you can import into Postman.

Related

Book a free 30-minute call
Book a free callWhatsApp