{ "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\n" } ], "auth": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth", "credentials": { "clientId": "{{clientId}}" } } }, "docs": "Retrieve the list of chat folders for the current user, along with the chats pinned within each folder. By default, only basic details are returned for each pinned chat, but additional fields can be included as needed.\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

\n
My Pins section. The folder must include a title and a symbol, and may optionally include a list of chats to pin within it.\n

If chat IDs are provided, the folder will be created with those chats already pinned. Otherwise, an empty chat folder will be created.\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.
\nRetrieve Chat Folders API, where 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

\n
\n Retrieve Chat Folders API, where 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.\n
Allowed values:
\n
    \n
  • true: Unpin all chats within the folder instead of moving them to the default folder.
  • \n
  • false (default): Move chats pinned within the deleted folder to the default folder.
  • \n
\n" } ], "auth": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth", "credentials": { "clientId": "{{clientId}}" } } }, "docs": "Delete a chat folder and optionally unpin all chats within it.\n
Note: The default folder i.e My Pins section cannot be deleted.\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

\n
Retrieve Chat Folders API, where category_id represents the ID of the chat folder.

\nNote: 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

\n
Retrieve Chat Folders API, where category_id represents the ID of the chat folder.

\nNote: 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

\n
Retrieve Chat Folders API, where category_id represents the ID of the chat folder.

\nNote: 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
CHAT_ID in the Glossary page." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth", "credentials": { "clientId": "{{clientId}}" } } }, "docs": "Pin a chat for quick access either directly under the My Pins section or within a specific 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

\n
CHAT_ID in the Glossary page." } ], "auth": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth", "credentials": { "clientId": "{{clientId}}" } } }, "docs": "Remove a pinned chat from the My Pins section and all associated chat folders. The chat will no longer appear in any pinned location.\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