Skip to main content
Zoho Desk Authentication Guide

How to authenticate ZohoDesk for use with Tines

Daniel Stoeski avatar
Written by Daniel Stoeski
Updated over 6 months ago

Zoho Desk is a cloud-based help desk solution from Zoho Corporation, catering to businesses of all sizes. Key features include management of customer support tickets, a customer support portal, contract management and report creation.

First, create a ZohoDesk application

  1. Login into your ZohoDesk Developer Portal and click "Get Started"


  2. Choose a "Self Client" and click "CREATE NOW"


  3. On the "Client Secret" tab, copy your "Client ID" and "Client Secret" to a text editor


  4. Click "Generate Code"

  5. Choose the appropriate scope, time duration and give the token a description, then click "Create"


  6. Select the appropriate "Portal" and "Organization", then click "Create"



  7. Copy your code to a text editor


Lastly, create ZohoDesk credentials in Tines

  1. Login to your Tines tenant

  2. Create a new story

  3. Paste the below curl command onto your storyboard and replace the values for client_id, client_secret and code with your "Client ID", "Client Secret" and "Code"

    curl -v \
    -X POST \
    --location \
    "https://accounts.zoho.eu/oauth/v2/token" \
    -H 'Content-Type: form' \
    -d 'code=code&grant_type=authorization_code&client_id=clientid&client_secret=client%20secret&redirect_uri=https%3A%2F%2Fwww.tines.com'

  4. Run the action and copy the value for the refresh_token key to a text editor

You will need to create three credentials:

  • Two Text type: "zohodesk_client_id" and "zohodesk_client_secret"

  • One HTTP request type: "zohodesk"

Text type

  1. Navigate to the team that will be using the API and click "Credentials"

  2. Click "+ New Credential" and select "Text"

  3. Input the values for the ZohoDesk credential

    1. Name: zohodesk_client_id

    2. Description: Optional

    3. Value: Your Client ID

  4. Optional

    1. Domains: Ensure this credential can only be used when making HTTP requests to specific domains.

    2. Access: What other teams can also use the API

  5. Click "Save"

  6. Click "+ New Credential" and select "Text"

  7. Input the values for the ZohoDesk credential

    1. Name: zohodesk_client_secret

    2. Description: Optional

    3. Value: Your Client secret

  8. Optional

    1. Domains: Ensure this credential can only be used when making HTTP requests to specific domains.

    2. Access: What other teams can also use the API

  9. Click "Save"

HTTP request type

  1. Click "+ New Credential" and select "HTTP Request"

  2. Input the values for the ZohoDesk credential

    1. Name: ZohoDesk

    2. Description: Optional

    3. URL: https://accounts.zoho.eu/oauth/v2/token

    4. Content Type: Form

    5. Method: post

    6. Payload: Copy the below object and paste into the "Plain code" section:

      {
      "refresh_token": "<<your refresh token>>",
      "client_id": "<<CREDENTIAL.zohodesk_client_id>>",
      "client_secret": "<<CREDENTIAL.zohodesk_client_secret>>",
      "scope": "Desk.tickets.ALL",
      "redirect_uri": "https://www.tines.com",
      "grant_type": "refresh_token"
      }

    7. Headers: "orgId":"<<your org ID>>"

    8. Click "Save and run request", navigate to the access_token key and double click on the key

    9. Location of token from response: Paste the path to the token in the value pill, zohodesk.body.access_token

  3. Optional

    1. Domains: Ensure this credential can only be used when making HTTP requests to specific domains

    2. Access: What other teams can also use the API

  4. Click "Save"

Your credential should look like the following:

More on creating credentials in Tines here.

You can also find a selection of ZohoDesk stories in the story library.

Did this answer your question?