To be able to access Zoho Desk functionalities through your application, you must first authenticate the application. To do this, you must pass certain key-value configuration pairs in the property file and pass the path of the file as the value of the desk.sdk.config system property key.
The mandatory and optional configuration keys are given below. Make sure to include the mandatory keys in the property file.
Copy to clipboardminLogLevel=WARNING #Optional key. The default logging level is WARNING. client_id=1000.xxxxxxxxxxxxxxx #Mandatory key. The consumer key generated from the connected app. client_secret=xxxxxxxxxxxxxxxx #Mandatory key. The consumer secret generated from the connected app. redirect_uri={redirect_uri} #Mandatory key. The Callback URL that you registered during the app Registration. scope=#Optional key. desk API scopes separated by commas like this: Desk.tickets.READ,Desk.contacts.READ. It becomes mandatory if you try to generate access tokens from your app. dc=com #Optional key. The domain from which the API calls are made. The default value is com. eu, cn, in, and au are also supported. logFilePath=/relativepath/application.log #Optional key. If you include this property, all SDK logs are stored in the file specified. timeout={timeout value} #Optional key. proxyHost={proxyHost} #These keys are required in case you have a proxy connection. proxyPort={proxyPort} proxyUserDomain={proxyUserDomain} proxyUser={proxyUser} proxyPassword={proxyPassword}