Base URL
All API requests are made to the following base URL. Every endpoint path begins here, and the version segment (v1) must always be included.
Request Format
All requests to the Google API must use JSON. Include theContent-Type: application/json header on every request that sends a body. Authentication is handled via a Bearer token passed in the Authorization header — see Authentication for details on generating your API key.
400 Bad Request response before any processing occurs.
Response Format
Every successful response from the Google API returns a JSON object wrapped in a standard envelope. Thesuccess field will be true, the data field contains the requested resource or list, and the meta field provides pagination details when returning collections.
cursor value in meta can be passed as a query parameter on subsequent requests to page through large result sets efficiently.
Error Response Format
When a request fails,success is set to false and an error object is included in place of data. The code field is a machine-readable string you can use for programmatic error handling, message provides a human-readable explanation, and request_id uniquely identifies the failed request for support escalations.
UNAUTHORIZED, FORBIDDEN, NOT_FOUND, VALIDATION_ERROR, and RATE_LIMITED. Always check the code field first when building error-handling logic.
Available Resources
The Google API is organized around four primary resource types. Each resource group has its own dedicated reference section with full endpoint documentation.Users
Create, update, and manage user accounts and team memberships within your Google workspace.
Data
Read and write structured data records, run queries, and manage data schemas programmatically.
Integrations
Connect third-party services, configure integration settings, and monitor sync status via the API.
Webhooks
Register webhook endpoints to receive real-time event notifications as activity happens in Google.
Always include the version segment in your request paths (e.g.,
/v1/users). When new API versions are released, you will be notified in advance via email so you have time to migrate before any deprecation takes effect.