Choose where you’d like to start

Zoho Cliq Integration Attributes

Chat ID

To get the chat ID of a recipient,

  1. Navigate to your display picture on the top right corner.

  2. Select Bots and Tools.

  3. Click on the commands option in the left pane.

  4. Edit the code of any of your commands.

    • Save the following script.

      Script:

       

       <variable> = chat.get("id");

       

    • Execute the command in the chat window of the contact whose chat ID needs to be retrieved. (For instance, in the below example, /postamessage is the command that is executed and 2231000000000000000 is the chat ID retrieved).

Channel Name

To get a Channel's unique name,

  1. Select the desired channel whose name has to be retrieved.

  2. Click on the channel icon.

  3. Click on the Connectors tab.

  4. The API Endpoint will have the channel's unique name. It is of the format,
    https://cliq.zoho.com/api/v2/channelsbyname/<channel_unique_name>/message

Bot Name

To get a Bot's unique name,

  1. Select the desired Bot whose name has to be retrieved from the list of subscribed Bots.

  2. Click on the Bot icon

  3. The API Endpoint will have the Bot's unique name. It is of the format,
    /api/v2/bots/<bot_unique_name>/message.

ZUID

To get the ZUID of a recipient,

  1. Navigate to your display picture on the top right corner.

  2. Select Bots and Tools.

  3. Click on the commands option in the left pane.

  4. Edit the code of any of your commands.

    • Save the following script.
      Script:

       <variable> = chat.get("members").get(0).get("id");

       

    • Execute the command in the chat window of the contact whose ZUID needs to be retrieved. (For instance, in the below example, /postamessage is the command that is executed and 658700000 is the ZUID retrieved).

Related Links

Get Started Now

Execute