{ "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" }, { "info": { "name": "Create a slash command", "type": "http" }, "http": { "method": "POST", "url": "https://cliq.zoho.com/api/v3/commands", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth", "credentials": { "clientId": "{{clientId}}" } } }, "docs": "\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