{
  "opencollection": "1.0.0",
  "info": {
    "name": "Zoho Writer Combine Documents 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": "Documents",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get list of documents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.zohoapis.com/writer/api/v1/documents",
            "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 a paginated list of all documents in the authenticated user's account."
        },
        {
          "info": {
            "name": "Create or upload a document",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://www.zohoapis.com/writer/api/v1/documents",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "filename",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "resource_type",
                  "type": "text",
                  "value": ""
                }
              ]
            },
            "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 blank document or upload an existing document file. Optionally set a filename and resource type."
        },
        {
          "info": {
            "name": "Get document details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.zohoapis.com/writer/api/v1/documents/:document_id",
            "params": [
              {
                "name": "document_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the Writer document"
              }
            ]
          },
          "docs": "Retrieve full metadata and properties for a specific document."
        },
        {
          "info": {
            "name": "Get document metrics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.zohoapis.com/writer/api/v1/documents/:document_id/metrics",
            "params": [
              {
                "name": "document_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the Writer document"
              }
            ]
          },
          "docs": "Retrieve content metrics, comments metrics, and tracked-changes metrics for a document."
        },
        {
          "info": {
            "name": "Download a document",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.zohoapis.com/writer/api/v1/download/:document_id",
            "params": [
              {
                "name": "document_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the document to download"
              },
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "Output file format"
              },
              {
                "name": "options",
                "value": "",
                "type": "query"
              },
              {
                "name": "sign_service_name",
                "value": "",
                "type": "query",
                "description": "Third-party signing service (pdf only)"
              },
              {
                "name": "password",
                "value": "",
                "type": "query",
                "description": "Password protection for docx/pdf output"
              }
            ],
            "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": "Download a document in the specified format. Supports docx, odt, rtf, txt, html, pdf, zip, epub, zdoc, and pdfform. Defaults to docx."
        }
      ]
    }
  ],
  "bundled": true
}