{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Zoho Cliq Stars Schemas",
"definitions": {
"StarInformation": {
"type": "object",
"description": "Information about the star applied to a message.",
"properties": {
"star_type": {
"type": "string",
"description": "The category of the star.",
"enum": [
"important",
"to_do",
"note",
"manager",
"follow_up"
],
"example": "important"
},
"old_star_type": {
"type": "string",
"description": "The previous star type if the message was already starred (returned only on updates).",
"example": "note"
},
"starred_message_time": {
"type": "string",
"format": "date-time",
"description": "The timestamp when the message was starred (ISO 8601 format).",
"example": "2026-03-25T10:30:00.000Z"
},
"file_permission": {
"type": "object",
"description": "File permissions associated with the starred message (if applicable).",
"properties": {
"cross_org_policy": {
"type": "boolean",
"description": "Indicates if cross-organization access is allowed.",
"example": true
},
"file_scope": {
"type": "string",
"description": "The scope identifier for file access.",
"example": "60005678901"
}
}
}
}
},
"ChatInformation": {
"type": "object",
"description": "Information about the chat containing the starred message.",
"properties": {
"chat_id": {
"type": "string",
"description": "The unique identifier of the chat.",
"example": "2000000012345_2000000067890"
},
"chat_type": {
"type": "string",
"description": "The type of chat (e.g., direct, channel, group).",
"example": "direct"
},
"title": {
"type": "string",
"description": "The title of the chat.",
"example": "John Doe"
},
"display_name": {
"type": "string",
"description": "The display name shown for the chat.",
"example": "John Doe"
},
"joined": {
"type": "boolean",
"description": "Indicates if the user has joined the chat.",
"example": true
},
"receiver": {
"type": "string",
"description": "The user ID of the message receiver (for direct chats).",
"example": "2000000012345"
}
}
},
"StarMessageRequest": {
"type": "object",
"required": [
"chat_id",
"message_id",
"star_type"
],
"properties": {
"chat_id": {
"type": "string",
"description": "The unique identifier of the chat containing the message to be starred.",
"example": "CT_1894736520184930172_847291635"
},
"message_id": {
"type": "string",
"description": "The unique identifier of the message to be starred.",
"example": "1746000123456789001"
},
"star_type": {
"type": "string",
"description": "The category of the star to apply to the message. This determines how the message will be organized and retrieved in starred messages lists.\n
\nAllowed 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.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.