{
"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
important: Mark messages that require special attention or contain critical information.to_do: Flag messages representing tasks or action items that need to be completed.note: Save messages for future reference or as reminders of important information.manager: Highlight messages related to managerial communications or approvals.follow_up: Identify messages that require follow-up actions or responses.all: Retrieve all starred messages regardless of star type.1704067200000) or ISO 8601 datetime strings (for example, 2024-01-01T00:00:00Z).1735689599999) or ISO 8601 datetime strings (for example, 2024-12-31T23:59:59Z).\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