Before using Google APIs, you need to turn them on in a Google Cloud project. You can turn on one or more APIs in a single Google Cloud project. If you don't already have a Google Cloud project, see Create a Cloud project.
To enable an API in your Cloud project:
Google Cloud console
- In the Google Cloud console, go to Menu > More products > Google Workspace > Product Library.
- Click the API that you want to turn on.
- Click Enable.
- To enable more APIs, repeat these steps.
Google Cloud CLI
- Install or open the Google Cloud Command Line Interface (CLI).
-
Run the
services enable
command, specifying which API service to enable.gcloud services enable API_SERVICE_ID
(Optional) Try Google Workspace APIs in experimental apps
If you're experimenting with Google Workspace, use the following shortcut, which enables popular Google Workspace APIs, and creates OAuth credentials that you can use.
If you're developing an app that accesses users' information, you must configure the OAuth consent screen before releasing your app.
Click this button to select or create a Google Cloud project, and automatically enable the Workspace APIs:
In resulting dialog, click Download client configuration and savecredentials.json
to your working directory.
See the Google Workspace APIs explorer for a comprehensive list of all the available APIs, and to try specific methods from your browser.
Enabled APIs (click to expand)
The button enables the following APIs:
- Admin SDK API
- Apps Script API
- Calendar API
- Chat API
- Classroom API
- Docs API
- Drive API
- Forms API
- Gmail API
- Google Workspace add-ons API
- Google Keep API
- Meet REST API
- Sheets API
- Slides API
Google Workspace APIs
Use the following Google Cloud console links or the Google Cloud Command Line Interface (CLI) to enable specific Google Workspace APIs in your Cloud project.
Admin SDK API |
Enable Admin SDK API
|
Alert Center API |
Enable Alert Center API
|
Apps Script API |
Enable Apps Script API
|
CalDAV API |
Enable CalDAV API
|
Calendar API |
Enable Calendar API
|
Chat API |
Enable Chat API
|
Classroom API |
Enable Classroom API
|
Cloud Identity API |
Enable Cloud Identity API
|
Cloud Search API |
Enable Cloud Search API
|
Docs API |
Enable Docs API
|
Drive API |
Enable Drive API
|
Drive Activity API |
Enable Drive Activity API
|
Drive Labels API |
Enable Drive Labels API
|
Forms API |
Enable Forms API
|
Gmail API |
Enable Gmail API
|
Groups Migration API |
Enable Groups Migration API
|
Groups Settings API |
Enable Groups Settings API
|
Google Workspace add-ons API |
Enable Google Workspace add-ons API
|
Google Keep API |
Enable Google Keep API
|
Enterprise License Manager API |
Enable Enterprise License Manager API
|
Marketplace API |
Enable Marketplace API
|
Marketplace SDK |
Enable Marketplace SDK
|
Meet REST API |
Enable Meet REST API
|
People API |
Enable People API
|
Postmaster Tools API |
Enable Postmaster Tools API
|
Reseller API |
Enable Reseller API
|
Sheets API |
Enable Sheets API
|
Slides API |
Enable Slides API
|
Tasks API |
Enable Tasks API
|
Vault API |
Enable Vault API
|
Next step
Learn how authentication and authorization works for Google Workspace APIs.