Logo
Google Docs Logo

Google Docs APIs

Google Docs is an online word processor that lets you create and format text documents. Collaboratively edit documents with other people in real time.

Google Docs APIs

Account Request URL

https://developers.google.com/workspace/guides/get-started

Base Endpoint

https://docs.googleapis.com

Documents

Gets a document.

GET

documents/{documentId}

documentId

Documents

Creates a document.

documents

body

Documents

Updates the entire document.

documents/{documentId}

documentId

Documents.BatchUpdate

Applies one or more updates to the document. Each request is validated before being executed. If an error is encountered

POST

the entire transaction will be cancelled and the document's content will not be changed.

documents/{documentId}:batchUpdate

Documents.BatchUpdatePresentation

Performs presentation-specific batch update requests.

POST

presentations/{presentationId}/batchUpdate

body

Documents.BatchUpdateSpreadsheet

Applies one or more updates to the spreadsheet. Each request is validated before being executed. If an error is encountered

POST

the entire transaction will be cancelled and the spreadsheet's content will not be changed.

spreadsheets/{spreadsheetId}/batchUpdate

Documents.BatchUpdateSuggestion

Performs a batch update of suggestion metadata in the document.

POST

documents/{documentId}/suggestions:batchUpdate

body

Documents.GetContent

Gets the content of the document. Supports exporting to various formats.

GET

documents/{documentId}/content

mimeType

Documents.Export

Exports the document to the specified format.

POST

documents/{documentId}/export

mimeType

Documents.List

Lists all of the documents in the user's Drive.

GET

documents

pageToken

Documents.ModifyMetadata

Updates the metadata of a document.

POST

documents/{documentId}:modifyMetadata

body

Documents.Suggestions.List

Returns a list of the suggestions for a document.

GET

documents/{documentId}/suggestions

pageSize

Documents.Suggestions.Get

Gets a suggestion by its ID.

GET

documents/{documentId}/suggestions/{suggestionId}

suggestionId

Documents.Suggestions.Approve

Approves a suggestion's change.

POST

documents/{documentId}/suggestions/{suggestionId}:approve

suggestionId

Documents.Suggestions.Reply

Replies to a suggestion with a comment.

POST

documents/{documentId}/suggestions/{suggestionId}:reply

suggestionId

Documents.Suggestions.Reject

Rejects a suggestion's change.

POST

documents/{documentId}/suggestions/{suggestionId}:reject

suggestionId

Details

Provider

Country HQ

USA

API Type

REST

Categories

Documents

Alternatives

Important URLs

Last Updated on

2024-03-28

Created At

2023-12-14

Other Apps

Upskill for a better future

Want to start tracking API at scale?

Get updates about your favorite APIs and SDKs

Contact Us

We do our best to ensure that the data we release is complete, accurate, and useful. However, because we are not able to verify all the data, and because the processing required to make the data useful is complex, we cannot be held liable for omissions or inaccuracies.

ApiRefs Logo