{ "opencollection": "1.0.0", "info": { "name": "Bots mypins API", "version": "1.0.0" }, "items": [ { "info": { "name": "mypins", "type": "folder" }, "items": [ { "info": { "name": "Retrieve chat folders", "type": "http" }, "http": { "method": "GET", "url": "https://cliq.zoho.com/api/v3/pin-categories", "params": [ { "name": "include_fields", "value": "", "type": "query", "description": "Comma-separated list of additional fields to include for each pinned chat. By default, only basic details are returned for pinned chats, but you can specify additional fields as needed. Available fields include:\n
chats: Include the full chat objects for each pinned chat.recipients_summary: Include a summary of recipients for each pinned chat.last_message_info: Include details about the last message in each pinned chat.\n Threshold limit: 20 requests per min per user
\n Number of API calls allowed within a minute.
\n Lock period: 5 minutes
Wait time before consecutive API requests.
\n
\n Threshold limit: 20 requests per min per user
\n Number of API calls allowed within a minute.
\n Lock period: 5 minutes
Wait time before consecutive API reque"
},
{
"info": {
"name": "Remove pinned chats across chat folders",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://cliq.zoho.com/api/v3/pin-categories",
"params": [
{
"name": "chat_ids",
"value": "",
"type": "query",
"description": "Comma-separated list of chat IDs to unpin from all folders. For each provided chat ID, the chat will be removed from every folder it is currently pinned in.
\nMaximum limit: 25 chat IDs per request.\n"
}
],
"auth": {
"type": "oauth2",
"flow": "implicit",
"authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
"credentials": {
"clientId": "{{clientId}}"
}
}
},
"docs": "Remove specific pinned chats from all chat folders in one request. Provide the list of chat IDs to unpin those chats from every folder they are pinned in.
This is a bulk operation that can be used when a chat is no longer relevant and needs to be removed from multiple folders at once.\n
\n Threshold limit: 20 requests per min per user
\n Number of API calls allowed within a minute.
\n Lock period: 5 minutes
Wait time before consecutive API requests.
\n
category_id represents the ID of the chat folder.\n"
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "implicit",
"authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
"credentials": {
"clientId": "{{clientId}}"
}
}
},
"docs": "Update the title, symbol and state of a chat folder.\n\n Threshold limit: 50 requests per min per user
\n Number of API calls allowed within a minute.
\n Lock period: 5 minutes
Wait time before consecutive API requests.
\n
category_id represents the ID of the chat folder.\n"
},
{
"name": "unpin_all",
"value": "",
"type": "query",
"description": "Determines whether to unpin all chats within the folder instead of moving them to the default folder i.e My Pins section.\ntrue: Unpin all chats within the folder instead of moving them to the default folder.false (default): Move chats pinned within the deleted folder to the default folder.\n Threshold limit: 20 requests per min per user
\n Number of API calls allowed within a minute.
\n Lock period: 5 minutes
Wait time before consecutive API requests.
\n
category_id represents the ID of the chat folder.CATEGORY_ID1 is a documentation alias for CATEGORY_ID, used to separate the \"Reorder a chat within a chat folder\" operation for better readability while sharing the same /pin-categories/{CATEGORY_ID} endpoint.\n"
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "implicit",
"authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
"credentials": {
"clientId": "{{clientId}}"
}
}
},
"docs": "Reorder a pinned chat within a chat folder. This allows users to prioritise certain chats within a folder by moving them up or down the list.\n\n Threshold limit: 50 requests per min per user
\n Number of API calls allowed within a minute.
\n Lock period: 5 minutes
Wait time before consecutive API requests.
\n
category_id represents the ID of the chat folder.CATEGORY_ID2 is a documentation alias for CATEGORY_ID, used to separate the \"Reorder a chat folder\" operation for better readability while sharing the same /pin-categories/{CATEGORY_ID} endpoint.\n"
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "implicit",
"authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
"credentials": {
"clientId": "{{clientId}}"
}
}
},
"docs": "Reorder a chat folder within the list of chat folders. This allows users to prioritise certain folders by moving them up or down the list.\n\n Threshold limit: 50 requests per min per user
\n Number of API calls allowed within a minute.
\n Lock period: 5 minutes
Wait time before consecutive API requests.
\n
category_id represents the ID of the chat folder.CATEGORY_ID3 is a documentation alias for CATEGORY_ID, used to separate the \"Replace chats in a chat folder\" operation for better readability while sharing the same /pin-categories/{CATEGORY_ID} endpoint. \n"
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "implicit",
"authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
"credentials": {
"clientId": "{{clientId}}"
}
}
},
"docs": "Replace the existing chats in the specified chat folder with a new set of chats. Chats not included in the request will be removed from the folder.\n\n Threshold limit: 50 requests per min per user
\n Number of API calls allowed within a minute.
\n Lock period: 5 minutes
Wait time before consecutive API requests.
\n
\n Threshold limit: 50 requests per min per user
\n Number of API calls allowed within a minute.
\n Lock period: 5 minutes
Wait time before consecutive API requests.
\n
\n Threshold limit: 50 requests per min per user
\n Number of API calls allowed within a minute.
\n Lock period: 5 minutes
Wait time before consecutive API requests.
\n