{ "opencollection": "1.0.0", "info": { "name": "Bots Stars API", "version": "1.0.0" }, "items": [ { "info": { "name": "Stars", "type": "folder" }, "items": [ { "info": { "name": "List starred messages", "type": "http" }, "http": { "method": "GET", "url": "https://cliq.zoho.com/api/v3/stars", "params": [ { "name": "chat_id", "value": "", "type": "query", "description": "Filter starred messages to only include those from a specific chat. Provide the chat ID in the format \"2000000012345_2000000067890\". If omitted, starred messages from all chats will be included.\n" }, { "name": "star_type", "value": "", "type": "query", "description": "Filter starred messages by a specific star type.\n

\n Allowed values:
\n \n" }, { "name": "from_time", "value": "", "type": "query", "description": "\n" }, { "name": "to_time", "value": "", "type": "query", "description": "\n" }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of starred messages to return in the response.
\nMaximum limit:50
\nDefault:50
\nIf the total number of starred messages exceeds this limit, a pagination token will be included in the response to retrieve the next page of results.\n" }, { "name": "next_token", "value": "", "type": "query", "description": "Opaque pagination token to retrieve the next page of results.\n\n" }, { "name": "sync_token", "value": "", "type": "query", "description": "Synchronization token for incremental updates.\n\n" } ], "auth": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth", "credentials": { "clientId": "{{clientId}}" } } }, "docs": "Retrieves the authenticated user's starred messages with support for advanced filtering, cursor-based pagination, and incremental synchronization.\n

\nThis endpoint allows you to filter starred messages by chat, star type, and time range. Use pagination tokens to navigate through large result sets efficiently.\n

\n

\n OAuth Scope: Messages
\n Threshold limit: 30 requests per min
\n Number of API calls allowed within a minute.

\n Lock period: 5 minute" }, { "info": { "name": "Star a Message or Update Star Type", "type": "http" }, "http": { "method": "POST", "url": "https://cliq.zoho.com/api/v3/stars", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth", "credentials": { "clientId": "{{clientId}}" } } }, "docs": "Stars a message with a specific star type. This enables users to categorize messages for easier retrieval and workflow management. Each message can have only one active star type at a time.\n

\nIf the message is already starred, this operation updates the existing star type to the newly specified type and hence no separate update call is needed. \nWhen the star type is updated, the response includes star_information.old_star_type indicating the previous star type.\n

\n

\n " }, { "info": { "name": "Unstar a Message", "type": "http" }, "http": { "method": "DELETE", "url": "https://cliq.zoho.com/api/v3/stars/:MESSAGE_ID", "params": [ { "name": "MESSAGE_ID", "value": "MESSAGE_ID", "type": "path", "description": "The unique identifier of the message to be unstarred.
\nUse the Retrieve Starred Messages endpoint to get the message IDs of starred messages.\n" } ], "auth": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth", "credentials": { "clientId": "{{clientId}}" } } }, "docs": "Removes the star from a specified message. This operation permanently deletes the star record for the authenticated user.\n

\nIf the message is not currently starred by the user, an error will be returned.\n

\n

\n OAuth Scope: Messages
\n Threshold limit: 50 requests per min
\n Number of API calls allowed within a minute.

\n Lock period: 5 minutes
Wait time before consecutive API requests after exceeding the threshold.
\n

\n