How to Create OAuth Credentials for Zoho Books
This guide will help you set up your Zoho Books OAuth app to connect with Apideck.
Zoho Books is a comprehensive cloud accounting software that helps businesses manage invoicing, expenses, inventory, and financial reporting. Integrating Zoho Books into your application allows you to access invoices, contacts, bills, payments, and other accounting data through Apideck's unified API.
Prerequisites
Before you begin, make sure you have:
- A Zoho account with access to Zoho Books
- An Apideck account
- Admin access to create OAuth applications in Zoho
Enable the Zoho Books Connector in Apideck
- Navigate to the Apideck Dashboard
- Enable the Zoho Books connector if it's not already enabled
Getting Your OAuth Credentials
Step 1: Sign in to Zoho API Console
- Go to https://api-console.zoho.com/
- Sign in with your Zoho account credentials

Step 2: Create a New OAuth Application
- On the applications overview page, click the "Add client" button in the top right corner

- Select "Server-based Applications" as the client type

Step 3: Configure Application Details
Fill in the application details form:
- Client Name: Enter a descriptive name (e.g., "Apideck Integration"). This name will be shown to users when they authorize your app to access their Zoho Books account.
- Client Type: Should be set to "Server-based Applications" (selected in the previous step).
- Homepage URL: Enter your company's website URL or your SaaS product URL.
- Authorized Redirect URIs:
https://unify.apideck.com/vault/callback

💡 TIP: The redirect URI must match exactly. Make sure there are no trailing slashes or extra characters.
Step 4: Get Your Client Credentials
After creating the application, Zoho will display your OAuth 2.0 credentials:
You'll see:
- Client ID: A unique identifier for your application
- Client Secret: A secret key used for authentication

Step 5: Configure Data Center Settings
- Click on "Settings" for your newly created application
- Enable the data centers that match the regions where your customers will operate
- Click "Use the same OAuth credentials for all data centers" to use a single set of credentials across all enabled data centers

💡 TIP: Zoho operates multiple data centers (US, EU, IN, AU, etc.). Make sure to enable the data centers where your customers' Zoho Books accounts are hosted. Using the same credentials for all data centers simplifies management.
Configure in Apideck
Now that you have your Zoho Books OAuth credentials, configure them in Apideck:
-
Navigate to Apideck Dashboard > Configuration > Accounting > Zoho Books
-
Enter your OAuth credentials:
- Client ID →
client_id: Paste the Client ID from your Zoho application - Client Secret →
client_secret: Paste the Client Secret from your Zoho application
- Client ID →

- Configure Scopes: This is an important step for Zoho Books integration
💡 IMPORTANT: You have two options for scope configuration:
- Option 1 (Full Access): Assign
ZohoBooks.fullaccess.allscope. This grants full access to all Zoho Books resources and operations, so you won't need to add scopes separately.

- Option 2 (Assign scopes separately): Assign
ZohoBooks.settings.READscope. This scope is required to retrieve Organization IDs and allow consumers to select their organization from a dropdown when they authorize the connection. You can then assign additional scopes separately for each resource and operation (read/write) as needed.

- Click "Save settings" to save your credentials and scopes
Test Your Connection
- Click "Test Vault" in the Apideck Dashboard
- Click on "Authorize" for your Zoho Books connection

- You'll be redirected to Zoho to authorize the application access

- After authorization, you'll be redirected back to Apideck where you can select your Organization ID from the dropdown
- Click "Save" and your connection status will change to Connected.

Do Your First API Call
- Test the connection by making a request to get invoices:
- Replace:
{APIDECK_APP_ID}with your Apideck application ID{APIDECK_API_KEY}with your Apideck API key
- You'll receive a list of invoices from your Zoho Books account
Configure Virtual Webhooks
Apideck supports virtual webhooks for Zoho Books. Virtual webhooks allow you to receive notifications about changes in Zoho Books data without requiring Zoho Books to send webhooks directly to your application.
How Virtual Webhooks Work
By enabling virtual webhooks, Unify will periodically check for updates in Zoho Books. By default, Apideck checks for updates every 24 hours.
Configure Webhooks in Apideck
- Navigate to Apideck Dashboard > Configuration > Accounting > Zoho Books
- Scroll to the Webhooks section
- Enable virtual webhooks for the resources you want to receive notifications for
- Save settings
