Google Docs
Get Google Doc Content
Read a Google Doc and return its plain text, its headings, its tab contents and its metadata.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| documentIdstring · required | string | required | Pick a document, or paste a Google Docs link or document ID. |
Response schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Open in Google Docs"
},
"tabs": {
"type": "array",
"description": "Per-tab text, when the document has tabs"
},
"text": {
"type": "string",
"description": "The document as plain text"
},
"title": {
"type": "string"
},
"headings": {
"type": "array",
"description": "Headings in order, each with level and text"
},
"documentId": {
"type": "string"
},
"revisionId": {
"type": "string"
},
"inlineObjects": {
"type": "number",
"description": "How many embedded images/objects the document holds"
}
}
}