Zoho Cliq Functions API

Functions Module

GitHub OpenAPI

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /functions Create a new function · Create a new function #
Ask an LLM
“How do I create a function that runs a Deluge script when a button is clicked?”
“Can a new function be a webhook that posts to my own server?”
Tell an agent
Create a {function_type} function named {name} described as {description}.
Create a {function_type} function {name} described as {description} that runs on my server at {execution_url}.
GET /functions List my functions · List all functions #
Ask an LLM
“Which functions have I defined in Cliq?”
“Can I sync only the functions that changed since my last sync?”
Tell an agent
List all my functions.
List my functions, {limit} per page.
PATCH /functions/{FUNCTION_ID} Update a function's name or description · Update an existing function #
Ask an LLM
“Can I rename a function I already created?”
“Is it possible to change a function's description?”
Tell an agent
Rename function {FUNCTION_ID} to {name}.
Change the description of function {FUNCTION_ID} to {description}.
GET /functions/{FUNCTION_ID} Get a function's details · Get details of a specific function #
Ask an LLM
“What is the configuration of one function?”
“Can I see the handlers set up on a function?”
Tell an agent
Show function {FUNCTION_ID}.
Get the full details of function {FUNCTION_ID}.
DELETE /functions/{FUNCTION_ID} Delete a function · Delete a specific function #
Ask an LLM
“How do I permanently delete a function and all its handlers?”
“Is deleting a function reversible?”
Tell an agent destructive · confirm first
Delete function {FUNCTION_ID}.
Permanently remove function {FUNCTION_ID} and its handlers.
POST /functions/{FUNCTION_ID}/handlers Add a handler to a function · Create a handler for a specific function #
Ask an LLM
“How do I make a button click on a message run a Deluge script?”
“Can I add a handler that only forwards the user and chat to my webhook?”
Tell an agent
Add a {type} handler to function {FUNCTION_ID}.
Add a {type} handler to function {FUNCTION_ID} running this Deluge script: {script}.
PATCH /functions/{FUNCTION_ID}/handlers/{FUNCTION_HANDLER_TYPE} Update a function handler · Update a handler for a specific function #
Ask an LLM
“Can I change the Deluge script a button handler runs?”
“Is it possible to add a new permission to a webhook handler?”
Tell an agent
Update the {FUNCTION_HANDLER_TYPE} handler of function {FUNCTION_ID} with this Deluge script: {script}.
Change the permissions on the {FUNCTION_HANDLER_TYPE} handler of function {FUNCTION_ID} to {permissions}.
GET /functions/{FUNCTION_ID}/handlers/{FUNCTION_HANDLER_TYPE} Get a function handler's details · Get details of a specific function handler #
Ask an LLM
“What Deluge code is in a function's handler?”
“Can I see which permissions a webhook handler includes?”
Tell an agent
Show the {FUNCTION_HANDLER_TYPE} handler of function {FUNCTION_ID}.
Get the Deluge script in the {FUNCTION_HANDLER_TYPE} handler of function {FUNCTION_ID}.
DELETE /functions/{FUNCTION_ID}/handlers/{FUNCTION_HANDLER_TYPE} Delete a handler from a function · Delete a handler from a specific function #
Ask an LLM
“How do I remove a handler from a function?”
“Can I delete a function's default handler?”
Tell an agent destructive · confirm first
Delete the {FUNCTION_HANDLER_TYPE} handler from function {FUNCTION_ID}.
Remove the {FUNCTION_HANDLER_TYPE} handler from function {FUNCTION_ID}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/zoho-cliq:zoho-cliq-functions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

zoho-cliq-functions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Functions API
  version: '3.0'
  description: 'Functions are reusable, UI-triggered components in Zoho Cliq that execute when a user interacts with a UI element - clicking a button in a message, submitting or changing a form, or clicking a button inside a widget. Unlike commands or message actions which are user-text-driven, functions are driven by structured UI interactions.


    For more information, refer to the Functions Help Documentation.


    Function Types


    The function_type field determines which UI trigger activates the function:


    function_type

    Trigger


    button

    Triggered when a user clicks a button inside a chat message.


    form

    Triggered by form interactions - view (render), field change, dynamic select, and submit events.


    widget_button

    Triggered when a user clicks a button rendered inside a Cliq widget.


    Function Handlers


    Each function supports one or more handlers based on its type. Handlers define the logic executed at each stage of the UI interaction:


    Handler

    Applicable function_type

    Description


    button_handler

    button

    Executes when a button in a message is clicked.


    form_view_handler

    form

    Renders the form UI when a user navigates to the form''s permalink URL.


    form_submit_handler

    form

    Executes when the user submits the form.


    form_change_handler

    form

    Executes when a field value changes within the form.


    form_dynamic_select_handler

    form

    Populates dynamic dropdown options within a form field.


    widget_button_handler

    widget_button

    Executes when a button inside a Cliq widget is clicked.


    What can you do with the Functions API?


    With the Functions API, you can programmatically create and manage functions, configure their handlers (Deluge scripts or webhook permissions), update function configurations, and retrieve function details - all without using the Cliq Developer console.


    Each function has an execution_type that defines how handlers run when a UI element is triggered. The Functions API supports two execution types:


    Deluge Functions (default)

    Handler logic is written in Deluge and runs entirely within Zoho''s platform. No external server is required.


    If execution_type is not specified, it defaults to deluge.


    Handler logic is defined using the script field when creating or updating handlers.


    Suitable for teams building UI-driven automations entirely within the Zoho platform.


    Webhook Functions

    When a UI element is interacted with, Zoho Cliq sends an HTTP POST request to your execution_url. Your server processes the event and returns a response that Cliq renders back to the user.


    To create a Webhook function, set execution_type to webhook and provide the execution_url.


    Handler permissions (chat, message, user) control which data attributes are included in the webhook payload. Note: location and attachments are not available for function handlers.


    Ideal for functions that need to integrate with external systems or require custom server-side processing.'
servers:
- url: https://cliq.zoho.com/api/v3
  description: Zoho Cliq US DC
tags:


# --- truncated at 32 KB (84 KB total) ---
# Full source: https://artifacts.apis.io/zoho-cliq/openapi/zoho-cliq-functions-api-openapi.yml