Registering your Application
Before you start with authorization and make any API calls, you need to first register your application with Zoho Contracts to get your Client ID and Client Secret.
To register,
- Go to Zoho Developer Console.
- Choose a client type:
- Client-based Applications: Applications that are built to run exclusively on browsers independent of web servers.
- Server-based Applications: Web-based applications that are built to run with a dedicated HTTP server.
- Mobile-based Applications: Applications that are built to run on smartphones and tablets.
- Non-browser Mobile Applications: Applications that run on devices without browsers such as smart TVs and printers.
- Self Client: Stand-alone applications that perform only back-end jobs (without any manual intervention) like data sync.
- Enter the following details:
- Client Name: The name of your application you want to register with Zoho.
- Homepage URL: The URL of your web page.
- Authorized Redirect URIs: A valid URL of your application to which Zoho Accounts redirects you with a grant token (code) after successful authentication.
- Click CREATE.
You will receive the following credentials:
- Client ID: The consumer key generated from the connected app.
- Client Secret: The consumer secret generated from the connected app.
Note:
- The Client Name must not contain any special characters except "_" and "&".
- The JavaScript domains must start with 'http' and must be separated by commas.
- The Redirect URIs must be in the format "https://www.your-domain.com/callback".
- The Homepage URL in the format "https://www.yourdomain.com"