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
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.