Bearer logo
Google Docs API logo

Google Docs API


API documentation

Developer website

Incorrect or missing information? Help us

What is the Google Docs API?

Officially released in 2009, the Google Docs service (now part of the G Suite platform) has brought smart editing and styling tools to the web. The Google Docs API proposes many of the features available on the front-UI. Including * create and manage document * inserting, removing and editing text * add images and more.

How to use the Google Docs API?

// npm install @bearer/node
.auth('AUTH_ID') // Check the code example below on how to generate access tokens
.post('documents', { query: { title: "Bearer 🐻"}})
.then(({ data }) => console.log(data))
.catch(e => console.log(e))
<script src=""></script>
<button class="btn btn-primary" onclick="myConnectButton()">
Connect to Google Docs
const bearerClient = bearer('YOUR_BEARER_PUB_KEY')
function myConnectButton() {
.then(({ authId }) => {
// Use this authId like bearer.auth(authId).get(..
console.log('AUTH_ID for this user', authId)

Start using the Google Docs API

Bearer provides a universal API client to call any Google Docs endpoints. It takes care of API authentication, credentials management, and monitoring out-of-the-box.

Available in Node.js, Ruby, Python, and PHP

Sign up with Email

How to get a Google Docs API Key?

  1. Sign in to the Google Cloud console
  2. Select your Google's project (or create a new one)
  3. Search for the Google Docs API and enable it
  4. On the main menu, select "APIs & Services" > "Credentials"
  5. Now create credentials with the "OAuth client ID" method
  6. If you don't have one, you'll have to configure an OAuth consent screen. Inside the OAuth consent screen configuration, make sure that is listed in the "Authorized domains"
  7. Now, back to create an OAuth client ID page, select "Web application"
  8. In the Authorized redirect URIs, paste the following URL
  9. Click on "Create" and that's it!

Google Docs API Versions


Start integrating the Google Docs API for free!

Universal API client

Query the Google Docs API and hundreds more APIs using a single API client.

Identity Management

From API credentials to OAuth dance, token and refresh token, Bearer manages it all.

Real-time Monitoring

Get a complete overview of your API usage with metrics and in-depth logs, find errors anddebug in a snap.

Bearer - Integrations built in minutes, Monitored in real-time


Docs & Help


Bearer is on TwitterBearer is on GitHubBearer is on FacebookBearer is on LinkedIn
© Copyright Bearer 2019
Bearer uses cookies to make its website easier to use. Learn more about cookies.