{
"opencollection": "1.0.0",
"info": {
"name": "Bots slashcommands API",
"version": "1.0.0"
},
"items": [
{
"info": {
"name": "slashcommands",
"type": "folder"
},
"items": [
{
"info": {
"name": "List all commands",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://cliq.zoho.com/api/v3/commands",
"params": [
{
"name": "sync_token",
"value": "",
"type": "query",
"description": "Sync token to fetch only commands that have changed since the last request. This token is returned in the sync_token field of the API response and can be used for incremental synchronization.\n"
},
{
"name": "limit",
"value": "",
"type": "query",
"description": "Maximum number of commands to return in the response. This can be used to control pagination and manage response size.\n"
},
{
"name": "next_token",
"value": "",
"type": "query",
"description": "Pagination token to retrieve the next page of results. This token is returned in the next_token field of the API response when there are more results available beyond the current page.\n"
}
],
"auth": {
"type": "oauth2",
"flow": "implicit",
"authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
"credentials": {
"clientId": "{{clientId}}"
}
}
},
"docs": "Retrieve a paginated list of all slash commands.\n
\n Threshold limit: 30 requests per min per user
\n Maximum API calls allowed within one minute.
\n Lock period: 5 minutes
Cooldown period applied after threshold exhaustion.
\n
\n Create a new slash command. Commands are invoked by users from the message compose bar by typing a forward slash followed by the command name (e.g. /report).\n
\n\n Slash Commands support two execution types:\n
\n\n Threshold limit: 30 requests per min per user
\n Maximum API calls allowed within one minute.
\n Lock period: 5 minutes
Cooldown period applied after threshold exhaustion.
\n
\n All fields are optional. Only the fields you provide will be updated; omitted fields remain unchanged.\n
\n\n For Webhook commands, you can update the execution_url independently at any time to redirect the command to a new server endpoint without recreating it.\n
\n Threshold limit: 10 requests per min per user
\n Maximum API calls allowed within one minute.
\n Lock period: 5 "
},
{
"info": {
"name": "Delete a slash command",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://cliq.zoho.com/api/v3/commands/:SLASH_COMMAND_ID",
"params": [
{
"name": "SLASH_COMMAND_ID",
"value": "SLASH_COMMAND_ID",
"type": "path",
"description": "Unique numeric identifier of the slash command. To learn how to retrieve this ID, see SLASH_COMMAND_ID in the Glossary page."
}
],
"auth": {
"type": "oauth2",
"flow": "implicit",
"authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
"credentials": {
"clientId": "{{clientId}}"
}
}
},
"docs": "Permanently delete a custom Slash Command and all its associated handlers. The command will be removed from all accessible scopes and can no longer be invoked by users. This action is irreversible.\n
\n
\n Threshold limit: 10 requests per min per user
\n Maximum API calls allowed within one minute.
\n Lock period: 5 minutes
Cooldown period applied after threshold exhaustion.
\n
\n Add a new handler to an existing slash command. Commands support two handler types:\n
\n\n The field you provide depends on the command's execution type:\n
\nscript field with the Deluge "
},
{
"info": {
"name": "Get details of a specific command handler",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://cliq.zoho.com/api/v3/commands/:SLASH_COMMAND_ID/handlers/:COMMAND_HANDLER_TYPE",
"params": [
{
"name": "COMMAND_HANDLER_TYPE",
"value": "COMMAND_HANDLER_TYPE",
"type": "path",
"description": "Type of the handler to retrieve.execution_handler: The main handler that executes when the command is invoked.suggestion_handler: The handler that generates autocomplete suggestions as users type the command.\n Threshold limit: 10 requests per min per user
\n Maximum API calls allowed within one minute.
\n Lock period: 5 minutes
Cooldown period applied after threshold exhaustion.
\n
execution_handler: The main handler that executes when the command is invoked.suggestion_handler: The handler that generates autocomplete suggestions as users type the command.script attribute with the revised Deluge source code.permissions array to change which data attributes are forwarded to your server.\n Threshold limit: 10 requests per min per user
\n Maximum API calls allowed within one minute.
\n Lock "
},
{
"info": {
"name": "Delete a handler from a specific command",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://cliq.zoho.com/api/v3/commands/:SLASH_COMMAND_ID/handlers/:COMMAND_HANDLER_TYPE",
"params": [
{
"name": "COMMAND_HANDLER_TYPE",
"value": "COMMAND_HANDLER_TYPE",
"type": "path",
"description": "Name of the slash command handler.
\nAllowed value:\n\n
\nNote: Only the suggestion_handler: The handler that generates autocomplete suggestions as users type the command.suggestion_handler can be deleted. The execution_handler is mandatory for a slash command and cannot be removed. \n"
},
{
"name": "SLASH_COMMAND_ID",
"value": "SLASH_COMMAND_ID",
"type": "path",
"description": "Unique numeric identifier of the slash command. To learn how to retrieve this ID, see SLASH_COMMAND_ID in the Glossary page."
}
],
"auth": {
"type": "oauth2",
"flow": "implicit",
"authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
"credentials": {
"clientId": "{{clientId}}"
}
}
},
"docs": "Permanently remove a specified handler from a slash command. This action is irreversible, and once removed, the associated deluge code is lost, and the handler will no longer activate on its trigger event.\n
\n
\n Threshold limit: 10 requests per min per user
\n Maximum API calls allowed within one minute.
\n Lock period: 5 minutes
Cooldown period applied after threshold exhaustion.
\n