Get Document Fields

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Retrieves all fields present in a document, categorized by type: fillable fields (fill), merge fields (merge), and signature fields (sign).


Endpoints

OAuth Scope

ZohoWriter.documentEditor.ALLWorkDrive.files.ALLWorkDrive.organization.ALLWorkDrive.workspace.ALLCopied!

Request Example

cURL
cURL
Deluge
Copied!
curl --request GET \
  --url https://www.zohoapis.com/writer/api/v1/documents/a1b2c3d4e5f6g7h8i9/fields \
  --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'

Path Parameters

document_idstring(Required)

The unique ID of the document.

Response Example

200
Copied!
  {
    "fill": [
      {
        "formats": {
          "lookup": true,
          "watch": {
            "fields": [
              {
                "id": ""
              }
            ]
          },
          "uncheckedValue": "",
          "checkedValue": "",
          "maxLength": 30
        },
        "name": "User name",
        "id": "",
        "type": "singleline",
        "value": "Amelia"
      }
    ],
    "merge": [
      {
        "id": "Name",
        "display_name": "Name",
        "type": "text",
        "fields": [
          {
            "id": "Products.Products_name",
            "display_name": "Products.Products Name",
            "type": "text"
          }
        ]
      }
    ],
    "sign": {
      "Recipient1": {
        "job_title": "",
        "Agree_term_and_conditions": ""
      },
      "Recipient2": {
        "company_name": "",
        "Address": ""
      }
    }
  }
                
Show full