{ "opencollection": "1.0.0", "info": { "name": "Zoho Mail Accounts Folders API", "version": "1.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth", "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Folders", "type": "folder" }, "items": [ { "info": { "name": "List all folders", "type": "http" }, "http": { "method": "GET", "url": "https://mail.zoho.com/api/accounts/:accountId/folders", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "The unique identifier for the email account." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth", "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Retrieve all folders in an account with their IDs and metadata." }, { "info": { "name": "Create a folder", "type": "http" }, "http": { "method": "POST", "url": "https://mail.zoho.com/api/accounts/:accountId/folders", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "The unique identifier for the email account." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth", "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create a new folder with the specified name and details." }, { "info": { "name": "Get folder details", "type": "http" }, "http": { "method": "GET", "url": "https://mail.zoho.com/api/accounts/:accountId/folders/:folderId", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "The unique identifier for the email account." }, { "name": "folderId", "value": "", "type": "path", "description": "The unique identifier for the folder." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth", "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Fetch details for a specific folder." }, { "info": { "name": "Update folder", "type": "http" }, "http": { "method": "PUT", "url": "https://mail.zoho.com/api/accounts/:accountId/folders/:folderId", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "The unique identifier for the email account." }, { "name": "folderId", "value": "", "type": "path", "description": "The unique identifier for the folder." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth", "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Rename a folder, reposition it, enable or disable IMAP view, mark all emails as read, or delete all emails within a folder." }, { "info": { "name": "Delete folder", "type": "http" }, "http": { "method": "DELETE", "url": "https://mail.zoho.com/api/accounts/:accountId/folders/:folderId", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "The unique identifier for the email account." }, { "name": "folderId", "value": "", "type": "path", "description": "The unique identifier for the folder." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth", "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete the folder along with the emails and sub-folders." } ] } ], "bundled": true }